[plug] power saving features? sleep etc.

Sham Chukoury chukoury at arach.net.au
Thu May 13 15:59:19 WST 2004


On Wed, 2004-05-12 at 11:23, John Knight wrote:
> G'day all!
> 
> I'm running 2.4.21 on a libranet 2.8.1 system, and I wanna be able to turn 
> the hard disk and monitor off sometimes, can I use the Sleep and Wake Up 
> buttons? If so, what modules do I play with and how?

Well.. hdparm can put the hard disk in suspend or standby mode. (check
man page) As for the monitor, you can configure X to suspend the monitor
after a while:

--- from my XF86Config-4 ---

Section "ServerFlags"

        Option  "BlankTime"     "3"
        Option  "StandbyTime"   "10"
        Option  "SuspendTime"   "20"

EndSection

--- end paste ---

Those values are in minutes, i think. :P

As for turning off the monitor while in console mode.. I think you need
to tinker around with setterm.

About the Sleep and Wake Up buttons.. I assume these are meant to
suspend and resume the computer? APM and ACPI can put the system on
standby. However doing a Hibernation-type thing, where the contents of
memory are written to disk and the system powered off, then having the
memory restored when powered on again, is still quite dodgy. Last time i
tried the feature (swsusp?), it managed to suspend properly, but failed
to resume. That was back on kernel 2.6.0 or 2.6.1.. I might try it again
some time, with 2.6.6. :P

§:)




More information about the plug mailing list