Dealing with sleep quirks to fix resume

Frederic Crozat fcrozat at mandriva.com
Fri May 11 06:15:25 PDT 2007


Le dimanche 06 mai 2007 à 20:26 +0100, Richard Hughes a écrit :
> On Fri, 2007-05-04 at 23:33 -0400, Matthias Clasen wrote:
> > On Sat, 2007-05-05 at 00:10 +0100, Richard Hughes wrote:
> > > On Fri, 2007-05-04 at 16:44 -0400, Matthias Clasen wrote:
> > > > 
> > > > 
> > > > Turns out that
> > > > 
> > > > pm-suspend --quirk-vbe-post 
> > > > 
> > > > does work for my laptop with todays rawhide... 
> > > 
> > > Yay! Have you got a patch for hal-info? :-)
> > > 
> > > Richard.
> > > 
> > 
> > Yes.
> 
> Okay to commit?

This patch is incorrect : if only --quirk-vbe-post is needed for
suspend, you shouldn't add vbestate_restore to quirk. As I explained in
previous emails, we discovered some laptops where enabling
vbestate_restore was preventing resume.

Moreover, it seems some laptops with vbestate_restore quirk can work
safely with vbemode_restore instead.

-- 
Frederic Crozat <fcrozat at mandriva.com>
Mandriva



More information about the hal mailing list