public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* S3 and S4: nothing happens
@ 2002-10-10 17:22 Roy
       [not found] ` <3DA5B75D.80203-S0/GAf8tV78@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Roy @ 2002-10-10 17:22 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Anyone can help me with this:
If I do a "echo 3 > /proc/acpi/sleep" or a "echo 4 > /proc/acpi/sleep" 
nothing happens (using 2.5.41 and 2.4.20-pre8-acpi). There isn't any 
message in /var/log/messages.

A "cat /proc/acpi/sleep" gives me: S0 S3 S4 S5

Any suggestions?
Thanks, Roy!



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: S3 and S4: nothing happens
       [not found] ` <3DA5B75D.80203-S0/GAf8tV78@public.gmane.org>
@ 2002-10-11  2:22   ` Joshua Lauricha
  2002-10-12  6:37     ` Knut Neumann
  0 siblings, 1 reply; 6+ messages in thread
From: Joshua Lauricha @ 2002-10-11  2:22 UTC (permalink / raw)
  To: Roy; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Same thing happen here, using 2.4.20-pre8 w/acpi-20021002-pre8,
/proc/acpi/sleep gives S0 S3 S4 S5, but "echo 3 > /proc/acpi/sleep", or 4.
Give nothing.

Also, /proc/acpi/processor/CPU0/performance gives not supported. Is that
simply for 2.4.xx or some error?

I have a Fujitsu C-6631 w/a P3-1Ghz.

On Thu, 10 Oct 2002, Roy wrote:

> Anyone can help me with this:
> If I do a "echo 3 > /proc/acpi/sleep" or a "echo 4 > /proc/acpi/sleep"
> nothing happens (using 2.5.41 and 2.4.20-pre8-acpi). There isn't any
> message in /var/log/messages.
>
> A "cat /proc/acpi/sleep" gives me: S0 S3 S4 S5
>
> Any suggestions?
> Thanks, Roy!
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: S3 and S4: nothing happens
  2002-10-11  2:22   ` Joshua Lauricha
@ 2002-10-12  6:37     ` Knut Neumann
  0 siblings, 0 replies; 6+ messages in thread
From: Knut Neumann @ 2002-10-12  6:37 UTC (permalink / raw)
  To: Roy, Joshua Lauricha; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


> Same thing happen here, using 2.4.20-pre8 w/acpi-20021002-pre8,
> /proc/acpi/sleep gives S0 S3 S4 S5, but "echo 3 > /proc/acpi/sleep", or 4.
> Give nothing.

This _is_ fixed with 20021002-2.5.40 though this patch has not yet been
applied to the linus kernel tree (AFAIK). Thus it is not included with
2.5.41, but you can easily fix it yourself - see [1]on that.

>From 20021002-2.4.20-pre8 - drivers/acpi/system.c - acpi_suspend(..):

        +          /* only support S1 and S5 on kernel 2.4 */

Regards
-Knut

