USB gamepad under Linux (2.6 kernel)

Hi all,

I have a Logitech Wingman Precision USB gamepad, and I’m trying to use it to
develop and test joystick functionality in my SDL application. I have the
2.6.5 kernel installed, and I’ve found that SDL is unable to detect the
gamepad, even though the right modules are loaded (joydev & adi) and I can
cat /dev/js0 and see data being generated when I press buttons on the
gamepad. If I reboot into kernel 2.4.23, it detects the gamepad fine. Other
SDL applications display the same behaviour.

Any ideas?

Cheers,
Paul

Hi all,

I have a Logitech Wingman Precision USB gamepad, and I’m trying to use it to
develop and test joystick functionality in my SDL application. I have the
2.6.5 kernel installed, and I’ve found that SDL is unable to detect the
gamepad, even though the right modules are loaded (joydev & adi) and I can
cat /dev/js0 and see data being generated when I press buttons on the
gamepad. If I reboot into kernel 2.4.23, it detects the gamepad fine. Other
SDL applications display the same behaviour.

Do you have the same problem with the CVS version of SDL?
http://www.libsdl.org/cvs.php

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Sorry, I didn’t even mention what SDL version I was using - 1.2.7 (Gentoo
Linux, compiled from source).

The CVS version doesn’t seem to want to build:

-------- snip --------
xp2000 SDL12 # make
Making all in src
make[1]: Entering directory /root/build/SDL12/src' Makefile:265: *** missing separator. Stop. make[1]: Leaving directory/root/build/SDL12/src’
make: *** [all-recursive] Error 1
-------- snip --------

Cheers,
Paul

PS: Congratulations on the new arrival, and thanks for your efforts :)On Mon, 17 May 2004 04:50, Sam Lantinga wrote:

I have a Logitech Wingman Precision USB gamepad, and I’m trying to use it
to develop and test joystick functionality in my SDL application. I have
the 2.6.5 kernel installed, and I’ve found that SDL is unable to detect
the gamepad, even though the right modules are loaded (joydev & adi) and
I can cat /dev/js0 and see data being generated when I press buttons on
the gamepad. If I reboot into kernel 2.4.23, it detects the gamepad fine.
Other SDL applications display the same behaviour.

Do you have the same problem with the CVS version of SDL?
http://www.libsdl.org/cvs.php