I've recently purchased a new Asus ROG laptop and installed Garuda on it. I noticed that it wakes up on it's own after suspend. I've searched everything on the internet and found that disabling certain ACPI (XHCI
and TXHC
) helps - but the laptop still wakes up and ACPI devices get enabled back.
This is my ACPI wakeup devices:
cat /proc/acpi/wakeup | grep enabled
PEG1 S4 *enabled pci:0000:00:01.0
PEG0 S4 *enabled pci:0000:00:06.0
RP06 S4 *enabled pci:0000:00:1c.0
RP07 S4 *enabled pci:0000:00:1c.6
XHCI S3 *enabled pci:0000:00:14.0
TXHC S3 *enabled pci:0000:00:0d.0
TDM0 S4 *enabled pci:0000:00:0d.2
TRP0 S4 *enabled pci:0000:00:07.0
AWAC S4 *enabled platform:ACPI000E:00
powertop
shows that there's a 3-3
usb device that is enabled, I tried disabling it like this:
echo 'disabled' | sudo tee '/sys/bus/usb/devices/3-3/power/wakeup'
yet the laptop still wakes up on it's own the USB device becomes enabled again. Below I'll give some lsusb
and lspci
output:
lsusb -s 3:3
Bus 003 Device 003: ID 0408:30c3 Quanta Computer, Inc. USB2.0 HD UVC WebCam
lspci -nnk | grep 0000:00:14.0
0000:00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller [8086:51ed] (rev 01)
I've also tried creating a systemd service to disable ACPI/USB ports on system launch, and it's disabled on boot, but later something turns it back on and it keeps waking up from suspend on it's own.
some journalctl
output:
╰─λ journalctl -b | grep 'wake'
juuli 26 21:15:15 Asus kernel: rtc_cmos rtc_cmos: RTC can wake from S4
juuli 26 21:15:21 Asus bluetoothd[882]: src/device.c:device_set_wake_support() Unable to set wake_support without RPA resolution
juuli 26 21:15:30 Asus dbus-daemon[883]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.39' (uid=0 pid=4117 comm="sudo tee /proc/acpi/wakeup")
juuli 26 21:15:31 Asus dbus-daemon[883]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.40' (uid=0 pid=4360 comm="sudo tee /proc/acpi/wakeup")
juuli 26 21:15:32 Asus dbus-daemon[883]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.41' (uid=0 pid=4394 comm="sudo tee /sys/bus/usb/devices/3-3/power/wakeup")
juuli 26 21:28:23 Asus dbus-daemon[883]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.145' (uid=0 pid=60324 comm="sudo tee /sys/bus/usb/devices/3-3/power/wakeup")
juuli 26 21:28:27 Asus sudo[60324]: v1rtl : TTY=pts/0 ; PWD=/home/v1rtl ; USER=root ; COMMAND=/usr/bin/tee /sys/bus/usb/devices/3-3/power/wakeup
juuli 26 21:46:39 Asus NetworkManager[987]: <info> [1690397199.7116] manager: sleep: wake requested (sleeping: yes enabled: yes)
juuli 26 21:46:40 Asus bluetoothd[882]: src/device.c:device_set_wake_support() Unable to set wake_support without RPA resolution
garuda-inxi
output:
System:
Kernel: 6.1.38-2-lts arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=2e425827-3595-47ea-adad-49c927aa87d7 rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
xchi_hcd.quirks=270336 ibt=off
Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ROG Zephyrus G16 GU603VV_GU603VV
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: GU603VV v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: GU603VV.301 date: 01/12/2023
Battery:
ID-1: BAT0 charge: 64.3 Wh (71.0%) condition: 90.5/90.0 Wh (100.6%)
power: 55.1 W volts: 15.5 min: 15.9 model: AS3GWAF3KC GA50358 type: Unknown
serial: <filter> status: discharging
CPU:
Info: model: 13th Gen Intel Core i9-13900H bits: 64 type: MST AMCP
arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
process: Intel 7 (10nm) family: 6 model-id: 0xBA (186) stepping: 2
microcode: 0x4112
Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
Speed (MHz): avg: 1699 high: 3000 min/max: 400/5200:5400:4100 scaling:
driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 775 4: 3000
5: 800 6: 3000 7: 791 8: 3000 9: 793 10: 800 11: 2581 12: 3000 13: 1900
14: 1680 15: 1659 16: 1900 17: 1841 18: 1687 19: 1323 20: 1856
bogomips: 119840
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: ASUSTeK
driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+
ports: active: eDP-1 empty: DP-1,DP-2 bus-ID: 0000:00:02.0
chip-ID: 8086:a7a0 class-ID: 0300
Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: ASUSTeK
driver: nvidia v: 535.86.05 alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-07) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022-23+ ports: active: none
empty: DP-3,HDMI-A-1,eDP-2 bus-ID: 0000:01:00.0 chip-ID: 10de:28e0
class-ID: 0300
Device-3: Quanta USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-7:3 chip-ID: 0408:30c3
class-ID: fe01 serial: <filter>
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: nouveau
alternate: fbdev,intel,nv,vesa dri: iris gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65")
s-diag: 798mm (31.43")
Monitor-1: eDP-1 model: TL160ADMP03-0 built: 2022 res: 2560x1600 hz: 240
dpi: 188 gamma: 1.2 size: 345x215mm (13.58x8.46") diag: 407mm (16")
ratio: 16:10 modes: 2560x1600
API: OpenGL v: 4.6 Mesa 23.1.3 renderer: Mesa Intel Graphics (RPL-P)
direct-render: Yes
Audio:
Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel
alternate: snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3 chip-ID: 8086:51ca
class-ID: 0403
Device-2: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus-ID: 0000:01:00.1 chip-ID: 10de:22be class-ID: 0403
API: ALSA v: k6.1.38-2-lts status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 0.3.74 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 0000:00:14.3
chip-ID: 8086:51f1 class-ID: 0280
IF: wlo1 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus-ID: 0000:39:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp57s0 state: down mac: <filter>
Bluetooth:
Device-1: Intel driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 3-10:4 chip-ID: 8087:0033 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel
driver: vmd v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:a77f rev:
class-ID: 0104
Drives:
Local Storage: total: 953.87 GiB used: 285.71 GiB (30.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2400 MTFDKBA1T0QFM
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: V3MA003 temp: 39.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 285.71 GiB (30.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 285.71 GiB (30.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 285.71 GiB (30.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 285.71 GiB (30.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 30.97 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A
Fan Speeds (RPM): cpu: 3300
Info:
Processes: 407 Uptime: 10m wakeups: 2 Memory: total: 32 GiB note: est.
available: 30.97 GiB used: 4.95 GiB (16.0%) Init: systemd v: 253
default: graphical tool: systemctl Compilers: gcc: 13.1.1 Packages:
pm: pacman pkgs: 1916 libs: 555 tools: octopi,paru Shell: fish v: 3.6.1
running-in: konsole inxi: 3.3.28
Garuda (2.6.16-1):
System install date: 2023-06-20
Last full system update: 2023-07-25
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut nvidia-dkms
Windows dual boot: No/Undetected
Failed units: