Skip to contentSkip to conversation

How to test suspend ?

DISCUSSION Giuliano Pochini 3 participants 5 messages Sep 10, 2009 – Sep 12, 2009

lore
Share & tools
lore
#0 lore raw

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 ?

Signature · 1 line
Giuliano.
#1 lore raw
Quoted 2 lines · Giuliano Pochini

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

#2 lore raw
Quoted 5 lines · On Fri, 11 Sep 2009 08:19:43 +0200 Daniel Mack <[email protected]> wrote:
Quoted 2 lines · Giuliano Pochini

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.

Signature · 1 line
Giuliano.
#3 lore raw
Quoted 4 lines · Giuliano Pochini
Quoted 1 line · On Fri, 11 Sep 2009 08:19:43 +0200 Daniel Mack <[email protected]> wrote:

On Fri, Sep 11, 2009 at 12:58:56AM +0200, Giuliano Pochini wrote:

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

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).
Signature · 4 lines
Tobin Davis 


You too can wear a nose mitten.
#4 lore raw
Quoted 13 lines · On Fri, 11 Sep 2009 13:27:56 -0700 Tobin Davis <[email protected]> wrote:
Quoted 11 lines · Giuliano Pochini
Quoted 5 lines · On Fri, 11 Sep 2009 08:19:43 +0200 Daniel Mack <[email protected]> wrote:
Quoted 2 lines · Giuliano Pochini

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
Quoted 8 lines
Quoted 2 lines

^^^^ 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.