Re: USB disconnect randomly on USB 3.0 port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 13, 2014 at 01:56:42PM +0900, Taegil Bae wrote:
> Hi,
> 
> The bugreport on Bugzilla is Bug 70361:
> https://bugzilla.kernel.org/show_bug.cgi?id=70361
> 
> I have a Thinkpad OneLink dock, which is a USB dock and has a USB 3.0
> hub, a USB 2.0 hub, and ax88179 ethernet.
> This dock's USB 3.0 hub is disconnected for no reason.
> This occurs even when the ethernet cable is pulled out from the dock.
> The port in the following is Bus02-Port 3.

Hi Taegil,

It sounds like you have some buggy hardware.  If the device disconnects
when the ethernet cable is removed, software really can't do much about
that.  Your logs show the host reports a disconnect on the roothub,
which means the whole dock disconnected.

Could you be pulling on the USB 3.0 cable when you remove the ethernet
cable?  Maybe it's just a bad connection?

Sarah Sharp

> $ lsusb -t
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
>     |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
>         |__ Port 7: Dev 3, If 0, Class=Human Interface Device,
> Driver=usbhid, 12M
>         |__ Port 8: Dev 4, If 0, Class=Human Interface Device, Driver=wacom, 12M
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
>     |__ Port 3: Dev 38, If 0, Class=Hub, Driver=hub/4p, 5000M
>         |__ Port 1: Dev 39, If 0, Class=Vendor Specific Class,
> Driver=ax88179_178a, 5000M
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
>     |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
>         |__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
>             |__ Port 1: Dev 7, If 0, Class=Audio, Driver=snd-usb-audio, 12M
>             |__ Port 1: Dev 7, If 1, Class=Audio, Driver=snd-usb-audio, 12M
>             |__ Port 1: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 12M
>             |__ Port 1: Dev 7, If 3, Class=Human Interface Device,
> Driver=usbhid, 12M
>             |__ Port 3: Dev 8, If 0, Class=Hub, Driver=hub/4p, 480M
>                 |__ Port 2: Dev 9, If 0, Class=Hub, Driver=hub/3p, 480M
>                     |__ Port 1: Dev 10, If 0, Class=Human Interface
> Device, Driver=usbhid, 12M
>     |__ Port 4: Dev 17, If 0, Class=Wireless, Driver=btusb, 12M
>     |__ Port 4: Dev 17, If 1, Class=Wireless, Driver=btusb, 12M
>     |__ Port 5: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
>     |__ Port 6: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
>     |__ Port 6: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
> 
> 
> Part of dmesg output:
> [  +3.072696] xhci_hcd 0000:00:14.0: ep 0x82 - asked for 26624 bytes,
> 26392 bytes untransferred
> [  +2.970278] xhci_hcd 0000:00:14.0: ep 0x82 - asked for 26624 bytes,
> 26392 bytes untransferred
> [  +3.072701] xhci_hcd 0000:00:14.0: ep 0x82 - asked for 26624 bytes,
> 26392 bytes untransferred
> [  +3.072771] xhci_hcd 0000:00:14.0: ep 0x82 - asked for 26624 bytes,
> 26392 bytes untransferred
> [  +2.970205] xhci_hcd 0000:00:14.0: ep 0x82 - asked for 26624 bytes,
> 26392 bytes untransferred
> [  +3.072695] xhci_hcd 0000:00:14.0: ep 0x82 - asked for 26624 bytes,
> 26392 bytes untransferred
> [  +1.739580] xhci_hcd 0000:00:14.0: Port Status Change Event for port 12
> [  +0.000012] xhci_hcd 0000:00:14.0: handle_port_status: starting port polling.
> [  +0.000084] hub 2-0:1.0: state 7 ports 4 chg 0000 evt 0008
> [  +0.000023] xhci_hcd 0000:00:14.0: get port status, actual port 2
> status  = 0x4202c0
> [  +0.000005] xhci_hcd 0000:00:14.0: Get port status returned 0x4102c0
> [  +0.000078] xhci_hcd 0000:00:14.0: clear port connect change, actual
> port 2 status  = 0x4002c0
> [  +0.000065] xhci_hcd 0000:00:14.0: clear port link state change,
> actual port 2 status  = 0x2c0
> [  +0.000034] hub 2-0:1.0: warm reset port 3
> [  +0.021287] xhci_hcd 0000:00:14.0: xhci_hub_status_data: stopping
> port polling.
> [  +0.029993] xhci_hcd 0000:00:14.0: get port status, actual port 2
> status  = 0x2d0
> [  +0.000009] xhci_hcd 0000:00:14.0: Get port status returned 0x2d0
> [  +0.000068] hub 2-0:1.0: port 3 not warm reset yet, waiting 50ms
> [  +0.052983] xhci_hcd 0000:00:14.0: Port Status Change Event for port 12
> [  +0.000012] xhci_hcd 0000:00:14.0: handle_port_status: starting port polling.
> [  +0.000315] xhci_hcd 0000:00:14.0: get port status, actual port 2
> status  = 0x2a1203
> [  +0.000019] xhci_hcd 0000:00:14.0: Get port status returned 0x310203
> [  +0.053395] xhci_hcd 0000:00:14.0: clear port reset change, actual
> port 2 status  = 0xa1203
> [  +0.000082] xhci_hcd 0000:00:14.0: clear port warm(BH) reset change,
> actual port 2 status  = 0x21203
> [  +0.000072] xhci_hcd 0000:00:14.0: clear port link state change,
> actual port 2 status  = 0x21203
> [  +0.000072] xhci_hcd 0000:00:14.0: clear port connect change, actual
> port 2 status  = 0x1203
> [  +0.000072] xhci_hcd 0000:00:14.0: get port status, actual port 2
> status  = 0x1203
> [  +0.000008] xhci_hcd 0000:00:14.0: Get port status returned 0x203
> [  +0.000065] hub 2-0:1.0: port 3, status 02c0, change 0041, 5.0 Gb/s
> [  +0.000012] usb 2-3: USB disconnect, device number 36
> [  +0.000006] usb 2-3.1: USB disconnect, device number 37
> [  +0.000004] usb 2-3.1: unregistering device
> [  +0.000005] usb 2-3.1: unregistering interface 2-3.1:1.0
> [  +0.000160] usb 2-3.1: Failed to set U1 timeout to 0x0,error code -19
> [  +0.000007] usb 2-3.1: Hub-initiated U1 disabled at request of
> driver ax88179_178a
> [  +0.000005] usb 2-3.1: Failed to set U1 timeout to 0xff,error code -19
> [  +0.000005] usb 2-3.1: Hub-initiated U2 disabled at request of
> driver ax88179_178a
> [  +0.000004] usb 2-3.1: Failed to set U2 timeout to 0xff,error code -19
> [  +0.000006] xhci_hcd 0000:00:14.0: Set up evaluate context for LPM MEL change.
> [  +0.000004] xhci_hcd 0000:00:14.0: Slot 30 Input Context:
> [  +0.000006] xhci_hcd 0000:00:14.0: @ffff8802129c4000 (virt)
> @2129c4000 (dma) 0x000000 - drop flags
> [  +0.000004] xhci_hcd 0000:00:14.0: @ffff8802129c4004 (virt)
> @2129c4004 (dma) 0x000001 - add flags
> [  +0.000005] xhci_hcd 0000:00:14.0: @ffff8802129c4008 (virt)
> @2129c4008 (dma) 0x000000 - rsvd2[0]
> [  +0.000004] xhci_hcd 0000:00:14.0: @ffff8802129c400c (virt)
> @2129c400c (dma) 0x000000 - rsvd2[1]
> [  +0.000004] xhci_hcd 0000:00:14.0: @ffff8802129c4010 (virt)
> @2129c4010 (dma) 0x000000 - rsvd2[2]
> [  +0.000004] xhci_hcd 0000:00:14.0: @ffff8802129c4014 (virt)
> @2129c4014 (dma) 0x000000 - rsvd2[3]
> 
> 
> Regards,
> 
> Taegil
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux