programmatically wake up monitor
I have a remote machine that I ssh into.
The screen is normally asleep, with the screensaver running.
I could disable the screensaver, but that's not the point. I need to wake up the video, and to do that i need to programmatically do the equivalent of pressing a key or moving the mouse.
I actually tried logging in as root and:
echo "foo" >/dev/mouse
but it didn't work
In any case, I assume that something in the keyboard driver calls some low-level kernel function that keeps a timer reset or something, and I would prefer to just call the right magic function.
The system is running redhat EE3, not that I think it matters too much for something like this.