# Switching off the backlight on the console

I'm making use of an IBM Thinkpad X21 as a 3G router. It's running a server install of lucid. The laptop has the cover up a lot of the moment. There is no X, simply a simple console. The colsole spaces itself, yet the LCD backlight is constantly on.

The graphics chip is ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64).

The adhering to components connected to the framebuffer are currently filled:

\$ lsmod | grep fb
fbcon                  35102  71
tileblit                2031  1 fbcon
font                    7557  1 fbcon
bitblit                 4707  1 fbcon
vga16fb                11385  1
vgastate                8961  1 vga16fb


Can I make the LCD backlight switch off when the colsole is extra and also have it activate instantly when required?

0
2019-05-05 20:22:05
Source Share

You need to have the ability to make use of setterm to do this :

# turn power save on, blank after 10 mins, powerdown after 20mins
setterm -powersave on -blank 10 -powerdown 20

0
2019-05-08 10:37:43
Source

Not fairly as instantly as you could such as, still releasing the adhering to should certainly transform the illumination right down. More jabbing about in the/ sys tree could disclose various other corresponding actions to improve it :

sudo su -c 'echo "0" > /sys/devices/virtual/backlight/acpi_video0/brightness';


After that make use of the power switches on the key-board to get the illumination back up. Make certain to validate the accuracy of this line w.r.t. just how your/ sys tree looks.

0
2019-05-08 10:36:05
Source