Bugzilla – Bug 1182304
Integrated USB3 port / hub only works with AC adapter connected
Last modified: 2022-03-18 16:22:32 UTC
Kernel: 5.10.12-1-default Yet again I'm having issues with my laptops integrated USB3 port / hub. One of the USB-3 + USB-C ports only works with the AC adapter plugged in. Pulling the plug with devices connected leads to stuckage. Same hardware as in: https://bugzilla.opensuse.org/show_bug.cgi?id=1167146
After plugging the power in, syslog reads: --- [Date] [hostname] kernel: usb usb3: root hub lost power or was reset [Date] [hostname] kernel: usb usb4: root hub lost power or was reset ---
Something for Oliver and Nicolas.
Just to be clear, the USB-C port ist affected & this adapter from the other bug report is the only device I have for testing. Without AC power, the USB type A port doesn't work out of the box, neither with usb flash drives nor a mouse. With AC power everything appears to be fine.
Just to rule out grossly broken hardware, I've tested the following without the AC adapter connected: * All ports are available at boot time and can boot from USB sticks * Running W10 from USB-stick, all ports are available and work
I've tested with an old 4.15.11-pmagic64 kernel, no problems whatsoever.
5.10.1-pmagic (64bit) is usable as well. One of the USB3 type A ports is a bit picky about which usb-stick it likes, but at least there is power. The USB-C works too.
Created attachment 846381 [details] hwinfo
Still an issue with 5.11.2-1-default (TW 20210307)
This looks like a bad interaction between the hub driver and ACPI. Can you please test usbcore.autosuspend=-1 on the kernel command line?
Very nice, Very nice! This has helped a lot!
(In reply to robert spitzenpfeil from comment #10) > Very nice, Very nice! > > This has helped a lot! At a cost to your battery charge. This confirms that either ACPI is acting up or the HC ends up in teh wrong D state. What exactly does "helped a lot" mean? Do you see this issue, only rarer? And please attach the output of "lspci -vvvx" (as root) to this report.
Well, maybe I should've said that it appears to be working now. I don't really care much about battery charge, this is a desktop replacement device. But it still really sucks if you need a working usb port and the power is out.
Robert, any chance this has improved with the latest TW kernel? Without disabling the usb autosuspend.
Thanks for reminding me of this. A few quick tests are looking good. I will do some more testing tomorrow.
Well, I still have usbcore.autosuspend=-1 in the kernel cmd line. I will try without it this weekend.
I've checked right now. The problem is still the same. Without an AC adapter connected, "usbcore.autosuspend=-1" is required to keep the USB3 ports functional.
Ok, could you attach the output of "lspci -vvvx" (as root) so that Oliver could take a proper look, please?
Created attachment 856946 [details] lspci -vvvx
Oliver, could you take a look when you find time, please?