As an alternative to using VT IOCTLs you should be able to echo these
values to /sys/class/graphics/fb0/blank and blank the screen. The
attribute is pretty new so it hasn't had a lot of testing on the
various fbdev drivers.

#define VESA_NO_BLANKING        0
#define VESA_VSYNC_SUSPEND      1
#define VESA_HSYNC_SUSPEND      2
#define VESA_POWERDOWN          3


On 8/16/05, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-08-17 at 11:41 +1000, Benjamin Herrenschmidt wrote:
> 
> > (I'm blind and I use a braille display. I use those functions to blank
> > my laptop's screen so people don't read it, and hopefully to conserve
> > power.)
> 
> Oops ! I _am_not_ the one who is blind, though thanks a lot for some of
> the comments ;) I just forgot the line:
> 
> From: Stéphane Doyon <[EMAIL PROTECTED]>
> 
> (I'm still stuck to Signed-off-by only lines)
> 
> 
> Stephane is to congratulate for this fix.
> 
> Ben.
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


-- 
Jon Smirl
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to