[1] Mail from Pavel Machek with title "acpi sleep: stupid bug reintroduced"



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: S3 and S4: nothing happens
@ 2002-10-13 21:58 Don Langworthy
       [not found] ` <000001c27303$bce537f0$46ffff0a-pDtHNsj1o9eEb1ujJ5R0Fw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Don Langworthy @ 2002-10-13 21:58 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I have similar symptoms:

echo 5 > /proc/acpi/sleep causes an immediate ungraceful power off.

All other values seem to have no effect on the system power state.

I've noticed 3 different behaviors for performance and throttling (under
/proc/acpi/processor).

1 No effect
2 Change state for a few seconds then reverts back to full power mode 3
Changes state permanently.

The system seems to pick one behavior at boot time and stick with it
until the next boot time. 

I'm using the 20020918 patch to the 2.4.18 kernel. I can't get the
20021002 patch to the 2.4.20pre8 kernel to patch (or compile) cleanly.

Hardware is a Sony Vaio pcg-fx370

I'd be happy to help debug the problem if someone would point me in the
right direction or where to start looking. 


Don Langworthy
dbl-t4aQvBRgbK03GDxJruMu3g@public.gmane.org

> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel- 
> admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Joshua Lauricha
> Sent: Thursday, October 10, 2002 7:23 PM
> To: Roy
> Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: Re: [ACPI] S3 and S4: nothing happens
> 
> Same thing happen here, using 2.4.20-pre8 w/acpi-20021002-pre8, 
> /proc/acpi/sleep gives S0 S3 S4 S5, but "echo 3 > /proc/acpi/sleep", 
> or 4. Give nothing.
> 
> Also, /proc/acpi/processor/CPU0/performance gives not supported. Is 
> that simply for 2.4.xx or some error?
> 
> I have a Fujitsu C-6631 w/a P3-1Ghz.
> 
> On Thu, 10 Oct 2002, Roy wrote:
> 
> > Anyone can help me with this:
> > If I do a "echo 3 > /proc/acpi/sleep" or a "echo 4 > 
> > /proc/acpi/sleep" nothing happens (using 2.5.41 and 
> > 2.4.20-pre8-acpi). There isn't any message in /var/log/messages.
> >
> > A "cat /proc/acpi/sleep" gives me: S0 S3 S4 S5
> >
> > Any suggestions?
> > Thanks, Roy!
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf 
> > _______________________________________________
> > Acpi-devel mailing list
> > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> > https://lists.sourceforge.net/lists/listinfo/acpi-devel
> >
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> https://lists.sourceforge.net/lists/listinfo/acpi-devel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: S3 and S4: nothing happens
       [not found] ` <000001c27303$bce537f0$46ffff0a-pDtHNsj1o9eEb1ujJ5R0Fw@public.gmane.org>
@ 2002-10-14  8:11   ` Knut Neumann
       [not found]     ` <1034583098.369.40.camel-s1IKGncK6J2OERECOqmV57dB6IYNvbhm87tLKu7D3g4@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Knut Neumann @ 2002-10-14  8:11 UTC (permalink / raw)
  To: Don Langworthy; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Am Son, 2002-10-13 um 23.58 schrieb Don Langworthy:
> echo 5 > /proc/acpi/sleep causes an immediate ungraceful power off.
> All other values seem to have no effect on the system power state.

See my mail on this thread: Only S1/S5 are supported under 2.4 kernels.
IIRC S5 sudden shutoff is intended. Andrew Grover gave an explanation
that a few month ago but I do not remember it exactly.

> I've noticed 3 different behaviors for performance and throttling (under
> /proc/acpi/processor).
> 
> 1 No effect
> 2 Change state for a few seconds then reverts back to full power mode 3
> Changes state permanently.

Could you provide some more details? What exactly happens in what case
(eg. does echo 1:1 > /proc/acpi/../performance have no effect?)

> The system seems to pick one behavior at boot time and stick with it
> until the next boot time. 

Let me get that right: You boot your system and then you find one of the
above points in effect and that behaviour does not change until reboot,
but then might be different? Surprising.

> I'm using the 20020918 patch to the 2.4.18 kernel. I can't get the
> 20021002 patch to the 2.4.20pre8 kernel to patch (or compile) cleanly.

What exactly is the problem? I would need the output of your
patch/compile attempt to be more helpful :)

-Knut

PS: Did anyone yet try to update the FAQ?  Otherwise I might take an
evening if someone would correct the english at last.

-- 
Knut Neumann <knut.neumann-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org>
Physikalische Grundpraktika - Heinrich-Heine Universitaet Duesseldorf
Raum 25.33.01.63  -   Universitaetsstrasse 1   -  D-40225 Duesseldorf
fon: +49-211-81-11314                           fax: +49-211-81-13105











-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: S3 and S4: nothing happens
       [not found]     ` <1034583098.369.40.camel-s1IKGncK6J2OERECOqmV57dB6IYNvbhm87tLKu7D3g4@public.gmane.org>
@ 2002-10-14 19:58       ` Don Langworthy
  0 siblings, 0 replies; 6+ messages in thread
