Thanks to ChatGPT which gave me specific and accurate instructions I can now wake my computer running Linux Mint when the monitor goes to sleep (not Suspend) after the time specified in the Power Management settings.
Here is what ChatGPT told me to do:
To enable your Linux Mint system to wake up from suspend using a PS/2 mouse, you can try the following steps:
Check if the PS/2 mouse is recognized:
Open a terminal and run:
cat /proc/bus/input/devices
This command will list all input devices. Look for a section related to your PS/2 mouse. It might be labeled something like “ImPS/2 Generic Wheel Mouse” or similar.
Enable wakeup for the PS/2 mouse:
First, identify the device file corresponding to the PS/2 mouse. You can usually find it under /sys/bus/serio/devices/serioX/power/wakeup where X is the specific identifier of your mouse device.
Check if wakeup is enabled for the device by running:
cat /sys/bus/serio/devices/serioX/power/wakeup
Replace serioX with the correct identifier for your mouse. If it says “disabled,” you’ll need to enable it.
To enable it, run the following command (you’ll need root privileges):
echo enabled | sudo tee /sys/bus/serio/devices/serioX/power/wakeup
Make the change persistent:
To ensure that the setting persists after a reboot, you can add the command to a startup script.
Edit the file /etc/rc.local (create it if it doesn’t exist) and add the wakeup command just before the exit 0 line. For example:
# Enable wakeup for PS/2 mouse
echo enabled > /sys/bus/serio/devices/serioX/power/wakeup
exit 0
Make sure the file is executable:
sudo chmod +x /etc/rc.local
Test it out:
Suspend your system and then try moving the PS/2 mouse to see if it wakes up your system.