Re: Awakening from suspend-to-mem

2005-05-14 Thread Derek Broughton
On Friday 13 May 2005 17:48, Ritesh Raj Sarraf wrote: > Derek Broughton wrote: > > klaptopdaemon doesn't do anything but invoke these scripts. If they > > don't work for your configuration, it doesn't matter whether you're using > > klaptopdaemon or anything else. > > FYI, > > I don't find any of

Re: Awakening from suspend-to-mem

2005-05-14 Thread Ajitabh Pandey
Hi, * Ritesh Raj Sarraf <[EMAIL PROTECTED]> [2005-05-14 02:25:32 +0530]: >I don't agree. If there's something already ready why try doing kiddie >stuff. If you still are tempted you can download the klaptopdaemon sources >and patch it to your requirements. I find it feature comprehensive. No offen

Re: Awakening from suspend-to-mem

2005-05-13 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew McMillan wrote: > On Thu, 2005-05-12 at 23:01 +0530, Ritesh Raj Sarraf wrote: >> >> I don't understand why you people are taking so much of pain automating a >> lot of stuff using scripts. >> I presume most notebook users would be using GUI on

Re: Awakening from suspend-to-mem

2005-05-13 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek Broughton wrote: > klaptopdaemon doesn't do anything but invoke these scripts. If they don't > work for your configuration, it doesn't matter whether you're using > klaptopdaemon or anything else. FYI, I don't find any of the scripts mentione

Re: Awakening from suspend-to-mem

2005-05-13 Thread Andrew McMillan
On Thu, 2005-05-12 at 15:59 +0300, Alexander A. Vlasov wrote: > Hello. > > Your scripts is definitely better, thanks. One thing I can't understand: > why should we run some commands in subshell and why so many sleeps (one > for avoiding race between powerbutton and lid). Too many sleeps is defini

Re: Awakening from suspend-to-mem

2005-05-12 Thread Derek Broughton
On Thursday 12 May 2005 14:31, Ritesh Raj Sarraf wrote: > > I don't understand why you people are taking so much of pain automating a > lot of stuff using scripts. > I presume most notebook users would be using GUI on it (Probably KDE). > > KDE's klaptopdaemon is excellent in handling all this susp

Re: Awakening from suspend-to-mem

2005-05-12 Thread Andrew McMillan
On Thu, 2005-05-12 at 23:01 +0530, Ritesh Raj Sarraf wrote: > > I don't understand why you people are taking so much of pain automating a > lot of stuff using scripts. > I presume most notebook users would be using GUI on it (Probably KDE). > > KDE's klaptopdaemon is excellent in handling all thi

Re: Awakening from suspend-to-mem

2005-05-12 Thread Ritesh Raj Sarraf
On Thursday 12 May 2005 11:30 pm, Javier-Elias Vasquez-Vivas wrote: > Although I'm not familiar with this thread, I don't agree with last > comment.  I don't like using KDE/Gnome.  I actually don't use desktop > manager at all, I just use flucbox on top of X and that's it...  I > have installed deb

Re: Awakening from suspend-to-mem

2005-05-12 Thread Javier-Elias Vasquez-Vivas
Although I'm not familiar with this thread, I don't agree with last comment. I don't like using KDE/Gnome. I actually don't use desktop manager at all, I just use flucbox on top of X and that's it... I have installed debian/linux on 2 laptops (inspiron 600M and ibm T40) with such configuration..

Re: Awakening from suspend-to-mem

2005-05-12 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew McMillan wrote: > On Wed, 2005-05-11 at 15:42 +0300, Alexander A. Vlasov wrote: >> Hello all. >> >> Finally, I installed Sarge on my Compaq Presario 2200, but I face >> following problem: >> laptop can be suspended-to-ram by `echo mem > /sys/p

Re: Awakening from suspend-to-mem

2005-05-12 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus C. Gottwald wrote: > > Ritesh Raj Sarraf wrote (Wed 2005-May-11 23:31:10 +0530): > >> Alexander A. Vlasov wrote: > .. >> > laptop can be suspended-to-ram by `echo mem > /sys/power/state' (and >> > suspending works fine -- led blinks slowly, d

Re: Awakening from suspend-to-mem

2005-05-12 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander A. Vlasov wrote: > Additionally -- I looked through the log, looks like after suspend lid > opening generates power button event. Well, it's not a problem to make a > simple check (for powerbutton: if some lockfile is present, remove it; > o

Re: Awakening from suspend-to-mem

2005-05-12 Thread Nico Golde
Hallo Ritesh, * Ritesh Raj Sarraf <[EMAIL PROTECTED]> [2005-05-11 21:58]: > Alexander A. Vlasov wrote: > > Finally, I installed Sarge on my Compaq Presario 2200, but I face > > following problem: > > laptop can be suspended-to-ram by `echo mem > /sys/power/state' (and > > suspending works fine --

Re: Awakening from suspend-to-mem

2005-05-12 Thread Alexander A. Vlasov
Hello. Your scripts is definitely better, thanks. One thing I can't understand: why should we run some commands in subshell and why so many sleeps (one for avoiding race between powerbutton and lid). Well, about screen: First, I have to correct myself. Screen sometimes remains blank, sometimes it

Re: Awakening from suspend-to-mem

2005-05-12 Thread Andrew McMillan
On Wed, 2005-05-11 at 15:42 +0300, Alexander A. Vlasov wrote: > Hello all. > > Finally, I installed Sarge on my Compaq Presario 2200, but I face > following problem: > laptop can be suspended-to-ram by `echo mem > /sys/power/state' (and > suspending works fine -- led blinks slowly, display shuttin

Re: Awakening from suspend-to-mem

2005-05-12 Thread Marcus C. Gottwald
Ritesh Raj Sarraf wrote (Wed 2005-May-11 23:31:10 +0530): > Alexander A. Vlasov wrote: .. > > laptop can be suspended-to-ram by `echo mem > /sys/power/state' (and > > suspending works fine -- led blinks slowly, display shutting down and so > > on), but it can't awake from this state. Opening lid

Re: Awakening from suspend-to-mem

2005-05-12 Thread Alexander A. Vlasov
Additionally -- I looked through the log, looks like after suspend lid opening generates power button event. Well, it's not a problem to make a simple check (for powerbutton: if some lockfile is present, remove it; otherwise shutdown; for lid: create lock and suspend). I did so and laptop awakened,

Re: Awakening from suspend-to-mem

2005-05-12 Thread Alexander A. Vlasov
Hello. Already tried this option -- no effect. On Wed, May 11, 2005 at 11:31:10PM +0530, Ritesh Raj Sarraf wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Alexander A. Vlasov wrote: > >> Hello all. >> >> Finally, I installed Sarge on my Compaq Presario 2200, but I face >> followin

Re: Awakening from suspend-to-mem

2005-05-11 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander A. Vlasov wrote: > Hello all. > > Finally, I installed Sarge on my Compaq Presario 2200, but I face > following problem: > laptop can be suspended-to-ram by `echo mem > /sys/power/state' (and > suspending works fine -- led blinks slowly, di

Awakening from suspend-to-mem

2005-05-11 Thread Alexander A. Vlasov
Hello all. Finally, I installed Sarge on my Compaq Presario 2200, but I face following problem: laptop can be suspended-to-ram by `echo mem > /sys/power/state' (and suspending works fine -- led blinks slowly, display shutting down and so on), but it can't awake from this state. Opening lid or pres