lkml.org 
[lkml]   [2005]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] [Fwd: Console locking and blanking]
    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 <benh@kernel.crashing.org> 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 <s.doyon@videotron.ca>
    >
    > (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 majordomo@vger.kernel.org
    > More majordomo info at http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at http://www.tux.org/lkml/
    >


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

    \
     
     \ /
      Last update: 2005-08-17 05:54    [W:0.036 / U:2.220 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site