All of lore.kernel.org
 help / color / mirror / Atom feed
* How to test suspend ?
@ 2009-09-10 22:58 Giuliano Pochini
  2009-09-11  6:19 ` Daniel Mack
  0 siblings, 1 reply; 5+ messages in thread
From: Giuliano Pochini @ 2009-09-10 22:58 UTC (permalink / raw)
  To: alsa-devel

I couldn't make s2ram work on my machine and /sys/pci/.../power/state
virtual files were removed one year ago. How can I test suspend/resume ?


-- 
Giuliano.

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

* Re: How to test suspend ?
  2009-09-10 22:58 How to test suspend ? Giuliano Pochini
@ 2009-09-11  6:19 ` Daniel Mack
  2009-09-11 19:57   ` Giuliano Pochini
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Mack @ 2009-09-11  6:19 UTC (permalink / raw)
  To: Giuliano Pochini; +Cc: alsa-devel

On Fri, Sep 11, 2009 at 12:58:56AM +0200, Giuliano Pochini wrote:
> I couldn't make s2ram work on my machine and /sys/pci/.../power/state
> virtual files were removed one year ago. How can I test suspend/resume ?

See Documentation/power/states.txt

Daniel

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

* Re: How to test suspend ?
  2009-09-11  6:19 ` Daniel Mack
@ 2009-09-11 19:57   ` Giuliano Pochini
  2009-09-11 20:27     ` Tobin Davis
  0 siblings, 1 reply; 5+ messages in thread
From: Giuliano Pochini @ 2009-09-11 19:57 UTC (permalink / raw)
  To: Daniel Mack; +Cc: alsa-devel

On Fri, 11 Sep 2009 08:19:43 +0200
Daniel Mack <daniel@caiaq.de> wrote:

> On Fri, Sep 11, 2009 at 12:58:56AM +0200, Giuliano Pochini wrote:
> > I couldn't make s2ram work on my machine and /sys/pci/.../power/state
> > virtual files were removed one year ago. How can I test suspend/resume ?
> 
> See Documentation/power/states.txt

$ cat /sys/power/state

^^^^ nothing.


-- 
Giuliano.

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

* Re: How to test suspend ?
  2009-09-11 19:57   ` Giuliano Pochini
@ 2009-09-11 20:27     ` Tobin Davis
  2009-09-12 20:28       ` Giuliano Pochini
  0 siblings, 1 reply; 5+ messages in thread
From: Tobin Davis @ 2009-09-11 20:27 UTC (permalink / raw)
  To: Giuliano Pochini; +Cc: alsa-devel

On Fri, 2009-09-11 at 21:57 +0200, Giuliano Pochini wrote:

> On Fri, 11 Sep 2009 08:19:43 +0200
> Daniel Mack <daniel@caiaq.de> wrote:
> 
> > On Fri, Sep 11, 2009 at 12:58:56AM +0200, Giuliano Pochini wrote:
> > > I couldn't make s2ram work on my machine and /sys/pci/.../power/state
> > > virtual files were removed one year ago. How can I test suspend/resume ?
> > 
> > See Documentation/power/states.txt
> 
> $ cat /sys/power/state
> 
> ^^^^ nothing.
> 

Cat does nothing because it doesn't change the current state.  It should return:

standby mem disk

if the kernel is built to handle power management.  If it does return
any of these values, to change state you would type (as root):
echo mem >/sys/power/state   # suspend to ram
# or
echo disk >/sys/power/state     # suspend to disk (hibernate).



-- 
Tobin Davis 


You too can wear a nose mitten.

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

* Re: How to test suspend ?
  2009-09-11 20:27     ` Tobin Davis
@ 2009-09-12 20:28       ` Giuliano Pochini
  0 siblings, 0 replies; 5+ messages in thread
From: Giuliano Pochini @ 2009-09-12 20:28 UTC (permalink / raw)
  To: Tobin Davis; +Cc: alsa-devel

On Fri, 11 Sep 2009 13:27:56 -0700
Tobin Davis <tdavis@dsl-only.net> wrote:

> On Fri, 2009-09-11 at 21:57 +0200, Giuliano Pochini wrote:
> 
> > On Fri, 11 Sep 2009 08:19:43 +0200
> > Daniel Mack <daniel@caiaq.de> wrote:
> > 
> > > On Fri, Sep 11, 2009 at 12:58:56AM +0200, Giuliano Pochini wrote:
> > > > I couldn't make s2ram work on my machine and /sys/pci/.../power/state
> > > > virtual files were removed one year ago. How can I test suspend/resume ?
> > > 
> > > See Documentation/power/states.txt
> > 
> > $ cat /sys/power/state
> > 
> > ^^^^ nothing.
> > 
> 
> Cat does nothing because it doesn't change the current state.  It should return:
> 
> standby mem disk
> 
> if the kernel is built to handle power management.

It is... and /sys/power/state is supposed to be "mem" only. But since it
doesn't work, is there another way to test suspend/resume of the soundcard ?


--
Giuliano.

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

end of thread, other threads:[~2009-09-12 20:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-10 22:58 How to test suspend ? Giuliano Pochini
2009-09-11  6:19 ` Daniel Mack
2009-09-11 19:57   ` Giuliano Pochini
2009-09-11 20:27     ` Tobin Davis
2009-09-12 20:28       ` Giuliano Pochini

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.