Menu

rtcidle / News: Recent posts

USB input devices, new command line options

This version includes:

  • monitoring of /dev/input/event* for user activity; this includes all user input in the local machine, such as USB keyboards, mice, etc.

  • new commandline options for ease testing and for using only some of the features, like suspending immediately without running as a daemon or just calculating the time of the next cron or at job

Posted by sgerwk 2015-04-19 Labels: update

First release

This release works for ps/2 keyboards and mice, and serial mice. When these device are inactive (they do not generate interrupts as detected in /proc/interrupts), rtcidle calculates the wakeup time as two minutes before the next job in the at or cron queue, sets the rtc alarm at two minutes before this job, and enters the suspend state using either apm or acpi (whichever is available). Suspension is not done if any of a number of programs are running; these programs can be specified in a configuration file; this allows for example to avoid suspension when 'cdrecord' is active, even if the user is not (this would cause wasted media); this also allow the cron or at jobs not to be interrupted by suspension one they are started.

Posted by sgerwk 2008-01-09