FS#51072 - [linux] Docked laptop fails to recognize usb peripherals

Attached to Project: Arch Linux
Opened by Ivan (kaptoxic) - Friday, 30 September 2016, 03:44 GMT
Last edited by Toolybird (Toolybird) - Saturday, 27 May 2023, 07:39 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After recent kernel updates, docked t450s fails to recognize usb keyboard and mouse (they are unusable) at startup when docked in either Pro or Ultra thinkpad dock. It seems that at times, only mouse is recognized, while keyboard fails *every* time. This is very annoying as the solution that works is to unplug and plug peripherals and wait around few minutes for them to start working.

Note that this is an old issue. The error given below ("unable to enumerate USB device") was there ever since I started using the combination of the thinkpad and the dock, but the peripherals were usually usable (albeit a pretty long pause, like few minutes, after they get "activated"). Perhaps this is related to power management, but it seems unlikely as the situation got worse after recent kernel updates.

Additional info:

* hardware:

Lenovo t450s with Ultra Lenovo dock

* package version(s)

local/linux 4.7.5-1 (base)
local/linux-api-headers 4.7-1
local/linux-firmware 20160915.c4c07a8-1
local/linux-headers 4.7.5-1
extra/upower 0.99.4+12+g402640b-1

* config and/or log files etc.

$ journalctl -r -p 0..3
Sep 29 20:57:16 machine kernel: usb usb1-port4: unable to enumerate USB device
Sep 29 20:57:16 machine kernel: usb 1-4: device not accepting address 16, error -71
Sep 29 20:57:10 machine kernel: usb 1-4: device not accepting address 15, error -71
Sep 29 20:57:04 machine kernel: usb 1-4: device descriptor read/64, error -110
Sep 29 20:56:49 machine kernel: usb 1-4: device descriptor read/64, error -110
Sep 29 20:56:44 machine kernel: usb 1-4: device descriptor read/64, error -110
Sep 29 20:56:28 machine kernel: usb 1-4: device descriptor read/64, error -110
Sep 29 20:47:49 machine kernel: usb usb1-port4: unable to enumerate USB device
Sep 29 20:47:49 machine kernel: usb 1-4: device not accepting address 9, error -71
Sep 29 20:47:44 machine kernel: usb 1-4: device not accepting address 8, error -71
Sep 29 20:47:38 machine kernel: usb 1-4: device descriptor read/64, error -110
Sep 29 20:47:23 machine kernel: usb 1-4: device descriptor read/64, error -110
Sep 29 20:47:17 machine kernel: usb 1-4: device descriptor read/64, error -110
Sep 29 20:47:02 machine kernel: usb 1-4: device descriptor read/64, error -110
-- Reboot --

Steps to reproduce:
Start the thinkpad while docked. (Starting it and docking it afterwards seems not to exhibit this issue.)
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 27 May 2023, 07:39 GMT
Reason for closing:  No response
Additional comments about closing:  Plus it's old and stale. If still an issue, please report upstream.
Comment by Ivan (kaptoxic) - Friday, 30 September 2016, 03:49 GMT
There are a couple of reported bugs on the forums, including https://bbs.archlinux.org/viewtopic.php?id=214017 and https://bbs.archlinux.org/viewtopic.php?id=203392.
Comment by Ivan (kaptoxic) - Friday, 30 September 2016, 20:16 GMT
In case it might help, output from previous version of the kernel (not the current) that exhibited similar issues:

$ journalctl -r -p 0..3
Sep 11 18:48:53 machine kernel: usb usb2-port4: unable to enumerate USB device
Sep 11 18:48:53 machine kernel: usb 2-4: device not accepting address 9, error -71
Sep 11 18:48:53 machine kernel: usb 2-3.2-port4: couldn't allocate usb_device
Sep 11 18:48:53 machine kernel: xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 32.
Sep 11 18:48:53 machine kernel: xhci_hcd 0000:00:14.0: Error while assigning device slot ID
Sep 11 18:48:48 machine kernel: xhci_hcd 0000:00:14.0: Command completion event does not match command
Sep 11 18:48:42 machine kernel: usb 2-4: device not accepting address 7, error -71
Sep 11 18:48:42 machine kernel: usb 2-3.4-port3: couldn't allocate usb_device
Sep 11 18:48:42 machine kernel: xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 32.
Sep 11 18:48:42 machine kernel: xhci_hcd 0000:00:14.0: Error while assigning device slot ID
Sep 11 18:48:37 machine kernel: xhci_hcd 0000:00:14.0: Command completion event does not match command
Sep 11 18:48:32 machine kernel: usb 2-4: device descriptor read/64, error -110
Sep 11 18:48:16 machine kernel: usb 2-4: device descriptor read/64, error -110
Sep 11 18:48:10 machine kernel: usb 2-4: device descriptor read/64, error -110
Sep 11 18:47:55 machine kernel: usb 2-4: device descriptor read/64, error -110
-- Reboot --
Comment by mattia (nTia89) - Sunday, 27 February 2022, 11:03 GMT
I cannot reproduce the issue. Is it still valid for you?

Loading...