public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Fwd: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
@ 2005-03-28  8:02 Shawn Starr
       [not found] ` <200503280302.57640.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Shawn Starr @ 2005-03-28  8:02 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


----------  Forwarded Message  ----------

Subject: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state 
issue - 'standby' on a laptop
Date: March 28, 2005 02:53
From: Shawn Starr <shawn.starr at rogers d0t com>
To: Pavel Machek <pavel at suse d0t cz>, Len Brown <len d0t brown at intel d0t 
com>

Hello,

I've noticed something strange with issuing 'standby' to the system:

when echoing "standby" to /sys/power/state, nothing happens, not even a log
 or system activity to attempt standby mode.

However, trying echo "1" to /proc/acpi/sleep the system attempts to (standby)
and aborts:

[4295945.236000] PM: Preparing system for suspend
[4295946.270000] Stopping tasks:
=============================================================================
[4295946.370000] Restarting tasks... done

We get no reason as to why it quickly aborts.

[4294672.065000] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[4294676.827000] ACPI: (supports S0 S3 S4 S5)

What is '1' in /proc/acpi/sleep?  standby mode is not the same as suspend to
ram? when I put a normal desktop in standby mode its still 'on' but the hard
disk is put to sleep and the system runs in a lower power mode.

Shawn.

-------------------------------------------------------


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Fwd: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
       [not found] ` <200503280302.57640.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
@ 2005-03-30  6:37   ` Yu, Luming
       [not found]     ` <200503301437.09234.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Yu, Luming @ 2005-03-30  6:37 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Shawn Starr

On Monday 28 March 2005 16:02, Shawn Starr wrote:
> However, trying echo "1" to /proc/acpi/sleep the system attempts to
> (standby) and aborts:
>
> [4295945.236000] PM: Preparing system for suspend
> [4295946.270000] Stopping tasks:
> ===========================================================================
>== [4295946.370000] Restarting tasks... done
>
> We get no reason as to why it quickly aborts.

echo 1 to acpi/sleep means S1 called standby.
echo 3 to acpi/sleep means S3 called STR: sleep to ram
echo 4 to acpi/sleep means S4 called STD: sleep to disk

If you system just support S0, S3, S4, S5,
NO S1 support.
			
-- 
Thanks,
Luming


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Fwd: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
       [not found]     ` <200503301437.09234.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2005-03-30  6:42       ` Shawn Starr
       [not found]         ` <200503300142.54497.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Shawn Starr @ 2005-03-30  6:42 UTC (permalink / raw)
  To: luming.yu-ral2JQCrhuEAvxtiuMwx3w
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


Right, but then why is it trying to do 'something' even if there is no S1 
support? :) 

it should do the same thing if i echo 1 to /sys/power/state. which is nothing 
at all.

Shawn.

On March 30, 2005 01:37, Yu, Luming wrote:
> On Monday 28 March 2005 16:02, Shawn Starr wrote:
> > However, trying echo "1" to /proc/acpi/sleep the system attempts to
> > (standby) and aborts:
> >
> > [4295945.236000] PM: Preparing system for suspend
> > [4295946.270000] Stopping tasks:
> > =========================================================================
> >== == [4295946.370000] Restarting tasks... done
> >
> > We get no reason as to why it quickly aborts.
>
> echo 1 to acpi/sleep means S1 called standby.
> echo 3 to acpi/sleep means S3 called STR: sleep to ram
> echo 4 to acpi/sleep means S4 called STD: sleep to disk
>
> If you system just support S0, S3, S4, S5,
> NO S1 support.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Fwd: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
       [not found]         ` <200503300142.54497.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
@ 2005-03-30  7:08           ` Yu, Luming
       [not found]             ` <200503301508.08721.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Yu, Luming @ 2005-03-30  7:08 UTC (permalink / raw)
  To: Shawn Starr; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Good question. could you write a patch for what you said.

On Wednesday 30 March 2005 14:42, Shawn Starr wrote:
> Right, but then why is it trying to do 'something' even if there is no S1
> support? :)
>
> it should do the same thing if i echo 1 to /sys/power/state. which is
> nothing at all.
>
> Shawn.
>
> On March 30, 2005 01:37, Yu, Luming wrote:
> > On Monday 28 March 2005 16:02, Shawn Starr wrote:
> > > However, trying echo "1" to /proc/acpi/sleep the system attempts to
> > > (standby) and aborts:
> > >
> > > [4295945.236000] PM: Preparing system for suspend
> > > [4295946.270000] Stopping tasks:
> > > =======================================================================
> > >== == == [4295946.370000] Restarting tasks... done
> > >
> > > We get no reason as to why it quickly aborts.
> >
> > echo 1 to acpi/sleep means S1 called standby.
> > echo 3 to acpi/sleep means S3 called STR: sleep to ram
> > echo 4 to acpi/sleep means S4 called STD: sleep to disk
> >
> > If you system just support S0, S3, S4, S5,
> > NO S1 support.

