[alsa-devel] How to test suspend ?

Giuliano Pochini pochini at shiny.it
Sat Sep 12 22:28:40 CEST 2009


On Fri, 11 Sep 2009 13:27:56 -0700
Tobin Davis <tdavis at 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 at 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.


More information about the Alsa-devel mailing list