You are not logged in.
Hello,
Not an arch newbie but a forum newbie, I'm not used to writing for help, I hope my post belongs here.
I would be grateful to anyone who tries to help.
My USB ports didn't work when I turn on my computer this morning. I've tried trouble shooting in several ways. I can validate that the physical USB circuit still works, since keyboard, mouse and usb keys still work in the BIOS. While in linux, the USB ports do not even provide power any more. I tried looking for logs that were out of the ordinary in journalctl and dmesg. I took a look at lsusb that seems to contain considerably less lines than usual, output bellow. I also updated my BIOS to the latest, just to be sure, even though the patchnotes only refered to CVE related fixes.
As issues with hardware are likely to be caused by updating the kernel, I tried downgrading and upgrading to the kernel in test. I also tried the lts kernel just to be sure but the issue is the same. At each point I made sure that mkinitcpio was run. Original kernel on which I had the issue : 6.1.12. I tried 6.1.11 and 6.2.1 to no avail.
Output from dmesg, messages containing USB:
# dmesg | grep -i usb
[ 0.014153] ACPI: SSDT 0x0000000087EA7000 000932 (v02 DELL UsbCTabl 00001000 INTL 20160527)
[ 0.216726] ACPI: PM: Power Resource [USBC]
[ 0.264656] ACPI: bus type USB registered
[ 0.264656] usbcore: registered new interface driver usbfs
[ 0.264656] usbcore: registered new interface driver hub
[ 0.264656] usbcore: registered new device driver usb
[ 0.429073] usbcore: registered new interface driver usbserial_generic
[ 0.429076] usbserial: USB Serial support registered for generic
[ 0.914799] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 0.916365] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 0.916369] xhci_hcd 0000:00:14.0: Host supports USB 3.1 Enhanced SuperSpeed
[ 0.916463] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 0.916466] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.916468] usb usb1: Product: xHCI Host Controller
[ 0.916469] usb usb1: Manufacturer: Linux 6.1.14-1-lts xhci-hcd
[ 0.916471] usb usb1: SerialNumber: 0000:00:14.0
[ 0.916703] hub 1-0:1.0: USB hub found
[ 0.919409] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[ 0.919413] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.919415] usb usb2: Product: xHCI Host Controller
[ 0.919416] usb usb2: Manufacturer: Linux 6.1.14-1-lts xhci-hcd
[ 0.919418] usb usb2: SerialNumber: 0000:00:14.0
[ 0.919501] hub 2-0:1.0: USB hub found
[ 0.920459] usb: port power management may be unreliable
[ 1.174803] usb 1-6: new high-speed USB device number 2 using xhci_hcd
[ 1.336703] usb 1-6: New USB device found, idVendor=0bda, idProduct=565a, bcdDevice=81.76
[ 1.336709] usb 1-6: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 1.336711] usb 1-6: Product: Integrated_Webcam_HD
[ 1.336713] usb 1-6: Manufacturer: CN0HK46K8LG0004DHJ6KA02
[ 1.336715] usb 1-6: SerialNumber: 200901010001
[ 1.464882] usb 1-10: new full-speed USB device number 3 using xhci_hcd
[ 1.607138] usb 1-10: New USB device found, idVendor=8087, idProduct=0aaa, bcdDevice= 0.02
[ 1.607149] usb 1-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 9.551304] usb 1-6: Found UVC 1.00 device Integrated_Webcam_HD (0bda:565a)
[ 9.559077] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input13
[ 9.565608] usbcore: registered new interface driver uvcvideo
[ 9.721471] usbcore: registered new interface driver btusb
[ 10.428085] ucsi_acpi USBC000:00: PPM init failed (-110)Plugging in a USB drive, a keyboard or a mouse doesn't produce any messages either in journalctl or dmesg.
Complete output from lsusb (yes there isn't much):
# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:565a Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 001 Device 003: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubComplete output from lspci, usb controller seems to be there which is a good sign further indicating that it's probably not dead
# lspci
00:00.0 Host bridge: Intel Corporation Comet Lake-U v1 4c Host Bridge/DRAM Controller (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
00:13.0 Serial controller: Intel Corporation Comet Lake Integrated Sensor Solution
00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM
00:14.3 Network controller: Intel Corporation Comet Lake PCH-LP CNVi WiFi
00:15.0 Serial bus controller: Intel Corporation Serial IO I2C Host Controller
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #13 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
00:1f.5 Serial bus controller: Intel Corporation Comet Lake SPI (flash) Controller
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Non-Volatile memory controller: Solid State Storage Technology Corporation Device 9100 (rev 03)If anyone has suggestions on what I could check next, I would gladly take them.
EDIT the ports do have power.
Last edited by eriizu (2023-02-28 13:05:07)
Offline
ucsi_acpi showed up in https://bbs.archlinux.org/viewtopic.php?id=283562 and https://bbs.archlinux.org/viewtopic.php?id=283101 and apparently a wifi dongle trashes the USB stack in https://bbs.archlinux.org/viewtopic.php?pid=2086934 (but you have two NICs on PCI, so probably not a dongle on top)
=> Don't filter the output, post the entire dmesg.
dmesg | curl -F 'file=@-' 0x0.stAlso ideally a previous journal (from when things worked), eg.
sudo journalctl -b -8 | curl -F 'file=@-' 0x0.stfor 8 boots ago.
Welcome to the forum.
Online
Correct i don't have a wifi dongle on this computer.
Journal from the last time it worked http://0x0.st/HzzN.txt
dmesg from current session http://0x0.st/Hzzq.txt
Welcome to the forum.
Thanks!
Offline
Pass "module_blacklist=ucsi_acpi" to the kernel.
Ther error is new, the module not in the older journal and there's really not much else to explain the absence of the devices.
If that's not it, try to replace the devices themselves (or to use just one of them), in case they actually cause this, but the webcam shows up and is on the same bus, so I'd expect that to be affected as well.
Online
"module_blacklist=ucsi_acpi" doesn't solve the issue unfortunately, here is dmesg after blacklisting ucsi_acpi: http://0x0.st/Hz8P.txt
If that's not it, try to replace the devices themselves (or to use just one of them), in case they actually cause this, but the webcam shows up and is on the same bus, so I'd expect that to be affected as well.
You mean the USB devices themselves? I'm testing my devices one at a time just to be sure and it doesn't help. As for the webcam, it's an integrated one, just to be clear (even if it probably connects via internal USB or something similar). Also, the webcam works.
Offline
it probably connects via internal USB
USB is a bus, not a plug.
Do usb keys (flash drives) work?
Is there a BIOS/UEFI setting about XHCI handoff (or usb hand over or anything related)?
Also, sanity check: is there a parallel windows installation?
Online
Turns out there was an option in the BIOS called enable external USB ports, and it was disabled. I have no idea if it was on or off before, but I'm positive that I never changed that option. I'll know what to look for if that laptop does something similar in the future.
Thanks for the help, marking as solved.
Just for the sake off completeness:
Keyboards, mice and USB keys didn't work and no, I don't have a Windows install.
Offline