Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Backlight

notro edited this page May 8, 2013 · 11 revisions

Some drivers use the fbtft backlight support to control backlight.

These drivers will have backlight power control exposed in the sysfs filesystem.

# Turn off backlight
echo "1" > /sys/class/backlight/<drivername>/bl_power

# Turn on backlight
echo "0" > /sys/class/backlight/<drivername>/bl_power

Brightness is currently not supported (need a kernel PWM driver for the Raspberry Pi).

Reference: http://www.mjmwired.net/kernel/Documentation/ABI/stable/sysfs-class-backlight

Note: The old fbtft way of controlling backlight was using fbtftops.blank()

piwik

Clone this wiki locally