How to suspend Ubuntu 22.04 with Behgringer UMC204HD without immediatly wakeup

Dec 21, 2022 04:32

1. Setup tool

bash-$ apt install acpitool

2. Detect device

bash-$ acpitool -w

Shows something like these:

26. EHC1 S4 *enabled pci:0000:00:1d.0
27. EHC2 S4 *enabled pci:0000:00:1a.0
28. XHC S4 *disabled pci:0000:00:14.0

3. Create file:

/etc/tmpfiles.d/disable-usb-wake.conf

4. Add content:

w /proc/acpi/wakeup - - - - XHC
w /proc/acpi/wakeup - - - - EHC1
w /proc/acpi/wakeup - - - - EHC2

5. Reboot or

bash-$ echo EHC1 > /proc/acpi/wakeup
bash-$ echo EHC2 > /proc/acpi/wakeup
bash-$ echo XHC > /proc/acpi/wakeup
Previous post Next post
Up