You are not logged in.
Pages: 1
Hello,
I've had issues with echi_hcd and xhci_hcd preventing sleep, so I wrote a /usr/lib/systemd/system-sleep script to rmmod/modprobe them on sleep. This has worked okay except today my laptop started and ran for 2 hours while in it's laptop bag. It was very hot once I noticed.
I'd like a way to prevent anything at all from waking the laptop while the lid is closed.
I've looked at /proc/acpi/wakeup and disable the two items there:
Device S-state Status Sysfs node
P0P1 S4 *disabled
GLAN S4 *disabled
EHC1 S3 *disabled pci:0000:00:1d.0
EHC2 S4 *disabled
XHC S3 *disabled pci:0000:00:14.0
HDEF S4 *disabled pci:0000:00:1b.0
RP01 S3 *disabled pci:0000:00:1c.0
PXSX S3 *disabled pci:0000:01:00.0
PEG0 S4 *disabled
PEGP S4 *disabled
PEG1 S4 *disabled
PEG2 S4 *disabled
Still when I 'systemctl suspend' the system I can wake it with any keyboard key.
Can anyone tell me how to prevent the laptop from running while the lid is closed.
As a secondary query, I'd also like to know if there's some way to get a log of why the system actually awoke. It doesn't seem to be kept anywhere so I'd like to know how to enable these logs.
Thank you.
Offline
You might have to change the files in /sys/bus/usb/devices/*/power/wakeup from 'enabled' to 'disabled'.
Offline
Thanks, I tried that, but the keyboard can still wake the machine while closed. The screen is also a touchpad and I'm not sure if that'll wake it either.
Offline
Pages: 1