On Thu, 20 Jan 2005, Marcel Koopman wrote: > The switch should work properly. In Knoppix is functions fine. > > Here's lsusb -v after I connected the switch (with no devices attached): > > "Bus 002 Device 001: ID 0000:0000 <...> > Bus 001 Device 004: ID 06f2:0002 Emine Technology Co. > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 1.10 > bDeviceClass 0 (Defined at Interface level) > bDeviceSubClass 0 > bDeviceProtocol 0 > bMaxPacketSize0 8 > idVendor 0x06f2 Emine Technology Co. > idProduct 0x0002 > bcdDevice 1.10
I thought you said the switch was a USB 2.0 device? Here it's telling you that it's only USB 1.1. > iManufacturer 1 JUSTCOM Technology > iProduct 2 USB AUTO Switch > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 59 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0x80 > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 3 Human Interface Devices > bInterfaceSubClass 0 No Subclass > bInterfaceProtocol 0 None > iInterface 0 > HID Device Descriptor: > bLength 9 > bDescriptorType 33 > bcdHID 1.00 > bCountryCode 0 Not supported > bNumDescriptors 1 > bDescriptorType 34 Report > wDescriptorLength 34 > Report Descriptors: > ** UNAVAILABLE ** > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0002 1x 2 bytes > bInterval 8 > " > > cat /proc/bus/usb/devices: > " > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=1.5 MxCh= 0 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=06f2 ProdID=0002 Rev= 1.10 > S: Manufacturer=JUSTCOM Technology > S: Product=USB AUTO Switch > C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=8ms > I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid > E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms > " Notice how here we see two interfaces, whereas above lsusb only showed one? That's a minor bug in the switch's firmware. > Finally dmesg: > "ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001403 POWER sig=k 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 > ehci_hcd 0000:00:1d.7: port 1 low speed --> companion > uhci_hcd 0000:00:1d.0: wakeup_hc > ehci_hcd 0000:00:1d.7: GetStatus port 1 status 003002 POWER OWNER > sig=se0 CSC > uhci_hcd 0000:00:1d.0: port 1 portsc 0183 > hub 1-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s > hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301 > uhci_hcd 0000:00:1d.0: CTRL: TypeReq=0x2301 val=0x2 idx=0x0 len=0 ==> -32 > 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 That's like what you showed before, where the switch runs at low speed when nothing is plugged in. > 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 > drivers/usb/input/hid-core.c: v2.0:USB HID core driver > drivers/usb/input/hid-core.c: input irq status -84 received > drivers/usb/input/hid-core.c: input irq status -84 received > drivers/usb/input/hid-core.c: input irq status -84 received > drivers/usb/input/hid-core.c: input irq status -84 received > drivers/usb/input/hid-core.c: input irq status -84 received > drivers/usb/input/hid-core.c: input irq status -84 received > drivers/usb/input/hid-core.c: input irq status -84 received > drivers/usb/input/hid-core.c: input irq status -84 received > drivers/usb/input/hid-core.c: input irq status -84 received > drivers/usb/input/hid-core.c: input irq status -84 received > uhci_hcd 0000:00:1d.0: port 1 portsc 008a > hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s > usb 1-1: USB disconnect, address 2 > usb 1-1: usb_disable_device nuking all URBs > uhci_hcd 0000:00:1d.0: shutdown urb f47e2380 pipe 40410280 ep2in-intr > 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 ep0out 3strikes > ehci_hcd 0000:00:1d.7: devpath 1 ep0out 3strikes > usb 5-1: device not accepting address 4, error -71 > 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 > 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 full speed --> companion Here apparently whatever you plugged in decided to switch from high speed to full speed. Probably because the high-speed initialization wasn't working. > ehci_hcd 0000:00:1d.7: GetStatus port 1 status 003801 POWER OWNER sig=j > CONNECT > uhci_hcd 0000:00:1d.0: wakeup_hc > uhci_hcd 0000:00:1d.0: port 1 portsc 0083 > hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s > hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 > uhci_hcd 0000:00:1d.0: CTRL: TypeReq=0x2301 val=0x2 idx=0x0 len=0 ==> -32 > usb 1-1: new full speed USB device using address 3 > usb 1-1: skipped 3 descriptors after interface > usb 1-1: skipped 2 descriptors after interface <...> > usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=1 > usb 1-1: default language 0x0409 > usb 1-1: SerialNumber: 000A0006 What was this, some kind of audio device? > 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 > usb 1-1: adding 1-1:1.2 (config #1, interface 2) > usb 1-1:1.2: hotplug > uhci_hcd 0000:00:1d.0: port 1 portsc 008a > hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s > usb 1-1: USB disconnect, address 3 > 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 interface 1-1:1.2 > usb 1-1:1.2: 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 > saa7134[0]/audio: audio carrier scan failed, using 5.500 MHz [default] > saa7134[0]/audio: audio carrier scan failed, using 5.500 MHz [default] > ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001403 POWER sig=k 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 > ehci_hcd 0000:00:1d.7: port 1 low speed --> companion > uhci_hcd 0000:00:1d.0: wakeup_hc > ehci_hcd 0000:00:1d.7: GetStatus port 1 status 003002 POWER OWNER > sig=se0 CSC > uhci_hcd 0000:00:1d.0: port 1 portsc 0183 > hub 1-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s > hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301 > uhci_hcd 0000:00:1d.0: CTRL: TypeReq=0x2301 val=0x2 idx=0x0 len=0 ==> -32 > usb 1-1: new low speed USB device using address 4 > 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 This looks the same as before. Did you unplug everything from the switch? > usb 1-1: hotplug > usb 1-1: adding 1-1:1.0 (config #1, interface 0) > usb 1-1:1.0: hotplug > 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 > usb 1-1: adding 1-1:1.1 (config #1, interface 1) > usb 1-1:1.1: hotplug > 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 > ehci_hcd 0000:00:1d.7: unsupported hub control message (maxchild 8) > ehci_hcd 0000:00:1d.7: CTRL: TypeReq=0x8006 val=0x600 idx=0x0 len=10 ==> -32 > usb usb5: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 10 > ret -32 > ehci_hcd 0000:00:1d.7: unsupported hub control message (maxchild 8) > ehci_hcd 0000:00:1d.7: CTRL: TypeReq=0x8006 val=0x600 idx=0x0 len=10 ==> -32 > usb usb5: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 10 > ret -32 > ehci_hcd 0000:00:1d.7: unsupported hub control message (maxchild 8) > ehci_hcd 0000:00:1d.7: CTRL: TypeReq=0x8006 val=0x600 idx=0x0 len=10 ==> -32 > usb usb5: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 10 > ret -32 > " > > Can you make something out of this? > > Should i post the knoppix dmesg? Yes, it would be good to have a working log to compare against. Can you turn on the verbose USB debugging in knoppix? And what version of the kernel is it? 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