Re: How to test suspend ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> On Fri, 11 Sep 2009 08:19:43 +0200
> Daniel Mack <daniel@xxxxxxxx> 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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux