How can I set my USB keyboard and mouse to wake my system from sleep?

How can I set my USB keyboard and mouse to wake my system from sleep?

This is likely a task for entering your UEFI/BIOS setup during boot and look for USB Wake and enabling it


I have that enable but apparently my cpu platform don’t really support that at least that what’s chatgpt told me.

You should be more specific, statements like ‘my cpu platform’ mean nothing. Do you mean your ‘core2duo E440’ or what?

We don’t have Crystal Balls
 :crystal_ball:

inxi -zv8
💡 Legibility Tip pasting code

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

Double-Check BIOS/UEFI Settings and be specific about what you ‘already enabled’. Some motherboards hide relevant options behind other settings or in menus.

Specify here all the relevant settings too.

Also, specify whether you have
‘fast boot’ or ‘erp ready’ enabled or disabled (BEST disabled I think).

Found a solution. So there are two sleep modes one is deep, which is the default, and the other is s2idle. Changing the sleep mode to s2idle fixed it.

Glad you’ve fixed your problem, but where on your computer is that setting?

It’s in /sys/power/mem_sleep. I had to add a kernel parameter to make s2idle the default sleep mode.

For “deep sleep” mode, I’ve found the trick is to use the oldschool USB2 keyboard/mouse ports on the PC. Often the BIOS has special legacy handling for those ports that allows them to wake from deep sleep.

Of course the problem is that they’re also too slow to flash my Mouse config settings in piper/libratbag.