Re: usb hub disconnects all devices
On Wed, 4 Dec 2013, Kumar Gokhare wrote: Hi Alan, Thanks for your response. It seems that in my case, the root hub is getting this disconnect event which is disconnecting all devices. Could you point me which kernel module raises these event and if any debugs I can turn on in the kernel configs to more info ? The modules are ehci-hcd and usbcore. There isn't much info to get other than what you have already seen. For instance, it looks like you already have CONFIG_USB_DEBUG enabled. 7[ 1493.733245] tegra-ehci tegra-ehci.2: GetStatus port 1 status c00100a POWER sig=se0 PEC CSC This message is from the ehci-hcd driver. It says that the hardware's port status value is 0xc00100a, which means no connection, connect change (i.e., there was a disconnection), and enable change. 7[ 1493.733297] hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s 6[ 1493.733329] usb 1-1: USB disconnect, address 2 These messages are from the hub driver in usbcore. They mean that the hub driver saw the disconnect status from the EHCI hardware, and it took the appropriate action. I know I shouldn't expect much support for such an old kernel, but would be grateful if you can give me some pointers. I'm glad to help, but I don't think you will solve this in software. Alan Stern -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
usb hub disconnects all devices
Hello, I hope this is the right place to query, if not I apologize. I have an android device which runs 2.6.32 kernel(v. old) which randomly disconnects all downstream devices from the single usb port occasionally. The issue seems to start from ehci reporting a power change event as in the below logs, I was hoping to make sense of what the below logs mean (especially first couple of lines) and some direction as to how to debug this issue. It looks like some sort of electrical/hardware issue but ill let the experts comment on it. The device 1-0:1.0 seem to be an interrupt ep of Tegra ehci. There is a Genesys Logic controller hub connected to the usb port. Thanks in advance for any pointers. 7[ 1493.733165] hub 1-0:1.0: state 7 ports 1 chg evt 0002 7[ 1493.733245] tegra-ehci tegra-ehci.2: GetStatus port 1 status c00100a POWER sig=se0 PEC CSC 7[ 1493.733297] hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s 6[ 1493.733329] usb 1-1: USB disconnect, address 2 7[ 1493.737847] tegra-ehci tegra-ehci.2: detected XactErr len 0/2048 retry 1 7[ 1493.737957] usb 1-1.1.3.3: unlink qh1-0e01/c737bc80 start 0 [1/3 us] 6[ 1493.738038] usb 1-1.1: USB disconnect, address 16 7[ 1493.742814] tegra-ehci tegra-ehci.2: detected XactErr len 0/2048 retry 2 7[ 1493.742968] usb 1-1.1.3.2: unlink qh2-0e01/c737b740 start 0 [1/2 us] 6[ 1493.743097] usb 1-1.1.1: USB disconnect, address 20 7[ 1493.748676] usb 1-1.1.1: unregistering device 7[ 1493.748688] usb 1-1.1.1: usb_disable_device nuking all URBs 7[ 1493.748741] usb 1-1.1.1: unlink qh8-0e01/c5e0f200 start 7 [1/2 us] 7[ 1493.748768] tegra-ehci tegra-ehci.2: shutdown urb c58f0280 ep1in-intr 7[ 1493.748785] usb 1-1.1.1: unlink qh128-0e01/c947db00 start 24 [1/2 us] 7[ 1493.748807] tegra-ehci tegra-ehci.2: shutdown urb c58f0200 ep2in-intr 7[ 1493.748821] usb 1-1.1.1: unregistering interface 1-1.1.1:1.0 -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: usb hub disconnects all devices
On Wed, 20 Nov 2013, Kumar Gokhare wrote: Hello, I hope this is the right place to query, if not I apologize. I have an android device which runs 2.6.32 kernel(v. old) which randomly disconnects all downstream devices from the single usb port occasionally. The issue seems to start from ehci reporting a power change event as in the below logs, I was hoping to make sense of what the below logs mean (especially first couple of lines) and some direction as to how to debug this issue. It looks like some sort of electrical/hardware issue but ill let the experts comment on it. The device 1-0:1.0 seem to be an interrupt ep of Tegra ehci. There is a Genesys Logic controller hub connected to the usb port. Thanks in advance for any pointers. 7[ 1493.733165] hub 1-0:1.0: state 7 ports 1 chg evt 0002 7[ 1493.733245] tegra-ehci tegra-ehci.2: GetStatus port 1 status c00100a POWER sig=se0 PEC CSC 7[ 1493.733297] hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s 6[ 1493.733329] usb 1-1: USB disconnect, address 2 This isn't a power-change event. It's just an ordinary disconnect, the same as you'd get if you unplugged the Genesys Logic hub by hand. It could be caused by a bad electrical connection or by a hardware bug. Alan Stern -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html