Re: [PATCH] [Fwd: Console locking and blanking]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux