[Sugar-devel] automatic backlight control

Paul Fox pgf at laptop.org
Mon Nov 21 11:32:20 EST 2011

walter wrote:
 > Paul,
 > Unless the display design is different than it was in 2007, then there
 > is no way to decouple turning off the backlight and going into
 > monochrome. Also, turning on the backlight adds color back (although
 > the amount of color vs monochrome in the mix is a function of the
 > backlight vs ambient-light levels. So I am not sure we could implement
 > your proposal with the current hardware.

i guess it's changed since 2007 -- at least, it's been this way since
2008.  try the following, at any brightness level:

    while sleep 1
	echo $(( i = ! i )) > /sys/devices/platform/dcon/monochrome

 paul fox, pgf at laptop.org

More information about the Devel mailing list