* Re: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
@ 2005-04-05 18:56 Shawn Starr
[not found] ` <20050405185620.80060.qmail-eoYtlbpe90CB9c0Qi4KiSl5cfvJIxWXgQQ4Iyu8u01E@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Shawn Starr @ 2005-04-05 18:56 UTC (permalink / raw)
To: Pavel Machek; +Cc: LKML, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
I'm working o
--- Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org> wrote:
> Hi!
>
> > 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)
>
>
> ...aha, but your system does not support S1 aka
> standby.
>
Right, so nothing should happen if I try to do it, but
something does only in /proc/acpi/sleep does the
system attempt S1 which is not supported.
Do you know if /proc/acpi/sleep will be deprecated in
favour of /sys/power/state? If so, this thread will be
moot ;)
> > 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.
>
> stanby != suspend to ram.
Correct, I wanted to be sure.
>
> Pavel
> --
> 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51
> time=448769.1 ms
>
>
-------------------------------------------------------
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] 5+ messages in thread
* Re: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
[not found] ` <20050405185620.80060.qmail-eoYtlbpe90CB9c0Qi4KiSl5cfvJIxWXgQQ4Iyu8u01E@public.gmane.org>
@ 2005-04-05 20:42 ` Pavel Machek
[not found] ` <20050405204234.GE1380-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2005-04-05 20:42 UTC (permalink / raw)
To: Shawn Starr; +Cc: LKML, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> I'm working o
???
> > > [4294672.065000] ACPI: CPU0 (power states: C1[C1]
> > C2[C2] C3[C3])
> > > [4294676.827000] ACPI: (supports S0 S3 S4 S5)
> >
> >
> > ...aha, but your system does not support S1 aka
> > standby.
> >
>
> Right, so nothing should happen if I try to do it, but
> something does only in /proc/acpi/sleep does the
> system attempt S1 which is not supported.
Feel free to fix it :-).
> Do you know if /proc/acpi/sleep will be deprecated in
> favour of /sys/power/state? If so, this thread will be
> moot ;)
No idea, deprecating it would be ok with me.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
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] 5+ messages in thread
* Re: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
[not found] ` <20050405204234.GE1380-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2005-04-06 2:49 ` Shawn Starr
[not found] ` <200504052249.35030.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Shawn Starr @ 2005-04-06 2:49 UTC (permalink / raw)
To: Pavel Machek; +Cc: LKML, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
So nobody minds if I make this into a CONFIG option marked as Deprecated? :)
Shawn.
>
> > Do you know if /proc/acpi/sleep will be deprecated in
> > favour of /sys/power/state? If so, this thread will be
> > moot ;)
>
> No idea, deprecating it would be ok with me.
>
> Pavel
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
[not found] ` <200504052249.35030.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
@ 2005-04-06 7:55 ` Pavel Machek
0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2005-04-06 7:55 UTC (permalink / raw)
To: Shawn Starr; +Cc: LKML, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> So nobody minds if I make this into a CONFIG option marked as Deprecated? :)
Actually it should probably go through
Documentation/feature-removal-schedule.txt
...and give it *long* timeout, since it is API change.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
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] 5+ messages in thread
* Re: [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop
@ 2005-04-06 21:22 Shawn Starr
0 siblings, 0 replies; 5+ messages in thread
From: Shawn Starr @ 2005-04-06 21:22 UTC (permalink / raw)
To: Pavel Machek; +Cc: LKML, acpi-devel
Yeah, I can do that, I don't need angry programmers
chasing after me :-)
Shawn.
--- Pavel Machek <pavel@ucw.cz> wrote:
> Hi!
>
> > So nobody minds if I make this into a CONFIG
> option marked as Deprecated? :)
>
> Actually it should probably go through
>
> Documentation/feature-removal-schedule.txt
>
> ...and give it *long* timeout, since it is API
> change.
> Pavel
> --
> People were complaining that M$ turns users into
> beta-testers...
> ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb
> yvxr vg gung jnl!
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-04-06 21:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-05 18:56 [2.6.12-rc1][ACPI][suspend] /proc/acpi/sleep vs /sys/power/state issue - 'standby' on a laptop Shawn Starr
[not found] ` <20050405185620.80060.qmail-eoYtlbpe90CB9c0Qi4KiSl5cfvJIxWXgQQ4Iyu8u01E@public.gmane.org>
2005-04-05 20:42 ` Pavel Machek
[not found] ` <20050405204234.GE1380-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-06 2:49 ` Shawn Starr
[not found] ` <200504052249.35030.shawn.starr-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org>
2005-04-06 7:55 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2005-04-06 21:22 Shawn Starr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox