Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-03-17 02:23:37

rayandrews
Member
From: Vancouver B.C. Canada
Registered: 2011-12-30
Posts: 179

keyboard to wake from suspend

With Debian 11 I could do this in /etc/rc.local:

    echo enabled > /sys/bus/usb/devices/usb3/power/wakeup

... and it let a tap on the keyboard wake from suspend.  Doesn't work anymore with Debian 12.  I'm not sure if this is an xfce4 issue but I do recall that the above line was given to me either here or on the Debian forum.  Not to get greedy, but it would be nice if a mouse touch would wake up too.

Offline

#2 2024-03-17 03:08:56

CwF
Member
Registered: 2018-01-28
Posts: 290

Re: keyboard to wake from suspend

Things must have moved around.

I'd look at /sys/class/usbmisc/hiddev0/power/

maybe?

Offline

#3 2024-03-17 03:30:07

rayandrews
Member
From: Vancouver B.C. Canada
Registered: 2011-12-30
Posts: 179

Re: keyboard to wake from suspend

Yeah they have moved around.  Latest effort was this, but it doesn't work either:

echo enabled > /sys/bus/usb/devices/5-2/power/wakeup
echo enabled > /sys/bus/usb/devices/8-1/power/wakeup

I'll  try your path too.  My, they do like to hide things don't they?

Offline

#4 2024-03-17 17:40:30

rayandrews
Member
From: Vancouver B.C. Canada
Registered: 2011-12-30
Posts: 179

Re: keyboard to wake from suspend

Glorious success:

https://www.makeuseof.com/wake-your-lin … b-devices/

... they've just made it a wee bit harder, like they do:

echo enabled > /sys/bus/usb/devices/5-2/power/wakeup
echo enabled > /sys/bus/usb/devices/8-1/power/wakeup
echo enabled > /sys/bus/usb/devices/usb5/power/wakeup
echo enabled > /sys/bus/usb/devices/usb8/power/wakeup

... seems you now have to wake up the port *and* the device on the port.

Offline

Board footer

Powered by FluxBB