Strange USB device behaviour - /dev/input/js0 is dead. DevID: 068e:00a6
Hi everyone. I have a strange USB device behaviour. The device is a joystick:
mango:/etc/modprobe.d # lsusb
(...)
Bus 002 Device 007: ID 068e:00a6 CH Products, Inc.
(...)
My system is OpenSuSE 12.1
mango:/etc/modprobe.d # uname -a
Linux mango 3.1.10-1.16-desktop #1 SMP PREEMPT Wed Jun 27 05:21:40 UTC 2012 (d016078) x86_64 x86_64 x86_64 GNU/Linux
After plug-in the device it all seems to be ok:
mango:/etc/modprobe.d # tail -f /var/log/messages
Oct 15 01:31:30 mango kernel: [ 1241.832024] usb 2-5: new low speed USB device number 8 using ohci_hcd
Oct 15 01:31:30 mango kernel: [ 1242.023040] usb 2-5: New USB device found, idVendor=068e, idProduct=00a6
Oct 15 01:31:30 mango kernel: [ 1242.023044] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 15 01:31:30 mango kernel: [ 1242.023047] usb 2-5: Product: CH 3 AXIS 2 INPUT CONTROL
Oct 15 01:31:30 mango kernel: [ 1242.023049] usb 2-5: Manufacturer: CH PRODUCTS
Oct 15 01:31:30 mango kernel: [ 1242.042095] input: CH PRODUCTS CH 3 AXIS 2 INPUT CONTROL as /devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.0/input/input10
Oct 15 01:31:30 mango kernel: [ 1242.042275] generic-usb 0003:068E:00A6.0007: input,hidraw1: USB HID v1.00 Joystick [CH PRODUCTS CH 3 AXIS 2 INPUT CONTROL] on usb-0000:00:02.0-5/input0
But the device is actually not responsive. jstest shows no movement on axes and button. I first suspected the SDL lib, but then realized that even cat /dev/input/js0 gives no output neither when moving axes nor pressing buttons.
mango:/etc/modprobe.d # cat /dev/input/js0
�@��@��@���@���@��^C
And that's it - no more output when moving axes and pressing buttons.
I checked the joy on MS Windows machine - it worked fine. After that I checked the other linux machine, and... it worked. I don't have the access to this computer now, but the dmesg output after I plugged the joy was almost the same with the difference that there was ehci_hcd instead of ohci_hcd. After that I checked the other machines with OpenSuSE 12.1 and 12.2, and realized that joy is working on each intel based machine, and not working on AMD. Feeling kinda dizzy and a little frustrated as this seems to be hardware related and actually I have no idea how to solve this issue. I am currently running AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ based on MCP55 mainboard. The joystick is not working here. Any ideas?
Last edited by tmcki; 10-15-2012 at 06:40 AM.
|