APMD-List:
Archives

  
Back

to

APMD

Home

      Index: [thread] [date] [subject] [author]
  From: Chris Worley <cworley@symbionsys.com>
  To  : apmd-list@worldvisions.ca <apmd-list@worldvisions.ca>
  Date: Sun, 16 Jul 2000 11:47:20 -0600

Using power switch to go into standby mode

I'm using an I-Opener running Linux 2.2.14 as an XTerminal.

I want to associate the power on/off switch with a standby mode (i.e.
screen power off).

In QNX, the power switch merely turned off the power to the monitor...
How did they do that?  I'd like to be able to do the same in Linux.

I don't want the network to shutdown (parts of the X session would
timeout), I just want the machine to look as if it were off, but when
turned back on, is still in the session as it was left.

I haven't found anything in APM that would be appropriate.  "apm -s"
unloads the pegasus USB driver which panics the system.  "apm -S"
flashes the screen off and back on.  I can't see any hook in the apm
driver for catching the power-off interrupt, but I know it's there:
whenever the kernel panics (i.e. after trying to unload the pegasus
driver), I have to pull the power cord to shut it off... the switch
won't work.

Any ideas on how to associate the switch to standby mode?

Thanks,

Chris

P.S.: I apologize if this post is a repeat... I never received my copy
from the list server, and have been unable to get relevant archive
information from the list server (unless nobody has posted since
June???).  The list archiver really needs a better search mechanism.


Index: [thread] [date] [subject] [author]


Write to me! apenwarr@worldvisions.ca