Re: (fwd) empty /sys/power/state?

Rafael J. Wysocki
2007-05-19T22:53:58Z

On Saturday, 19 May 2007 23:39, Stefan Richter wrote:
> Alan Stern wrote:
> > On Sat, 19 May 2007, Stefan Richter wrote:
> >
> >> Maybe linux-pm is the more appropriate list for this question:
> >>
> >> I wrote at suspend-devel@lists.sourceforge.net:
> >>> What's wrong here?
> >>>
> >>> # cat /sys/power/state
> >>> # echo mem > /sys/power/state
> >>> -su: echo: write error: No such device
> >
> >> Thanks for advice,
> >
> > No doubt other people will be able to give better answers than I. However
> > an important first step is to provide the dmesg log showing what happened
> > when the attempted suspend failed.
>
> I rebuilt the kernel with PM_DEBUG.
> There is nothing in dmesg after echo mem > /sys/power/state.
> This is also true if I first unload all modular drivers.
>
> Dmesg and .config attached.

Apparently kernel/power/main.c:valid_state() on your boxes always returns 0.

Can you please try to set CONFIG_SOFTWARE_SUSPEND and see if that helps?

Rafael