[Server-devel] turn off backlight on XS-on-XO1

Paul Fox pgf at laptop.org
Wed Mar 3 08:30:24 EST 2010


anna wrote:
 > I'd appreciate a command to blank the screen.  I installed olpc-kbdshim from

when you installed olpc-kbdshim i think you should have also
gotten a new command to control the display:  olpc-brightness,
which takes "up", "down", "min", "max", or a number between 0 and
15 as an argument.  it needs to run as root.

 > the repo and then
 > http://dev.laptop.org/~pgf/rpms/olpc-powerd-9-1.fc9.i386.rpm.  Tried editing
 > /etc/powerd/powerd.conf to make the screen blank, but I guess I don't know
 > what I'm doing cause it's not working.

i'm happy to help you figure this out if you can post more details of
what you've done/tried, etc.

settings something like this should work:
    config_PLUGGED_TIME_DIM="60"
    config_PLUGGED_TIME_BLANK="90"
    config_PLUGGED_TIME_SLEEP="999999999"
    config_BATTERY_TIME_DIM="60"
    config_BATTERY_TIME_BLANK="90"
    config_BATTERY_TIME_SLEEP="999999999"

this makes things work identically when on battery or wall power,
and tells the laptop not to go to sleep for about 30 years.

after making the config changes, run "powerd-config =reconfig". 
(oh -- in your somewhat older version, you may need to do this
manually, with "echo reconfig >/var/run/powerevents", or simply
reboot.)

 > 
 > In my particular situation, I usually just make sure the XS on XO is booted
 > up and online, then ssh in from another machine.  So the ability to turn the
 > backlight off at will would be great.
 > 
 > When I have a screen at all, that is.  I've been messing around with "XS on
 > XO" on a couple of XOs that have been stripped for parts cause of one issue
 > or another.  But that's another story.

removing the backlight LED is certainly an effective way of
reducing the brightness.  :-)

paul
=---------------------
 paul fox, pgf at laptop.org


More information about the Server-devel mailing list