Use keyboard to wake up instead of power button

I have a this laptop Lenovo Legion R9000X 2021
How can I use the keyboard to wake it up after suspended like Linux? Now I can only wake it up by the power button
 
I'd start with sysctl -a | grep '\.wake:'. ACPI devices that are allowed to wake the machine show up there, and setting the one for the keyboard controller (on laptops usually atkbdc0) to 1 is sometimes all it takes. If the keyboard isn't in that list at all, it's likely a firmware thing and you're stuck with the power button and the lid.
 
Thanks a lot, guess I stuck with the power button for now
Code:
sysctl -a | grep '\.wake:'
dev.xhci.2.wake: 0
dev.xhci.1.wake: 0
dev.pci.5.wake: 0
dev.pci.1.wake: 0
dev.pcib.5.wake: 0
dev.pcib.1.wake: 0
 
Back
Top