![]() |
APMD-List: |
to APMD Home
|
Index:
[thread]
[date]
[subject]
[author]
From: Craig Markwardt <craigm@pcasun3.gsfc.nasa.gov> To : Jont Allen <jba@research.att.com> Date: Tue, 22 Jun 1999 14:15:13 -0400 (EDT) Re: apm daemon, suspend/resumeJont-- I am forwarding your message to the apmd list so that other people can discuss too. Your suggestions are good. To change virtual consoles, it seems that "chvt" is a good choice. Unfortunately I don't think there is an easy way to remember how to switch back to the X console upon resume. To the apmd list-- I still recommend that we not enable these kinds of commands by default, but we should definitely document them. Craig Jont Allen writes: > Craig Markwardt wrote: > > > > > Is there anyway, that you know, to have this triggered by the button > > > that gets hit when you close the screen? Or by the Fn-F4 key (the > > > default on the IBM560X? > > > > APM events are generated and handled when you hit the hibernate button > > your laptop as well. In fact, it should be handled the *same way* as > > when you do "apm -s". They are both considered "user suspends." Are > > you suggesting otherwise? > > > > Craig > > Craig, > > Did you know, at least on some laptops, that the sound drivers > cannot take a suspend/resume cycle. This program can fixt this > problem. Specifically, if you use the mic input, it doesnt work > after suspend/resume, unless you say: soundoff,soundon. > > Also some people have problems with X windows. This can, I expect > solve that problem. It would require a command that brings down > X and gives a virt console. Then on resume, it would need to do > alt-f7(or f8) to return to you X. > > Do you happen to know how to do that? > > Perhaps it would be nice to add a list of such problems that this > solution can fix, to the docs. > > Jont > -- > Jont B. Allen > AT&T Labs-Research, Shannon Laboratory > 180 Park Ave., Room E161, Florham Park NJ, 07932-0971 > 973/360-8545voice, x7111fax, http://www.research.att.com/info/jba > > -My favorite URL: www-history.mcs.st-and.ac.uk/history > > -Imagination is more important than knowledge. --Albert Einstein > Index: [thread] [date] [subject] [author] |