From: Don Langworthy @ 2002-10-14 19:58 UTC (permalink / raw)
  To: 'Knut Neumann'; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Knut:

See responses below. 

Thanks for your help.

Don Langworthy
dbl-t4aQvBRgbK03GDxJruMu3g@public.gmane.org

> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
> admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Knut Neumann
> Sent: Monday, October 14, 2002 1:12 AM
> To: Don Langworthy
> Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: RE: [ACPI] S3 and S4: nothing happens
> 
> Am Son, 2002-10-13 um 23.58 schrieb Don Langworthy:
> > echo 5 > /proc/acpi/sleep causes an immediate ungraceful power off.
> > All other values seem to have no effect on the system power state.
> 
> See my mail on this thread: Only S1/S5 are supported under 2.4
kernels.
> IIRC S5 sudden shutoff is intended. Andrew Grover gave an explanation
> that a few month ago but I do not remember it exactly.
> 
> > I've noticed 3 different behaviors for performance and throttling
(under
> > /proc/acpi/processor).
> >
> > 1 No effect
> > 2 Change state for a few seconds then reverts back to full power
mode 
> > 3 Changes state permanently.
> 
> Could you provide some more details? What exactly happens in what case
> (eg. does echo 1:1 > /proc/acpi/../performance have no effect?)

I've always use echo 1 > /proc/acpi/../performance (is the :1
significant?). 
For example If I run:

echo 1 > /proc/acpi/../performance; cat /proc/../performance

And I'm in state 1 (from above) the results of the cat indicates that
the cpu is still at full power mode (1000 mHz). If I'm in state 2 or 3
then the cat indicates low power mode (700 mHz).  If I wait 2-4 seconds
and cat .../performance again, I see either full power mode (state 2) or
low power mode (state 3). If the low power mode persists for longer that
4 seconds it seems to persist until I change it or reboot.
> 
> > The system seems to pick one behavior at boot time and stick with it
> > until the next boot time.
> 
> Let me get that right: You boot your system and then you find one of
the
> above points in effect and that behaviour does not change until
reboot,
> but then might be different? Surprising.

Yes, you've got it right.  I was also surprised at the behavior.  I'll
continue to monitor the behavior and see if I can pick out any patterns.

> 
> > I'm using the 20020918 patch to the 2.4.18 kernel. I can't get the
> > 20021002 patch to the 2.4.20pre8 kernel to patch (or compile)
cleanly.
> 
> What exactly is the problem? I would need the output of your
> patch/compile attempt to be more helpful :)

I'll run the patch/compile again and send the errors. It may be a few
hours before I can get to it though.

> 
> -Knut
> 
> PS: Did anyone yet try to update the FAQ?  Otherwise I might take an
> evening if someone would correct the english at last.
> 
> --
> Knut Neumann <knut.neumann-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX@public.gmane.org>
> Physikalische Grundpraktika - Heinrich-Heine Universitaet Duesseldorf
> Raum 25.33.01.63  -   Universitaetsstrasse 1   -  D-40225 Duesseldorf
> fon: +49-211-81-11314                           fax: +49-211-81-13105
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-10-14 19:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-10 17:22 S3 and S4: nothing happens Roy
     [not found] ` <3DA5B75D.80203-S0/GAf8tV78@public.gmane.org>
2002-10-11  2:22   ` Joshua Lauricha
2002-10-12  6:37     ` Knut Neumann
  -- strict thread matches above, loose matches on Subject: below --
2002-10-13 21:58 Don Langworthy
     [not found] ` <000001c27303$bce537f0$46ffff0a-pDtHNsj1o9eEb1ujJ5R0Fw@public.gmane.org>
2002-10-14  8:11   ` Knut Neumann
     [not found]     ` <1034583098.369.40.camel-s1IKGncK6J2OERECOqmV57dB6IYNvbhm87tLKu7D3g4@public.gmane.org>
2002-10-14 19:58       ` Don Langworthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox