* S1bios
@ 2003-03-10 22:51 Luís Miguel Pires Neves
[not found] ` <E18sfx5-0001dg-00-MNhIyYEChGthl2p70BpVqQ@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Luís Miguel Pires Neves @ 2003-03-10 22:51 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
This is just a request (desire).
As S1 is not completely working (backlight, disks spinning...), I wonder if
one couldn't find a temporary solution similar to S4bios for machines that
have S1 in bios.
I apologise if what I'm saying is stupid as I'm not a developper, just a
ordinary Linux user who has been following the development of ACPI and swsusp
in order to have it's Laptop with the usual functionality of laptops..
In my first times with Linux in this machine (COMPAQ Presario 12XL515) I
used APM with kernel 2.2.17 (Debian Potato's version) and I had "S1"
behaviour with apm -S. At the time it was the single working function as the
battery status/information wasn't there, and "S4" seemed also to be absent (
I know now that it was there but it needed a proper configured partition).
However with more recent kernels, both 2.2 and 2.4 (not patched with Debian
patches) I never had the APM sleeping function working again.
Anyway I started using ACPI for battery information, and Swsusp for
hibernation purposes, but I still miss the ability of putting the system in a
soft sleep so that I can move it from one place to another, or have a cup of
coffee without having to wait still some time for a swsusp suspend/resume
cycle.
As S4Bios was created to use the ability of the machines who still have some
APM support to overcome the current limitations and difficulties of swsusp,
isn't it possible to do the same with S1?
Best regards,
Luís Neves
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <E18sfx5-0001dg-00-MNhIyYEChGthl2p70BpVqQ@public.gmane.org>]
* Re: S1bios [not found] ` <E18sfx5-0001dg-00-MNhIyYEChGthl2p70BpVqQ@public.gmane.org> @ 2003-03-11 15:14 ` Patrick Mochel [not found] ` <Pine.LNX.4.33.0303110908260.1003-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> 2003-03-11 20:50 ` S1bios Ducrot Bruno 1 sibling, 1 reply; 5+ messages in thread From: Patrick Mochel @ 2003-03-11 15:14 UTC (permalink / raw) To: lneves-3+EeCmRbAIo+BYJ/izffpQ; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f > As S4Bios was created to use the ability of the machines who still have some > APM support to overcome the current limitations and difficulties of swsusp, > isn't it possible to do the same with S1? No. S1 is a very simple suspend state, and IIRC, doesn't require that devices even be powered down. There are two solutions to your problem - a quick easy one that anyone can do, and a right one that we desparately need people to start doing. The first: userspace. You may be able to turn off the backlight via some command. I've seen it done before, but it's been a long time. You may also be able to spin down the disks. The right way to do it is to fix the drivers to properly handle suspend/ resume transitions. It's needed for all power states, as well as supporting runtime power management. -pat ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <Pine.LNX.4.33.0303110908260.1003-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>]
* Re: S1bios [not found] ` <Pine.LNX.4.33.0303110908260.1003-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> @ 2003-03-12 21:52 ` Pavel Machek [not found] ` <20030312215246.GA136-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Pavel Machek @ 2003-03-12 21:52 UTC (permalink / raw) To: Patrick Mochel Cc: lneves-3+EeCmRbAIo+BYJ/izffpQ, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Hi! > > As S4Bios was created to use the ability of the machines who still have some > > APM support to overcome the current limitations and difficulties of swsusp, > > isn't it possible to do the same with S1? > > No. S1 is a very simple suspend state, and IIRC, doesn't require that > devices even be powered down. > > There are two solutions to your problem - a quick easy one that anyone can > do, and a right one that we desparately need people to start doing. > > The first: userspace. You may be able to turn off the backlight via some > command. I've seen it done before, but it's been a long time. You may also > be able to spin down the disks. Actually, I have not found out a way to turn off backlight on toshiba 4030cdt without using APM. Nor I know how to turn off backlight on hp omnibook. > The right way to do it is to fix the drivers to properly handle suspend/ > resume transitions. It's needed for all power states, as well as > supporting runtime power management. Well, and should S1 turn backlight off? It seems like the original poster wants S3, not S1. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20030312215246.GA136-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>]
* Re: S1bios [not found] ` <20030312215246.GA136-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> @ 2003-03-13 17:01 ` Luis Neves 0 siblings, 0 replies; 5+ messages in thread From: Luis Neves @ 2003-03-13 17:01 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Em Quarta, 12 de Março de 2003 21:52, escreveste: > Hi! .............. > > The right way to do it is to fix the drivers to properly handle suspend/ > > resume transitions. It's needed for all power states, as well as > > supporting runtime power management. > > Well, and should S1 turn backlight off? It seems like the original > poster wants S3, not S1. > Pavel Not exactly. As far as I understood, S3 is a deep sleep state, S1 is a soft sleep, and in fact my machine doesn't support S3. Only S1 and S4. I use hdparm -Y /dev/hda to stop the disk when moving but sometimes it starts spinning again before arriving to the new spot. Anyway, currently S1 is broken for me (2.4.20+ acpi20021212) : it doesn't wake. Best regards and keep up the good work, Luís Neves ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: S1bios [not found] ` <E18sfx5-0001dg-00-MNhIyYEChGthl2p70BpVqQ@public.gmane.org> 2003-03-11 15:14 ` S1bios Patrick Mochel @ 2003-03-11 20:50 ` Ducrot Bruno 1 sibling, 0 replies; 5+ messages in thread From: Ducrot Bruno @ 2003-03-11 20:50 UTC (permalink / raw) To: lneves-3+EeCmRbAIo+BYJ/izffpQ; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Mon, Mar 10, 2003 at 10:51:53PM +0000, LuÃs Miguel Pires Neves wrote: > Hi! > > This is just a request (desire). > > As S1 is not completely working (backlight, disks spinning...), I wonder if > one couldn't find a temporary solution similar to S4bios for machines that > have S1 in bios. S4Bios was easy. It is documented in specs. An equivalent to S1 (or S3 btw) would require hackeries (something like call bios to switch to legacy mode, then call apm suspend, then recall bios to switch to acpi mode). I don't have a platform that have correct apm support, and I can only provide untested patch in that area. Worst, I think that S1 is not the real problem actually, but more a driver problem (especially with 2.4 series). And controlling the backlight for example is somehow hard to achieve in a generic way (I will be happy if someone can provide me interresting info btw). > I apologise if what I'm saying is stupid as I'm not a developper, just a > ordinary Linux user who has been following the development of ACPI and swsusp > in order to have it's Laptop with the usual functionality of laptops.. > > In my first times with Linux in this machine (COMPAQ Presario 12XL515) I > used APM with kernel 2.2.17 (Debian Potato's version) and I had "S1" > behaviour with apm -S. At the time it was the single working function as the > battery status/information wasn't there, and "S4" seemed also to be absent ( > I know now that it was there but it needed a proper configured partition). > However with more recent kernels, both 2.2 and 2.4 (not patched with Debian > patches) I never had the APM sleeping function working again. If you can not use anymore APM with 2.4 even with the working apm -S for the debian's 2.2.17, then there is a generic problem here (regression). I have not tryied this version of kernel. Perhaps the only difference is that it worked for you because most of the drivers with the 2.2.17 was shipped as modules? Cheers, -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-13 17:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-10 22:51 S1bios Luís Miguel Pires Neves
[not found] ` <E18sfx5-0001dg-00-MNhIyYEChGthl2p70BpVqQ@public.gmane.org>
2003-03-11 15:14 ` S1bios Patrick Mochel
[not found] ` <Pine.LNX.4.33.0303110908260.1003-100000-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-03-12 21:52 ` S1bios Pavel Machek
[not found] ` <20030312215246.GA136-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2003-03-13 17:01 ` S1bios Luis Neves
2003-03-11 20:50 ` S1bios Ducrot Bruno
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.