2011/7/18 Marty Jack <span dir="ltr"><<a href="mailto:martyj19@comcast.net" target="_blank">martyj19@comcast.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1. The power state of the monitor can change. This is mediated by the X server, which has the FD to the kernel driver that actually does the work. The X server runs a timer that is reset whenever there is activity on an input device.<br>
</blockquote><div><br></div><div>This is not 100% accurate. The X server only monitors mice, keyboards and a few other devices it is aware of.</div><div><br></div><div>This is rather inconvenient for users who play games with e.g. joysticks, as the monitor will turn off randomly when the system is actually in use. X offers a way to disable power saving but unfortunately this acts globally (i.e. if your program crashes, then the monitor will never turn off, which is even worse).</div>
<div><br></div><div>It would certainly be convenient if the kernel provided an idle counter but I don't claim to know whether that's the optimal solution. However, what X does it not a real solution either.</div>