Hi,
The ACPI support in the recent kernels is improving all the time, so for the first time I was able to suspend to RAM the FC3T3 with the default stock kernel. I was able to do it with echo 3 > /proc/acpi/sleep or echo mem > /sys/power/state. Is any graphical option to suspend from gnome ? I did not find any beside shutdown, restart, logout. There should be at least other two: suspend to ram and suspend to disk(hibernate).
On Sun, 2004-10-17 at 21:12 +0300, Paul Ionescu wrote:
The ACPI support in the recent kernels is improving all the time, so for the first time I was able to suspend to RAM the FC3T3 with the default stock kernel. I was able to do it with echo 3 > /proc/acpi/sleep or echo mem > /sys/power/state. Is any graphical option to suspend from gnome ? I did not find any beside shutdown, restart, logout. There should be at least other two: suspend to ram and suspend to disk(hibernate).
I'm arguing that there should be a "suspend" command [1], that does the right thing for apm and acpi, and is consolehelper enabled so regular users at the console can run it. I added a comment to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121061 suggesting this a while back.
Once we have that it's trivial to connect it to the battstat applet right away with only config file changes, and we could pretty easily add it to the logout dialog too with some hacking.
Kind of close to the deadline, though I'm honestly pretty disappointed we flunked on fixing this, since it seems pretty much trivial and would be a big usability benefit. Though on laptops in principle we have the "just close the lid" approach which isn't terrible.
Havoc
[1] however we have to think of a name other than "suspend," unfortunately, since suspend is a bash builtin
urk... ill be out killi'n if my laptop suspended on me just by closing the lid.... there is a reason most of them has a separate "suspend" button (and a power button (shutdown) and a lid button (monitor)).
For instace my laptop chrashes when i try to get it back out of s3... Just imagine. Sombody is writing on an important doc. Then sombody else slams the laptop shut... Ugh...
søn, 17.10.2004 kl. 21.09 skrev Havoc Pennington:
On Sun, 2004-10-17 at 21:12 +0300, Paul Ionescu wrote:
The ACPI support in the recent kernels is improving all the time, so for the first time I was able to suspend to RAM the FC3T3 with the default stock kernel. I was able to do it with echo 3 > /proc/acpi/sleep or echo mem > /sys/power/state. Is any graphical option to suspend from gnome ? I did not find any beside shutdown, restart, logout. There should be at least other two: suspend to ram and suspend to disk(hibernate).
I'm arguing that there should be a "suspend" command [1], that does the right thing for apm and acpi, and is consolehelper enabled so regular users at the console can run it. I added a comment to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121061 suggesting this a while back.
Once we have that it's trivial to connect it to the battstat applet right away with only config file changes, and we could pretty easily add it to the logout dialog too with some hacking.
Kind of close to the deadline, though I'm honestly pretty disappointed we flunked on fixing this, since it seems pretty much trivial and would be a big usability benefit. Though on laptops in principle we have the "just close the lid" approach which isn't terrible.
Havoc
[1] however we have to think of a name other than "suspend," unfortunately, since suspend is a bash builtin
On Sun, 2004-10-17 at 21:23 +0200, Kyrre Ness Sjobak wrote:
urk... ill be out killi'n if my laptop suspended on me just by closing the lid.... there is a reason most of them has a separate "suspend" button (and a power button (shutdown) and a lid button (monitor)).
We've had suspend on lid close forever I think. Seems like even RHL 7.x did this. Of course you can turn it off if you like.
For instace my laptop chrashes when i try to get it back out of s3... Just imagine. Sombody is writing on an important doc. Then sombody else slams the laptop shut... Ugh...
In any sane universe, the proper fix for that is to avoid crashing on unsuspend ;-)
Havoc
On Sun, 2004-10-17 at 18:02 -0400, Havoc Pennington wrote:
On Sun, 2004-10-17 at 21:23 +0200, Kyrre Ness Sjobak wrote:
urk... ill be out killi'n if my laptop suspended on me just by closing the lid.... there is a reason most of them has a separate "suspend" button (and a power button (shutdown) and a lid button (monitor)).
We've had suspend on lid close forever I think. Seems like even RHL 7.x did this. Of course you can turn it off if you like.
But this wasn't made by the OS, rather by the APM BIOS (I think).
For instace my laptop chrashes when i try to get it back out of s3... Just imagine. Sombody is writing on an important doc. Then sombody else slams the laptop shut... Ugh...
In any sane universe, the proper fix for that is to avoid crashing on unsuspend ;-)
Even if you hate configurability ;-P, this should be made configurable. Sometimes I just want to leave that thing running and still be able to close the lid, e.g. when I use it as a giant Ogg-Player substitute :o). In that case, it would be useful if it DPMSed the screen or something like that, xscreensaver should be temporarily reconfigured to only blank for extra points ;-).
Nils
Havoc Pennington wrote:
On Sun, 2004-10-17 at 21:23 +0200, Kyrre Ness Sjobak wrote:
urk... ill be out killi'n if my laptop suspended on me just by closing the lid.... there is a reason most of them has a separate "suspend" button (and a power button (shutdown) and a lid button (monitor)).
We've had suspend on lid close forever I think. Seems like even RHL 7.x did this. Of course you can turn it off if you like.
This is hardware specific and done by your BIOS, not the operating system.
Warren
On Sun, Oct 17, 2004 at 12:16:09PM -1000, Warren Togami wrote:
We've had suspend on lid close forever I think. Seems like even RHL 7.x did this. Of course you can turn it off if you like.
This is hardware specific and done by your BIOS, not the operating system.
And, importantly, NOT done by the BIOS anymore with ACPI.
On Sun, 2004-10-17 at 21:57 -0400, Matthew Miller wrote:
On Sun, Oct 17, 2004 at 12:16:09PM -1000, Warren Togami wrote:
We've had suspend on lid close forever I think. Seems like even RHL 7.x did this. Of course you can turn it off if you like.
This is hardware specific and done by your BIOS, not the operating system.
And, importantly, NOT done by the BIOS anymore with ACPI.
Either way, it's been the normal thing forever. I thought we already had ACPI set up to do this (in software) as well, but I have to admit I haven't been using ACPI much since it doesn't work on the X31.
Havoc
On Sun, 17 Oct 2004 23:17:12 -0400, Havoc Pennington hp@redhat.com wrote:
On Sun, 2004-10-17 at 21:57 -0400, Matthew Miller wrote:
On Sun, Oct 17, 2004 at 12:16:09PM -1000, Warren Togami wrote:
We've had suspend on lid close forever I think. Seems like even RHL 7.x did this. Of course you can turn it off if you like.
This is hardware specific and done by your BIOS, not the operating system.
And, importantly, NOT done by the BIOS anymore with ACPI.
Either way, it's been the normal thing forever. I thought we already had ACPI set up to do this (in software) as well, but I have to admit I haven't been using ACPI much since it doesn't work on the X31.
It can be configurable what the lid, power, and sleep buttons do, with ACPI...I don't think anyone's written a UI for this yet...
-- Andy
On Sun, Oct 17, 2004 at 03:09:43PM -0400, Havoc Pennington wrote:
[1] however we have to think of a name other than "suspend," unfortunately, since suspend is a bash builtin
"sleep"?
Oh no, wait.
:)
i thougth "suspend". Turns out it had a man page, and it was owned by bash.
"Hey, look at this cool new shell script" #./my-über-cool-shell-script *swirr...* "Whatha?!?"
man, 18.10.2004 kl. 03.56 skrev Matthew Miller:
On Sun, Oct 17, 2004 at 03:09:43PM -0400, Havoc Pennington wrote:
[1] however we have to think of a name other than "suspend," unfortunately, since suspend is a bash builtin
"sleep"?
Oh no, wait.
:)
-- Matthew Miller mattdm@mattdm.org http://www.mattdm.org/ Boston University Linux ------> http://linux.bu.edu/
Hi,
The ACPI support in the recent kernels is improving all the time, so for the first time I was able to suspend to RAM the FC3T3 with the default stock kernel. I was able to do it with echo 3 > /proc/acpi/sleep or echo mem > /sys/power/state. Is any graphical option to suspend from gnome ? I did not find any beside shutdown, restart, logout. There should be at least other two: suspend to ram and suspend to disk(hibernate).
Speaking of this, is there any way to tell Linux to go to sleep after a certain inactivity timeout? It would be nice if my desktop would go to sleep after I haven't used it in 10 minutes.
I used to be able to configure that using the apm in bios, but current ACPI bioses lack such settings.
KInd regards,
Mark
On Tue, Oct 19, 2004 at 08:28:11AM +0200, Mark Wormgoor wrote:
Speaking of this, is there any way to tell Linux to go to sleep after a certain inactivity timeout? It would be nice if my desktop would go to sleep after I haven't used it in 10 minutes.
How much to sleep? You can make the display do this by changing the xscreensaver settings. If you want the whole thing to suspend, we're not there yet.
Hi,
On Tue, Oct 19, 2004 at 08:28:11AM +0200, Mark Wormgoor wrote:
Speaking of this, is there any way to tell Linux to go to sleep after a certain inactivity timeout? It would be nice if my desktop would go to sleep after I haven't used it in 10 minutes.
How much to sleep? You can make the display do this by changing the xscreensaver settings. If you want the whole thing to suspend, we're not there yet.
My display does go off, so that's not a problem. But I want the system to go into standby / suspend. The bootprocedure takes a long time if I just want to sit down to read my e-mail. But, leaving my desktop on 7x24 costs me Eur 250,- per year in power costs. (Yes, it's that expensive here). I just want to save on my power bill ;)
Kind regards,
Mark