[Pm-utils] pm-suspend working only after resuming from pm-hiberante
Leonardo Canducci
leonardocanducci at yahoo.it
Wed Oct 8 09:13:10 PDT 2008
Il giorno mar, 07/10/2008 alle 14.25 -0700, Jesse Barnes ha scritto:
> On Tuesday, October 7, 2008 2:06 pm Leonardo Canducci wrote:
> > > If you're using 2.6.25 or later it's also worth
> > > checking whether you can do a
> > > suspend/resume from the console directly:
> > > <boot to text mode>
> > > # modprobe i915
> > > # echo mem > /sys/power/state
> > > <resume>
> > >
> > > If that comes back then at least the basic kernel
> > > functionality is working.
> >
> > It did come back with module i915 loaded in text mode. What can I try now?
>
> Excellent, that's a start. Can you use the 'intel_reg_dumper' tool (part of
> the xf86-video-intel driver tree) to capture register dumps from before and
> after the suspend/resume cycle?
>
If intel_reg_dumper is a command I suspect it's not included in debian
xserver-xorg-video-intel package. Could you point me to some doc
explaining how to get it and use it?
> Now you should try the same thing, but with X running:
> <boot & login to your desktop env.>
> # chvt 1 (or ctl-alt-f1)
> <login as root>
> # echo mem > /sys/power/state
> <resume>
> # chvt 7 (or whatever your X VT # is)
>
Ok. I tried invoking "echo mem > /sys/power/state" after switching to
console with X running and got my laptop suspended and the freezed on
resume.
I don't know if it's relevant but when suspending from console display
gets a little messy: white in the center with coloured borders than
fades to black turning off. This happens in both cases (X running or
not).
Regards,
leonardo
More information about the Pm-utils
mailing list