Depending on what version of Linux you were using, that hang you experienced might be an already-fixed bug in the USB HID driver. If not, then it's a new bug and it should get fixed.
To get more information about what's going wrong, you can turn on the USB verbose debugging switch in the kernel configuration. You should also edit the kernel source file drivers/usb/input/hid-core.c, and change the two lines near the beginning that say
Hi
I have tried your suggestion. I'm running 2.6.9 with gentoo-r6 patches, and I get the following when I connected the display:
ohci_hcd 0000:00:03.1: wakeup
ohci_hcd 0000:00:03.1: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:03.1: CTRL: TypeReq=0x2301 val=0x2 idx=0x0 len=0 ==> -32
ohci_hcd 0000:00:03.1: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 2-1: new full speed USB device using address 2
usb 2-1: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-1: hotplug
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: hotplug
hub 2-1:1.0: usb_probe_interface
hub 2-1:1.0: usb_probe_interface - got id
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 3 ports detected
hub 2-1:1.0: standalone hub
hub 2-1:1.0: ganged power switching
hub 2-1:1.0: global over-current protection
hub 2-1:1.0: Port indicators are supported
hub 2-1:1.0: power on to power good time: 100ms
hub 2-1:1.0: local power source is good
hub 2-1:1.0: no over-current condition exists
hub 2-1:1.0: enabling power on all ports
hub 2-1:1.0: port 3, status 0301, change 0001, 1.5 Mb/s
hub 2-1:1.0: debounce: port 3: total 100ms stable 100ms status 0x301
usb 2-1.3: new low speed USB device using address 3
usb 2-1.3: skipped 1 descriptor after interface
usb 2-1.3: new device strings: Mfr=0, Product=1, SerialNumber=0
usb 2-1.3: default language 0x0409
usb 2-1.3: control timeout on ep0in
usb 2-1.3: Product: Apple Cinema HD Display
usb 2-1.3: hotplug
usb 2-1.3: adding 2-1.3:1.0 (config #1, interface 0)
usb 2-1.3:1.0: hotplug
usbhid 2-1.3:1.0: usb_probe_interface
usbhid 2-1.3: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 55, read 55) = 05 80 09 01 a1 01 15 00 26 ff 00 75 08 85 02 96 01 01 09 02 b2 02 01 05 82 95 02 85 10 09 10 b1 02 25 04 85 d6 09 d6 b1 02 25 07 85 e7 b1 02 26 ff 00 85 e4 81 02 c0
When query /proc/bus/usb/devices I get the hang, but the only message appearing in the syslog is the control timeout on ep0in one.
Cheers!
James
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
