← Back to team overview

kernel-packages team mailing list archive

[Bug 1528240] [NEW] USB 3.0 hub has no power when USB storage device is plugged

 

Public bug reported:

lsb_release -rd

Description:	Ubuntu 15.10
Release:	15.10

linux-image-4.2.0-17-generic

When I plug USB 3.0 storage device(Transcend TS32GJF780 USB 3.0 32 Gb
flash drive) into one of USB 3.0 ports in USB hub (DELL U2713HM monitor)
and hub is connected to USB 3.0 port on my MB - no USB device is
detected. lsusb shows no device is connected to hub ports:

lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 6: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 6: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 6: Dev 4, If 2, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 6: Dev 4, If 3, Class=Audio, Driver=snd-usb-audio, 480M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M

Expected: hub device on Bus 04/Port1 has storage device listed.

Workaround: if I check if power is supplied to the USB 3.0 hub device, I
see:

cat /sys/bus/usb/devices/usb4/4-1/power/control
auto

Then if I manually turn power on:

echo on >/sys/bus/usb/devices/usb4/4-1/power/control

USB 3.0 device appears and works. 
This problem is not reproducible if the same USB hub is attached to USB 2.0 port, so it is likely to be USB XHCI driver problem.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: 3.0 hub power usb xhci

** Attachment added: "apport-bug linux output is attached"
   https://bugs.launchpad.net/bugs/1528240/+attachment/4538320/+files/linux.crash

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1528240

Title:
  USB 3.0 hub has no power when USB storage device is plugged

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  lsb_release -rd

  Description:	Ubuntu 15.10
  Release:	15.10

  linux-image-4.2.0-17-generic

  When I plug USB 3.0 storage device(Transcend TS32GJF780 USB 3.0 32 Gb
  flash drive) into one of USB 3.0 ports in USB hub (DELL U2713HM
  monitor) and hub is connected to USB 3.0 port on my MB - no USB device
  is detected. lsusb shows no device is connected to hub ports:

  lsusb -t
  /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
      |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
          |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
          |__ Port 6: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
          |__ Port 6: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
          |__ Port 6: Dev 4, If 2, Class=Audio, Driver=snd-usb-audio, 480M
          |__ Port 6: Dev 4, If 3, Class=Audio, Driver=snd-usb-audio, 480M
  /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
      |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
          |__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
  /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
      |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
  /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
      |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
  /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
  /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M

  Expected: hub device on Bus 04/Port1 has storage device listed.

  Workaround: if I check if power is supplied to the USB 3.0 hub device,
  I see:

  cat /sys/bus/usb/devices/usb4/4-1/power/control
  auto

  Then if I manually turn power on:

  echo on >/sys/bus/usb/devices/usb4/4-1/power/control

  USB 3.0 device appears and works. 
  This problem is not reproducible if the same USB hub is attached to USB 2.0 port, so it is likely to be USB XHCI driver problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1528240/+subscriptions


Follow ups