Laptop, removed cable power supply, immediately all USB ports will be switched off

Perhaps the issue will not be solved, but I got during examination something like a "spring clean" of my system (Bios update, DKMS driver for r8152 installed, replaced thunderbird snap by apt).

Ubuntu MATE comes with a pre-installed tlp package for laptop battery power management.
Check your /etc/tlp.conf config file and follow the troubleshooting guide:

2 Likes

Common information did not help ! Only the SW developer who did, turn Off USB, can help !

No, this is not just 'common information'. This is a detailed instruction, nicely written. Your hardware may not work properly with the default tlp settings. You can edit your /etc/tlp.conf config file and change some settings.

Have you tried anything? Settings like USB_AUTOSUSPEND look promising. Without actions on your part, nothing will happen, because you are the one with the hardware.

The development repository is here:

3 Likes

An important hint by the system :
Kernel log after power cable unplugged /var/log/kernel.log:

2025-05-28T05:09:40.865649+02:00 Laptop2 kernel: xhci_hcd 0000:03:00.3: WARNING: Host System Error

2025-05-28T05:10:05.566406+02:00 Laptop2 kernel: ata1: SATA link down (SStatus 0 SControl 300)

Search for "Host System Error" with the result :

add new issue here :

Please refer to Asus Lapop, unplug power supply leads to "Host System Error", all USB ports will be switched off · Issue #805 · linrunner/TLP · GitHub
And there :
FAQ did help :
USB Devices — TLP 1.8.0 documentation
Changed tlp.conf entry to AHCI_RUNTIME_PM_ON_BAT=on, and
sudo tlp start , did work ! All USB ports works.

3 Likes