You are not logged in.

#1 2020-08-16 10:46:24

magillos
Member
Registered: 2010-07-03
Posts: 34

[SOLVED] USB stopped working

Hi,

I've got rather peculiar problem with USB ports in my laptop. Both, USB 3.0 and standard USB ports stopped working suddenly.

dmesg shows:

[   13.033947] xhci_hcd 0000:00:14.0: can't setup: -110
[   13.033975] xhci_hcd 0000:00:14.0: USB bus 2 deregistered
[   13.034019] ehci-pci 0000:00:1d.0: EHCI Host Controller
[   13.034026] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[   13.034042] ehci-pci 0000:00:1d.0: debug port 2
[   13.034092] xhci_hcd 0000:00:14.0: init 0000:00:14.0 fail, -110
[   13.034128] xhci_hcd: probe of 0000:00:14.0 failed with error -110

The same message shows when I try to reload xhci-pci module and it also persists with different kernels (ck and rt). I tried removing all kernel boot parameters too but it didn't help.
It doesn't seem to be a hardware problem as I am able to boot Systemresquecd from USB drive but what's strange it shows the same error after it boots (it is Arch based distro though)
USB ports also work fine in Windows.

lspci output:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)tried ck
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)

lsusb output (it doesn't change if I plug any device in):

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 064e:c21c Suyin Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I would appreciate help with further diagnosis from someone smarter.

Last edited by magillos (2020-08-17 12:57:44)

Offline

#2 2020-08-16 12:31:23

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: [SOLVED] USB stopped working

Sanity check:

uname -a
pacman -Qs linux

Offline

#3 2020-08-16 13:57:35

magillos
Member
Registered: 2010-07-03
Posts: 34

Re: [SOLVED] USB stopped working

It all look sane here:

Linux uoou 5.8.1-arch1-1 #1 SMP PREEMPT Wed, 12 Aug 2020 18:50:43 +0000 x86_64 GNU/Linux
...
local/linux 5.8.1.arch1-1
local/linux-headers 5.8.1.arch1-1
local/linux-rt 5.6.17.10-1
local/linux-rt-headers 5.6.17.10-1
local/linux-ck-ivybridge 5.7.15-1
local/linux-ck-ivybridge-headers 5.7.15-1
...

Offline

#4 2020-08-16 14:07:34

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: [SOLVED] USB stopped working

Yup (just happens more often then never that ppl. update the kernel and forget to mount the boot partition)

Kernel bug or power saving gone wrong.
* try the LTS kernel
* deactivate all power saving mechanisms (laptop-mode-tools, tlp, powertop autotune, …) and esp. try to disable usb autosuspend ("usbcore.autosuspend=-1", nb. that forementioned tools tend to override this at runtime)

Offline

#5 2020-08-16 16:47:25

magillos
Member
Registered: 2010-07-03
Posts: 34

Re: [SOLVED] USB stopped working

I tried lts kernel with no luck and with exactly the same error.
Turning off TLP and adding usbcore.autosuspend=-1 to boot option didn't help either.
I don't have any other power saving set up. But I tried looking into powertop and I can see that number of USB devices are marked as good and I'm not sure now what could trigger that as I definitely don't use powertop autotune. I toggled it back to "bad" and woke them up in powertop but no success.

Good          Autosuspend for USB device EHCI Host Controller [usb2]
Good          Autosuspend for unknown USB device 1-1 (8087:0024)
Good          Autosuspend for USB device 1.3M HD WebCam [SuYin]
Good          Autosuspend for unknown USB device 2-1 (8087:0024)
Good          Autosuspend for USB device EHCI Host Controller [usb1]

'dmesg |grep -i usb' output if that might be helpful with anything but I can't see anything wrong there:

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=86f88007-b984-4d45-86cb-46052087f5a0 rw init=/usr/lib/systemd/systemd audit=0 usbcore.autosuspend=-1 resume=UUID=e693e88c-d88a-40af-a4c5-eab0912c2f1a
[    0.151256] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=86f88007-b984-4d45-86cb-46052087f5a0 rw init=/usr/lib/systemd/systemd audit=0 usbcore.autosuspend=-1 resume=UUID=e693e88c-d88a-40af-a4c5-eab0912c2f1a
[    0.405353] ACPI: bus type USB registered
[    0.405353] usbcore: registered new interface driver usbfs
[    0.405353] usbcore: registered new interface driver hub
[    0.405353] usbcore: registered new device driver usb
[    0.584267] pci 0000:00:1a.0: quirk_usb_early_handoff+0x0/0x6d5 took 31081 usecs
[    0.614268] pci 0000:00:1d.0: quirk_usb_early_handoff+0x0/0x6d5 took 29278 usecs
[    0.821952] usbcore: registered new interface driver usbserial_generic
[    0.821955] usbserial: USB Serial support registered for generic
[    2.321670] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.327650] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    2.354172] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    2.354264] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    2.354265] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.354267] usb usb1: Product: EHCI Host Controller
[    2.354267] usb usb1: Manufacturer: Linux 5.4.58-1-lts ehci_hcd
[    2.354268] usb usb1: SerialNumber: 0000:00:1a.0
[    2.354422] hub 1-0:1.0: USB hub found
[    2.354581] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    2.734167] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    2.934540] usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    2.934542] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.934823] hub 1-1:1.0: USB hub found
[    3.254164] usb 1-1.3: new high-speed USB device number 3 using ehci-pci
[    3.566660] usb 1-1.3: New USB device found, idVendor=064e, idProduct=c21c, bcdDevice= 1.10
[    3.566661] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.566662] usb 1-1.3: Product: 1.3M HD WebCam
[    3.566663] usb 1-1.3: Manufacturer: SuYin
[    3.566664] usb 1-1.3: SerialNumber: HF1316-P80A-SS06-VA-R01.01.00
[   12.355630] xhci_hcd 0000:00:14.0: USB bus 2 deregistered
[   12.355684] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[   12.384181] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[   12.384310] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[   12.384313] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   12.384314] usb usb2: Product: EHCI Host Controller
[   12.384315] usb usb2: Manufacturer: Linux 5.4.58-1-lts ehci_hcd
[   12.384316] usb usb2: SerialNumber: 0000:00:1d.0
[   12.384489] hub 2-0:1.0: USB hub found
[   12.754233] usb 2-1: new high-speed USB device number 2 using ehci-pci
[   12.974556] usb 2-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[   12.974560] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   12.974997] hub 2-1:1.0: USB hub found
[   20.664649] input: 1.3M HD WebCam: 1.3M HD WebCam as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input12
[   20.664740] usbcore: registered new interface driver uvcvideo
[   20.664741] USB Video Class driver (1.1.1)
[  488.453268] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[  498.453357] xhci_hcd 0000:00:14.0: USB bus 3 deregistered

