[alsa-devel] How to test suspend ?
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 ?
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.
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).
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.
participants (3)
-
Daniel Mack
-
Giuliano Pochini
-
Tobin Davis