[Pm-utils] [PATCH 2/6] Added support in the video hook for DISPLAY_QUIRK_NONE.

Victor Lowther victor.lowther at gmail.com
Thu Feb 28 05:29:52 PST 2008


On Thu, Feb 28, 2008 at 07:51:30AM +0100, Michael Biebl wrote:
> 2008/2/28, Victor Lowther <victor.lowther at gmail.com>:
> > When it is set to true, avoid quirk handling by exiting immediatly.
> >  ---
> >   pm/sleep.d/99video |    2 ++
> >   1 files changed, 2 insertions(+), 0 deletions(-)
> >
> >  diff --git a/pm/sleep.d/99video b/pm/sleep.d/99video
> >  index d46fbfe..92e13f7 100755
> >  --- a/pm/sleep.d/99video
> >  +++ b/pm/sleep.d/99video
> >  @@ -9,6 +9,8 @@
> >
> >   . "${PM_FUNCTIONS}"
> >
> >  +[ "$DISPLAY_QUIRK_NONE" = "true" ] && exit $NA
> >  +
> 
> What about save_fbcon/resume_fbcon? s2ram seems to also call it with -f.
> We don't have a quirk for that in hal (yet).
> When is it required to call save_fbcon, what exactly does it do?

Well, the mechanics of savng/restoring fbcon are handled exclusivly by
the kernel, so I could not tell you exactly waht it does.

The bigger question is why are we saving/restoring fbcon where we do,
and I don't have an answer for that either.  None of my systems use a
framebuffer console for anything, so I have a hard time testing that
functionality.
 
> Michael
> 
> -- 
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?

-- 
Victor Lowther
Ubuntu Certified Professional


More information about the Pm-utils mailing list