I'm going to try and run some other distro from usb drive to see if it's there too but if that was hardware issue I shouldn't be able to run live usb disk in the first place, I guess.

Offline

#6 2020-08-16 17:46:30

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: [SOLVED] USB stopped working

The hand-over from UEFI to the OS could be botched but unless windows installed a UEFI update, that wouldn't explain "suddenly".
Speaking of which: see the 3rd link in my signature - a hibernating windows can throw pretty much everything off.

Offline

#7 2020-08-16 18:07:34

magillos
Member
Registered: 2010-07-03
Posts: 34

Re: [SOLVED] USB stopped working

It's 8 years old laptop with BIOS so I don't have EFI partition.
I just tried to run Ubuntu from USB disk and it starts booting but stops immediately with the same error.
It's really strange.

[Edit]
I just booted into Windows again and this time USB ports seem to be dead too and inactive in device manager so it is hardware failure after all, it seems.
Time to buy a new laptop but what I'm most sorry about is that 8-years old Arch installed on it    ;-)



Many thanks for your (wasted) time

Last edited by magillos (2020-08-16 18:29:05)

Offline

#8 2020-08-17 02:11:42

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] USB stopped working

Yikes bited by hardware...

Don’t need to forget that Arch in there, you can salvage the HDD/SDD? And place the filesystem on a new storage device if you want, Arch won’t complain about different hardware, now the other one is a different topic...

Btw you could still use the HDD/SDD on the new one maybe as external, but I assume is also quite old as well, idk if a shingled bit will bite you later...

If there’s nothing else to be done in this thread you may mark it as [SOLVED]...


My reposSome snippets

Heisenberg might have been here.

Offline

#9 2020-08-17 13:02:52

magillos
Member
Registered: 2010-07-03
Posts: 34

Re: [SOLVED] USB stopped working

GaKu999 wrote:

you can salvage the HDD/SDD

Definitely an option to consider.

Offline

Board footer

Powered by FluxBB