Hi
The basic problem that I'm having is that Playstation controllers connected
via a USB adapter are not working. I've posted on usb-users and was advised
to post here.
The USB adapter supports 2 controllers (players 1 and 2). When plugged in,
it is detected (appropriate kernel modules are loaded), however when I do
cat /dev/input/js0 , and press buttons on the controller (s), nothing is
printed on the screen.
The whole contraption works fine in Windows XP, so hardware issue is ruled
out.
After enabling DEBUG and DATA_DEBUG in hid-core, this is what I'm getting.
During the init, the adapter *does* inform the UHCI about two report
id's: 1 and 2 (per each controller).
It appears to be stuck in a loop, because no matter which buttons I press,
the data bytes stay the same. This is with the 2.6.15 kernel.
Obviosly there is a miscommunication somewhere: hid-core module cannot make
sense of what the controller is sending.
After lots of googling, I found that nobody has it working with 2.6-series
kernel. However, I did find some isolated reports that it used to work
with certain subversions of 2.4-kernel. But, I could not reproduce this --
I've compiled 2.4.27,29,32 with no luck. In any case, moving forward, it
would be nice if this thing could work in 2.6.x kernel.
Does anyone have any ideas/solutions?
THANKS!!
PS. Attached is the output from logs.
#dmesg
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
Bluetooth: HCI USB driver ver 2.9
hci_usb 1-1:1.0: usb_probe_interface
hci_usb 1-1:1.0: usb_probe_interface - got id
hci_usb 1-1:1.1: usb_probe_interface
hci_usb 1-1:1.1: usb_probe_interface - got id
hci_usb 1-1:1.2: usb_probe_interface
hci_usb 1-1:1.2: usb_probe_interface - got id
usbcore: registered new driver hci_usb
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.6
input: Bluetooth HID Boot Protocol Device as /class/input/input2
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0004
uhci_hcd 0000:00:1f.2: port 2 portsc 01a3,00
hub 1-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x301
usb 1-2: new low speed USB device using uhci_hcd and address 3
usb 1-2: skipped 1 descriptor after interface
usb 1-2: string descriptor 0 read error: -32
usb 1-2: string descriptor 0 read error: -32
usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-2: hotplug
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
usb 1-2:1.0: hotplug
usbhid 1-2:1.0: usb_probe_interface
usbhid 1-2:1.0: usb_probe_interface - got id
drivers/usb/input/hid-core.c: HID probe called for ifnum 0
drivers/usb/input/hid-core.c: report descriptor (size 188, read 188) = 05
01 09 04 a1 01 85 01 09 01 a1 00 05 09 19 01 29 0c 15 00 25 01 35 00 45 01
75 01 95 0c 81 02 05 01 09 39 15 00 25 07 35 00 46 3b 01 65 14 75 04 95 01
81 42 05 01 09 30 09 31 09 32 09 35 15 00 26 ff 00 35 00 46 ff 00 65 00 75
08 95 04 81 02 06 00 ff 09 01 75 08 95 03 91 02 c0 c0 05 01 09 04 a1 01 85
02 09 01 a1 00 05 09 19 01 29 0c 15 00 25 01 35 00 45 01 75 01 95 0c 81 02
05 01 09 39 15 00 25 07 35 00 46 3b 01 65 14 75 04 95 01 81 42 05 01 09 30
09 31 09 32 09 35 15 00 26 ff 00 35 00 46 ff 00 65 00 75 08 95 04 81 02 06
00 ff 09 01 75 08 95 03 91 02 c0 c0
drivers/usb/input/hid-core.c: submitting ctrl urb: Get_Report wValue=0x0101
wIndex=0x0000 wLength=7
drivers/usb/input/hid-core.c: submitting ctrl urb: Get_Report wValue=0x0102
wIndex=0x0000 wLength=7
INPUT(1)[INPUT]
Field(0)
Physical(GenericDesktop.Pointer)
Usage(12)
< ---- button/axis info cut here ---->
Report Offset(0)
Flags( Variable Absolute )
input: HID 0925:8866 as /class/input/input3
input: USB HID v1.00 Joystick [HID 0925:8866] on usb-0000:00:1f.2-2
drivers/usb/core/inode.c: creating file '003'
hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0004
# tail /var/log/debug
Jan 5 00:30:08 crypt kernel: PCI: Probing PCI hardware (bus 00)
Jan 5 00:30:08 crypt kernel: Boot video device is 0000:01:00.0
Jan 5 00:30:08 crypt kernel: ACPI: PCI Interrupt Routing Table
[\_SB_.PCI0._PRT]
Jan 5 00:30:08 crypt kernel: ACPI: PCI Interrupt Routing Table
[\_SB_.PCI0.HUB_._PRT]
Jan 5 00:30:08 crypt kernel: PCI: Setting latency timer of device
0000:00:1e.0 to 64
Jan 5 00:30:08 crypt kernel: 0000:00:1f.2: uhci_check_and_reset_hc: legsup
= 0x2020
Jan 5 00:30:08 crypt kernel: 0000:00:1f.2: Performing full reset
Jan 5 00:30:08 crypt kernel: Probing IDE interface ide0...
Jan 5 00:30:08 crypt kernel: Probing IDE interface ide1...
Jan 5 00:30:08 crypt kernel: Probing IDE interface ide1...
Jan 5 00:30:08 crypt kernel: libata version 1.20 loaded.
Jan 5 00:30:08 crypt kernel: ehci_hcd: block sizes: qh 128 qtd 96 itd 192
sitd 96
Jan 5 00:30:08 crypt kernel: PCI: Setting latency timer of device
0000:00:1f.2 to 64
Jan 5 00:30:08 crypt kernel: uhci_hcd 0000:00:1f.2:
uhci_check_and_reset_hc: cmd = 0x0000
Jan 5 00:30:08 crypt kernel: uhci_hcd 0000:00:1f.2: Performing full reset
Jan 5 00:30:08 crypt kernel: drivers/usb/core/inode.c: creating file
'devices'
Jan 5 00:30:08 crypt kernel: drivers/usb/core/inode.c: creating file '001'
Jan 5 00:30:08 crypt kernel: usb usb1: default language 0x0409
Jan 5 00:30:08 crypt kernel: usb usb1: new device strings: Mfr=3,
Product=2, SerialNumber=1
Jan 5 00:30:08 crypt kernel: usb usb1: hotplug
Jan 5 00:30:08 crypt kernel: usb usb1: adding 1-0:1.0 (config #1, interface
0)
Jan 5 00:30:08 crypt kernel: usb 1-0:1.0: hotplug
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: usb_probe_interface
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: usb_probe_interface - got id
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: standalone hub
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: no power switching (usb 1.0)
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: individual port over-current
protection
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: power on to power good time: 2ms
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: local power source is good
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0000
Jan 5 00:30:08 crypt kernel: drivers/usb/core/inode.c: creating file '001'
Jan 5 00:30:08 crypt kernel: uhci_hcd 0000:00:1f.2: port 1 portsc 0093,00
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: port 1, status 0101, change 0001,
12 Mb/s
Jan 5 00:30:08 crypt kernel: hub 1-0:1.0: debounce: port 1: total 100ms
stable 100ms status 0x101
Jan 5 00:30:08 crypt kernel: usb 1-1: skipped 1 descriptor after interface
Jan 5 00:30:08 crypt kernel: usb 1-1: default language 0x0409
Jan 5 00:30:08 crypt kernel: usb 1-1: new device strings: Mfr=1, Product=2,
SerialNumber=3
Jan 5 00:30:08 crypt kernel: usb 1-1: hotplug
Jan 5 00:30:08 crypt kernel: usb 1-1: adding 1-1:1.0 (config #1, interface
0)
Jan 5 00:30:08 crypt kernel: usb 1-1:1.0: hotplug
Jan 5 00:30:08 crypt kernel: usb 1-1: adding 1-1:1.1 (config #1, interface
1)
Jan 5 00:30:08 crypt kernel: usb 1-1:1.1: hotplug
Jan 5 00:30:08 crypt kernel: usb 1-1: adding 1-1:1.2 (config #1, interface
2)
Jan 5 00:30:08 crypt kernel: usb 1-1:1.2: hotplug
Jan 5 00:30:08 crypt kernel: drivers/usb/core/inode.c: creating file '002'
Jan 5 00:30:28 crypt kernel: hci_usb 1-1:1.0: usb_probe_interface
Jan 5 00:30:28 crypt kernel: hci_usb 1-1:1.0: usb_probe_interface - got id
Jan 5 00:30:28 crypt kernel: hci_usb 1-1:1.1: usb_probe_interface
Jan 5 00:30:28 crypt kernel: hci_usb 1-1:1.1: usb_probe_interface - got id
Jan 5 00:30:28 crypt kernel: hci_usb 1-1:1.2: usb_probe_interface
Jan 5 00:30:28 crypt kernel: hci_usb 1-1:1.2: usb_probe_interface - got id
Jan 5 00:31:13 crypt kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0004
Jan 5 00:31:13 crypt kernel: uhci_hcd 0000:00:1f.2: port 2 portsc 01a3,00
Jan 5 00:31:13 crypt kernel: hub 1-0:1.0: port 2, status 0301, change 0001,
1.5 Mb/s
Jan 5 00:31:13 crypt kernel: hub 1-0:1.0: debounce: port 2: total 100ms
stable 100ms status 0x301
Jan 5 00:31:13 crypt kernel: usb 1-2: skipped 1 descriptor after interface
Jan 5 00:31:14 crypt kernel: usb 1-2: new device strings: Mfr=1, Product=2,
SerialNumber=0
Jan 5 00:31:14 crypt kernel: usb 1-2: hotplug
Jan 5 00:31:14 crypt kernel: usb 1-2: adding 1-2:1.0 (config #1, interface
0)
Jan 5 00:31:14 crypt kernel: usb 1-2:1.0: hotplug
Jan 5 00:31:14 crypt kernel: usbhid 1-2:1.0: usb_probe_interface
Jan 5 00:31:14 crypt kernel: usbhid 1-2:1.0: usb_probe_interface - got id
Jan 5 00:31:14 crypt kernel: drivers/usb/input/hid-core.c: HID probe called
for ifnum 0
Jan 5 00:31:14 crypt kernel: drivers/usb/input/hid-core.c: report
descriptor (size 188, read 188) = 05 01 09 04 a1 01 85 01 09 01 a1 00 05 09
19 01 29 0c 15 00 25 01 35 00 45 01 75 01 95 0c 81 02 05 01 09 39 15 00 25
07 35 00 46 3b 01 65 14 75 04 95 01 81 42 05 01 09 30 09 31 09 32 09 35 15
00 26 ff 00 35 00 46 ff 00 65 00 75 08 95 04 81 02 06 00 ff 09 01 75 08 95
03 91 02 c0 c0 05 01 09 04 a1 01 85 02 09 01 a1 00 05 09 19 01 29 0c 15 00
25 01 35 00 45 01 75 01 95 0c 81 02 05 01 09 39 15 00 25 07 35 00 46 3b 01
65 14 75 04 95 01 81 42 05 01 09 30 09 31 09 32 09 35 15 00 26 ff 00 35 00
46 ff 00 65 00 75 08 95 04 81 02 06 00 ff 09 01 75 08 95 03 91 02 c0 c0
Jan 5 00:31:14 crypt kernel: drivers/usb/input/hid-core.c: submitting ctrl
urb: Get_Report wValue=0x0101 wIndex=0x0000 wLength=7
Jan 5 00:31:14 crypt kernel: drivers/usb/input/hid-core.c: submitting ctrl
urb: Get_Report wValue=0x0102 wIndex=0x0000 wLength=7
Jan 5 00:31:14 crypt kernel: drivers/usb/core/inode.c: creating file '003'
Jan 5 00:31:14 crypt kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0004
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report (size 7)
(numbered)
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: report 0 (size
6) = 02 08 02 40 20 84
Jan 5 00:32:13 crypt kernel: drivers/usb/input/hid-core.c: undefined
report_id 0 received
< ----- same message repeats ---->
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel