Hi,
I am always using the newest Wine snapshot on OpenSUSE 10.3 x86_64.
My two USB-joysticks (js0, js1) - which are pedals and joystick - work without
problems with all native Linux simulations like FlightGear, Torcs, etc.
It is a big pity that with Wine only the first joystick is activated, no matter
which order I use, because with Wine all my old Windows simulations work without
problems.
This is no new problem and I waited a long time as I was convinced that new
versions of Wine would solve this, but now I think it is the time to call for
help.
I made a trace with "> WINEDEBUG=+dinput wine fly2.exe 2>&1 |
grep -i joy" and one can see that the second joystick is recognized but
cannot be activated, this is the important part of the trace after my opinion:
> trace:dinput:IDirectInputAImpl_EnumDevices - checking device 3 ('Wine
Linux joystick driver')
> trace:dinput:joydev_enum_deviceA Enumerating the linux Joystick device:
/dev/input/js1 (Saitek Saitek X52 Flight Control System)
> trace:dinput:joydev_create_deviceA 0x35ce3f8
{9e573ed9-7734-0001-8d4a-23903fb6bdf7} (nil) 0x32f0f8
> trace:dinput:JoystickAImpl_GetCapabilities 0x35ce4d0->(0x32f114)
> trace:dinput:JoystickAImpl_GetDeviceInfo (0x35ce4d0,0x32f37c)
> trace:dinput:JoystickAImpl_Unacquire (0x35ce4d0)
> trace:dinput:JoystickAImpl_Unacquire (0x35ce4d0)
> trace:dinput:IDirectInputAImpl_EnumDevices - checking device 3 ('Wine
Linux joystick driver')
> trace:dinput:JoystickAImpl_Unacquire (0x2029b0)
> trace:dinput:JoystickAImpl_Unacquire closing joystick device
I would be very thankful if someone could have a look at this problem.
Regards
Georg
This is the full trace:
georg at dhcppc2:~/.wine/drive_c/Programme/Terminal Reality/Fly! II>
WINEDEBUG=+dinput wine fly2.exe 2>&1 | grep -i joy
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 2 ('W
ine Linux-input joystick driver')
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 3 ('W
ine Linux joystick driver')
trace:dinput:joydev_enum_deviceA Enumerating the linux Joystick devi
ce: /dev/input/js0 (HID 0583:2032)
trace:dinput:joydev_create_deviceA 0x35ce3f8 {9e573ed9-7734-0000-8d4
a-23903fb6bdf7} (nil) 0x32f0f8
trace:dinput:JoystickAImpl_GetCapabilities 0x2029b0->(0x32f114)
trace:dinput:JoystickAImpl_GetDeviceInfo (0x2029b0,0x32f37c)
trace:dinput:JoystickAImpl_SetProperty (0x2029b0,<guid-0x0005>,0x32f
0b0)
trace:dinput:JoystickAImpl_SetProperty deadzone(0) obj=0
trace:dinput:JoystickAImpl_SetProperty (0x2029b0,<guid-0x000a>,0x32f
0b0)
trace:dinput:JoystickAImpl_GetProperty (0x2029b0,<guid-0x0004>,0x32f
0c4)
trace:dinput:JoystickAImpl_GetProperty range(0, 65535) obj=0
trace:dinput:JoystickAImpl_SetProperty (0x2029b0,<guid-0x0005>,0x32f
0b0)
trace:dinput:JoystickAImpl_SetProperty deadzone(0) obj=1
trace:dinput:JoystickAImpl_SetProperty (0x2029b0,<guid-0x000a>,0x32f
0b0)
trace:dinput:JoystickAImpl_GetProperty (0x2029b0,<guid-0x0004>,0x32f
0c4)
trace:dinput:JoystickAImpl_GetProperty range(0, 65535) obj=1
trace:dinput:JoystickAImpl_SetProperty (0x2029b0,<guid-0x0005>,0x32f
0b0)
trace:dinput:JoystickAImpl_SetProperty deadzone(0) obj=2
trace:dinput:JoystickAImpl_SetProperty (0x2029b0,<guid-0x000a>,0x32f
0b0)
trace:dinput:JoystickAImpl_GetProperty (0x2029b0,<guid-0x0004>,0x32f
0c4)
trace:dinput:JoystickAImpl_GetProperty range(0, 65535) obj=2
trace:dinput:JoystickAImpl_SetProperty (0x2029b0,<guid-0x0005>,0x32f
0b0)
trace:dinput:JoystickAImpl_SetProperty deadzone(0) obj=3
trace:dinput:JoystickAImpl_SetProperty (0x2029b0,<guid-0x000a>,0x320b0)
trace:dinput:JoystickAImpl_GetProperty (0x2029b0,<guid-0x0004>,0x32f0c4)
trace:dinput:JoystickAImpl_GetProperty range(0, 65535) obj=3
trace:dinput:JoystickAImpl_Acquire (0x2029b0)
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 3 ('Wine
Linux joystick driver')
trace:dinput:joydev_enum_deviceA Enumerating the linux Joystick device:
/dev/input/js1 (Saitek Saitek X52 Flight Control System)
trace:dinput:joydev_create_deviceA 0x35ce3f8
{9e573ed9-7734-0001-8d4a-23903fb6bdf7} (nil) 0x32f0f8
trace:dinput:JoystickAImpl_GetCapabilities 0x35ce4d0->(0x32f114)
trace:dinput:JoystickAImpl_GetDeviceInfo (0x35ce4d0,0x32f37c)
trace:dinput:JoystickAImpl_Unacquire (0x35ce4d0)
trace:dinput:JoystickAImpl_Unacquire (0x35ce4d0)
trace:dinput:IDirectInputAImpl_EnumDevices - checking device 3 ('Wine
Linux joystick driver')
trace:dinput:JoystickAImpl_Unacquire (0x2029b0)
trace:dinput:JoystickAImpl_Unacquire closing joystick device
trace:dinput:JoystickAImpl_Unacquire (0x2029b0)
georg at dhcppc2:~/.wine/drive_c/Programme/Terminal Reality/Fly! II>