-- 
Thanks,
Luming


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Fwd: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
       [not found]             ` <200503301508.08721.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2005-03-30  7:13               ` Shawn Starr
  2005-04-01  4:32               ` Shawn Starr
  1 sibling, 0 replies; 6+ messages in thread
From: Shawn Starr @ 2005-03-30  7:13 UTC (permalink / raw)
  To: luming.yu-ral2JQCrhuEAvxtiuMwx3w
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


Yes, I think thats a good idea... I'll look into that this week.

Shawn.


On March 30, 2005 02:08, Yu, Luming wrote:
> Good question. could you write a patch for what you said.
>
> On Wednesday 30 March 2005 14:42, Shawn Starr wrote:
> > Right, but then why is it trying to do 'something' even if there is no S1
> > support? :)
> >
> > it should do the same thing if i echo 1 to /sys/power/state. which is
> > nothing at all.
> >
> > Shawn.
> >
> > On March 30, 2005 01:37, Yu, Luming wrote:
> > > On Monday 28 March 2005 16:02, Shawn Starr wrote:
> > > > However, trying echo "1" to /proc/acpi/sleep the system attempts to
> > > > (standby) and aborts:
> > > >
> > > > [4295945.236000] PM: Preparing system for suspend
> > > > [4295946.270000] Stopping tasks:
> > > > =====================================================================
> > > >== == == == [4295946.370000] Restarting tasks... done
> > > >
> > > > We get no reason as to why it quickly aborts.
> > >
> > > echo 1 to acpi/sleep means S1 called standby.
> > > echo 3 to acpi/sleep means S3 called STR: sleep to ram
> > > echo 4 to acpi/sleep means S4 called STD: sleep to disk
> > >
> > > If you system just support S0, S3, S4, S5,
> > > NO S1 support.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Fwd: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
       [not found]             ` <200503301508.08721.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  2005-03-30  7:13               ` Shawn Starr
@ 2005-04-01  4:32               ` Shawn Starr
  1 sibling, 0 replies; 6+ messages in thread
From: Shawn Starr @ 2005-04-01  4:32 UTC (permalink / raw)
  To: luming.yu-ral2JQCrhuEAvxtiuMwx3w
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

To further, is /proc/acpi deprecated? or is some of the duplicate 
functionality such as suspending going to be removed?

If so, the patch won't be worth writing if its being removed :)

Shawn.

On March 30, 2005 02:08, you wrote:
> Good question. could you write a patch for what you said.
>
> On Wednesday 30 March 2005 14:42, Shawn Starr wrote:
> > Right, but then why is it trying to do 'something' even if there is no S1
> > support? :)
> >
> > it should do the same thing if i echo 1 to /sys/power/state. which is
> > nothing at all.
> >
> > Shawn.
> >
> > On March 30, 2005 01:37, Yu, Luming wrote:
> > > On Monday 28 March 2005 16:02, Shawn Starr wrote:
> > > > However, trying echo "1" to /proc/acpi/sleep the system attempts to
> > > > (standby) and aborts:
> > > >
> > > > [4295945.236000] PM: Preparing system for suspend
> > > > [4295946.270000] Stopping tasks:
> > > > =====================================================================
> > > >== == == == [4295946.370000] Restarting tasks... done
> > > >
> > > > We get no reason as to why it quickly aborts.
> > >
> > > echo 1 to acpi/sleep means S1 called standby.
> > > echo 3 to acpi/sleep means S3 called STR: sleep to ram
> > > echo 4 to acpi/sleep means S4 called STD: sleep to disk
> > >
> > > If you system just support S0, S3, S4, S5,
> > > NO S1 support.


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

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

end of thread, other threads:[~2005-04-01  4:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-28  8:02 Fwd: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop Shawn Starr
     [not found] ` <200503280302.57640.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
2005-03-30  6:37   ` Yu, Luming
     [not found]     ` <200503301437.09234.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-03-30  6:42       ` Shawn Starr
     [not found]         ` <200503300142.54497.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
2005-03-30  7:08           ` Yu, Luming
     [not found]             ` <200503301508.08721.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-03-30  7:13               ` Shawn Starr
2005-04-01  4:32               ` Shawn Starr

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