public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/acpi/sleep behaviour?
@ 2003-03-04 16:54 Nils Faerber
       [not found] ` <20030304175446.3930bcb7.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Nils Faerber @ 2003-03-04 16:54 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi!
Just a short question:
	How is sleep supposed to work?
When I do a 
	echo -n 4 > /proc/acpi/sleep
on recent ACPI kernels (2.4.21-pre4 with ACPI 20030228 + swsusp beta 19)
everything works quite fine but the "echo" never returns. After resume I
have to kill "echo".

This makes it a little difficult to write proper suspend/resume
scripts... Or am I doing something wrong here?

CU
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

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

* Re: /proc/acpi/sleep behaviour?
       [not found] ` <20030304175446.3930bcb7.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
@ 2003-03-04 17:22   ` Ducrot Bruno
       [not found]     ` <20030304172226.GD7861-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ducrot Bruno @ 2003-03-04 17:22 UTC (permalink / raw)
  To: Nils Faerber; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, Mar 04, 2003 at 05:54:46PM +0100, Nils Faerber wrote:
> Hi!
> Just a short question:
> 	How is sleep supposed to work?
> When I do a 
> 	echo -n 4 > /proc/acpi/sleep
> on recent ACPI kernels (2.4.21-pre4 with ACPI 20030228 + swsusp beta 19)
> everything works quite fine but the "echo" never returns. After resume I
> have to kill "echo".
> 

Last time I checked, the swsusp support is not well integrated.
I can not tell though for recent swsusp patches.

please use /proc/sys/kernel/suspend instead.

Forgot to say also that you should bug report to swsusp mailing list.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

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

* Re: /proc/acpi/sleep behaviour?
       [not found]     ` <20030304172226.GD7861-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
@ 2003-03-04 17:40       ` Nils Faerber
  0 siblings, 0 replies; 4+ messages in thread
From: Nils Faerber @ 2003-03-04 17:40 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, 4 Mar 2003 18:22:26 +0100
Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> wrote:
> On Tue, Mar 04, 2003 at 05:54:46PM +0100, Nils Faerber wrote:
> > Just a short question:
> > 	How is sleep supposed to work?
> > When I do a 
> > 	echo -n 4 > /proc/acpi/sleep
> > on recent ACPI kernels (2.4.21-pre4 with ACPI 20030228 + swsusp beta
> > 19) everything works quite fine but the "echo" never returns. After
> > resume I have to kill "echo".
> Last time I checked, the swsusp support is not well integrated.
> I can not tell though for recent swsusp patches.

I can't judge this either but the same in my eyes misbehaviour is IMHO
also true for 2.5.6x kernels without directly involved swsusp so I would
suspect this to be more of an ACPI problem...

> please use /proc/sys/kernel/suspend instead.
Err... /proc/sys/kernel/swsusp you ment, right?

> Forgot to say also that you should bug report to swsusp mailing list.
That's true, sorry!

> Ducrot Bruno
CU
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

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

* RE: /proc/acpi/sleep behaviour?
@ 2003-04-18  5:45 Yu, Luming
  0 siblings, 0 replies; 4+ messages in thread
From: Yu, Luming @ 2003-04-18  5:45 UTC (permalink / raw)
  To: Nils Faerber, Ducrot Bruno; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

We could narrow down the issue, if you could kindly post debug information at
1) boot time
2) time after issuing "echo -n 4 > /proc/acpi/sleep

Thanks,
Luming
-----Original Message-----
From: Nils Faerber [mailto:nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org]
Sent: 2003?3?5? 1:41
To: Ducrot Bruno
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ACPI] /proc/acpi/sleep behaviour?


On Tue, 4 Mar 2003 18:22:26 +0100
Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> wrote:
> On Tue, Mar 04, 2003 at 05:54:46PM +0100, Nils Faerber wrote:
> > Just a short question:
> > 	How is sleep supposed to work?
> > When I do a 
> > 	echo -n 4 > /proc/acpi/sleep
> > on recent ACPI kernels (2.4.21-pre4 with ACPI 20030228 + swsusp beta
> > 19) everything works quite fine but the "echo" never returns. After
> > resume I have to kill "echo".
> Last time I checked, the swsusp support is not well integrated.
> I can not tell though for recent swsusp patches.

I can't judge this either but the same in my eyes misbehaviour is IMHO
also true for 2.5.6x kernels without directly involved swsusp so I would
suspect this to be more of an ACPI problem...

> please use /proc/sys/kernel/suspend instead.
Err... /proc/sys/kernel/swsusp you ment, right?

> Forgot to say also that you should bug report to swsusp mailing list.
That's true, sorry!

> Ducrot Bruno
CU
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2003-04-18  5:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-04 16:54 /proc/acpi/sleep behaviour? Nils Faerber
     [not found] ` <20030304175446.3930bcb7.nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
2003-03-04 17:22   ` Ducrot Bruno
     [not found]     ` <20030304172226.GD7861-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-03-04 17:40       ` Nils Faerber
  -- strict thread matches above, loose matches on Subject: below --
2003-04-18  5:45 Yu, Luming

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