Logitech Dual-Action gamepad

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Logitech Dual-Action gamepad

Post by Steve »

ok, here goes..

Running Ubuntu Hardy 64bit..

Ubuntu see's the gamepad correctly etc..

Game's under wine can see it, but thats it... i cant program the buttons, or use the buttons or the analog sticks....

Have no idea how to solve this...

Would really love some help on at least 1 of my threads... specifically this one..

Cheers
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Logitech Dual-Action gamepad

Post by vitamin »

Steve wrote:Game's under wine can see it, but thats it... i cant program the buttons, or use the buttons or the analog sticks....
Which games? Any output in the terminal?

Find your joystick in output from 'lshal' and see which /dev/input/event* device it's attached to. Then test that with

Code: Select all

evtest /dev/input/event7
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Post by Steve »

The game is - 18 wheels of steel convoy

results of lshal are below
udi = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_logicaldev_input'
info.capabilities = {'input', 'input.mouse'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial' (string)
info.product = 'Logitech Logitech Dual Action' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_logicaldev_input' (string)
input.device = '/dev/input/event6' (string)
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial' (string)
input.product = 'Logitech Logitech Dual Action' (string)
linux.device_file = '/dev/input/event6' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.0/usb1/1-3/1-3:1.0/input/input9/event6' (string)
and its /dev/input//event5
hysics@physics:~/.wine/drive_c/Program Files/18 Wheels of Steel Convoy$ wine convoy.exe
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on CA0106, disabling mixer
physics@physics:~/.wine/drive_c/Program Files/18 Wheels of Steel Convoy$ err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on CA0106, disabling mixer
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(1152,864)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Steve wrote:The game is - 18 wheels of steel convoy
input.device = '/dev/input/event6' (string)
Please test it with

Code: Select all

evtest /dev/input/event7
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Post by Steve »

bit puzzled now...

sudo evtest /dev/input/event6 works but as u see below doesnt.. with or without sudo

physics@physics:~$ sudo evtest /dev/input/event7
evtest: No such file or directory
physics@physics:~$ evtest /dev/input/event7
evtest: No such file or directory
physics@physics:~$
Steve
Level 2
Level 2
Posts: 33
Joined: Thu Jul 03, 2008 2:09 am

Post by Steve »

ok, well fixed my problem - i spose..

i did a

ls -la /dev/input

noticed event6was owned by root...

so i then did a

sudo chmod 755 /dev/input/event6

and the game can now use the control pad... but it needs to be calibrated..
Locked