On Wed, 19 Jan 2005, Marcel Koopman wrote:

> Ok, I tried to do the old_scheme_first but that didnt help.
> 
> Here's the kernel messages I get when plugging in the usb switch:
> 
> "usb 1-1: new low speed USB device using address 2
> usb 1-1: config 1 has an invalid interface number: 1 but max is 0
> usb 1-1: config 1 has 2 interfaces, different from the descriptor's value: 1
> usb 1-1: skipped 1 descriptor after interface
> usb 1-1: skipped 1 descriptor after interface
> usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
> usb 1-1: default language 0x0409
> usb 1-1: Product: USB AUTO Switch
> usb 1-1: Manufacturer: JUSTCOM Technology
> usb 1-1: hotplug
> usb 1-1: adding 1-1:1.0 (config #1, interface 0)
> usb 1-1:1.0: hotplug
> usb 1-1: adding 1-1:1.1 (config #1, interface 1)
> usb 1-1:1.1: hotplug
> usbcore: registered new driver hiddev
> usbhid 1-1:1.0: usb_probe_interface
> usbhid 1-1:1.0: usb_probe_interface - got id
> input: USB HID v1.00 Gamepad [JUSTCOM Technology USB AUTO Switch] on 
> usb-0000:00:1d.0-1
> usbhid 1-1:1.1: usb_probe_interface
> usbhid 1-1:1.1: usb_probe_interface - got id
> input: USB HID v1.10 Mouse [JUSTCOM Technology USB AUTO Switch] on 
> usb-0000:00:1d.0-1
> usbcore: registered new driver usbhid
> "
> 
> Then when i connect the usb hub to the switch:
> 
> "usb 1-1: USB disconnect, address 2
> usb 1-1: usb_disable_device nuking all URBs
> usb 1-1: unregistering interface 1-1:1.0
> usb 1-1:1.0: hotplug
> usb 1-1: unregistering interface 1-1:1.1
> usb 1-1:1.1: hotplug
> usb 1-1: unregistering device
> usb 1-1: hotplug
> hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
> ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001002 POWER sig=se0  CSC
> hub 5-0:1.0: port 1, status 0100, change 0001, 12 Mb/s
> hub 5-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
> uhci_hcd 0000:00:1d.0: suspend_hc
> ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001803 POWER sig=j  CSC 
> CONNECT
> hub 5-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
> hub 5-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
> ehci_hcd 0000:00:1d.7: CTRL: TypeReq=0x2301 val=0x2 idx=0x0 len=0 ==> -32
> hub 5-0:1.0: port 1 not reset yet, waiting 50ms
> ehci_hcd 0000:00:1d.7: port 1 high speed
> ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001005 POWER sig=se0  PE 
> CONNECT
> usb 5-1: new high speed USB device using address 3
> ehci_hcd 0000:00:1d.7: devpath 1 ep0out 3strikes
> ehci_hcd 0000:00:1d.7: devpath 1 ep0out 3strikes
> usb 5-1: device not accepting address 3, error -71
> ehci_hcd 0000:00:1d.7: CTRL: TypeReq=0x2301 val=0x2 idx=0x0 len=0 ==> -32
> hub 5-0:1.0: port 1 not reset yet, waiting 50ms
> ehci_hcd 0000:00:1d.7: port 1 high speed
> ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001005 POWER sig=se0  PE 
> CONNECT
> usb 5-1: new high speed USB device using address 4
> ehci_hcd 0000:00:1d.7: devpath 1 ep0in 3strikes
> ehci_hcd 0000:00:1d.7: devpath 1 ep0out 3strikes
> ehci_hcd 0000:00:1d.7: devpath 1 ep0out 3strikes
> usb 5-1: device not accepting address 4, error -71
> "
> The usb switch is a USB 2.0 device, why it says low speed, I dont know.

Your log extract doesn't show the entire connection sequence; you left out
the starting bits.  So I can't tell what happened initially or why the
device switched to low speed.  I also don't understand why the switch
disconnected itself when you plugged in the hub.  Or did you do that?

Can you try using a more recent version of the kernel, like 2.6.11-rc1-bk?  
There have been a few changes made to the EHCI driver that might be
important here.

It would be interesting also to see what /proc/bus/usb/devices and "lsusb
-v" have to say about the switch.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to