lorenzo.zampese@electrolux.it wrote:
My joystick/gamepad attached to the USB port doesn't work on my linux box (i386). I made my own kernel with USB support (usbcore.o, usb-hdci.o, hid.o, input.o, joydev.o, etc.) and I tested it using: jstest /dev/input/js1 jstest /dev/input/js2 jstest /dev/input/js3 and every time it reported me a message like this "device not found" , but devices are present in : /dev/input/js1 /dev/input/js2 /dev/input/js2
What are you doing when you get the error message? Is it generated within X? If so, check /var/log/XFree86.0.log to make sure X is configured correctly.
Note : /dev/input/js0 is used by another analog joystick attached to the SB128 PCI (Creative Ensoniq) gameport and it works fine as the sound card. I think I need to add any line as "alias ..." or/and "options..." to /etc/modules.conf Any idea ? Thank you
I don't have a joystick myself, but a few things that come to mind: Correct permission on devices?Check /var/log/messages to see what is reported when you attach the joystick.
try "mount -t usbdevfs none /proc/bus/usb" and cat the files in the directory.
If you plug the joystick and "cat /dev/input/js[0123]", you should see some bizarre looking characters as you move the stick or click any of the buttons.
-- Jerome