Bug 74071 - usb ports shuts down after kernel loads and ACPI is enabled
Summary: usb ports shuts down after kernel loads and ACPI is enabled
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 12:59 UTC by Lukáš Doležal
Modified: 2014-05-25 09:36 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.11.10
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg, lsusb, lspci outputs (31.69 KB, application/gzip)
2014-04-14 12:59 UTC, Lukáš Doležal
Details
dmesg with actually turned on USB and device recognition (89.11 KB, text/plain)
2014-04-14 13:09 UTC, Lukáš Doležal
Details

Description Lukáš Doležal 2014-04-14 12:59:24 UTC
Created attachment 132181 [details]
dmesg, lsusb, lspci outputs

Symptoms:
USB ports stop working (power off) just after boot loader loads kernel.

Observations:
- with acpi=off  this doesn't happen - USB ports are turned on
- in Windows usb also work
- regular boot, removing and inserting xhci_hcd module result in few seconds of switching usb power on and off (observed on connected optical mouse) and after that remains off (several "xhci_hcd 0000:00:14.0: setting latency timer to 64" messages in dmesg)
- when laptop-mode-tool is active, switching "tunable" in powertop of USB xHCI controller to "bad" and back to "good" results in turning USB ports on stable, recognition of mouse device and starts working
- does not depend on arch (i686, amd64), firmware (bios/uefi), kernel version (tried 3.11 and 3.14 in openSUSE 13.1, 3.2 in Ubuntu 12.04) - tried on live usb stricks of these distros


Configuration:
HW: laptop Lenovo ThinkPad Twist 3347-26G, BIOS v1.65, Core i5-3317U Ivy Bridge
SW: as is written above, do not depend on distro or kernel version. For testing, I am running OpenSUSE 13.1 with kernel 3.11.10

My questions is, since it is somehow SW related, where I can look for some log of changes made that lead to turning usb power on? How I can enable some more verbose logs? But anyway, I will appreciate any suggestions what to try to discover what is happening and how to resolve it.

Thanks
Comment 1 Lukáš Doležal 2014-04-14 13:08:25 UTC
Some more observations:

- saving "on" and "auto" to /sys/bus/pci/devices/0000\:00\:14.0/power/control
  result in the same as reloading xhci_hcd module - blinking of mouse led light and latency switch messages in dmesg
Comment 2 Lukáš Doležal 2014-04-14 13:09:00 UTC
Created attachment 132191 [details]
dmesg with actually turned on USB and device recognition
Comment 3 Lukáš Doležal 2014-04-14 13:11:47 UTC
- usbcore.autosuspend=-1 doesn't matter
Comment 4 Greg Kroah-Hartman 2014-04-14 13:50:50 UTC
On Mon, Apr 14, 2014 at 12:59:24PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=74071
> 
>             Bug ID: 74071
>            Summary: usb ports shuts down after kernel loads

Please send this to the linux-usb@vger.kernel.org mailing list.
Comment 5 Lukáš Doležal 2014-05-25 09:36:38 UTC
Hello,

with new version of Lenovo BIOS - 1.66 - problem is fixed.

Thank You.

Note You need to log in before you can comment on or make changes to this bug.