Hello,
I have a pair of identical Dance-Dance-Revolution-style game pad
controllers. They are USB HID joysticks. If I plug in one, it works fine.
If I plug in two, each one works fine by itself. However, bad things
happen if I attempt to read data from both simultaneosly, for example like
this:
[in one terminal] cat /dev/input/js0
[in another] cat /dev/input/js1
One of the cats dies about 4 seconds after it's launched (the other keeps
running happily, and reporting events). The death message is:
cat: /dev/input/js1: No such device
The cat that dies is whichever I start second. If I kill both, and restart
them in the opposite order, it's still the second to start that dies. So,
an active device prevents the other from being used.
The following is visible in dmesg for each such death event (the joystick
immediately comes back):
usb 4-2: reset low speed USB device using uhci_hcd and address 4
usb 4-2: failed to restore interface 0 altsetting 0 (error=-84)
usb 4-2: USB disconnect, address 4
usb 4-2: new low speed USB device using uhci_hcd and address 5
usb 4-2: configuration #1 chosen from 1 choice
input: DDR2SET DDR2SET as /class/input/input8
input: USB HID v1.00 Joystick [DDR2SET DDR2SET] on usb-0000:00:1d.2-2
I am attaching the full dmesg, as well as the info from /proc/bus/usb and
from /sys/bus/usb/devices.
I reproduced this bug on Fedora 8 Werewolf (2.6.23.1-42.fc8), and on an
Ubuntu 6.06 LTS 2.6.17 kernel.
The pair of joysticks works just fine on MacOS X.
Please let me know how else I can help to track this down.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html