iTOP-iMX6 boards - the device tree kernel - Screen backlight brightness adjustment

This document describes iTOP-iMX6 tree kernel development board equipment, non android screen backlight adjustment system.
After the file system boot can be achieved through the console command to adjust the backlight.
Backlight sys directory "/ sys / devices / soc0 / pwm-backlight / backlight / pwm-backlight /"
shown below, into the "CD / sys / Devices / SOC0 / PWM-Backlight / Backlight / PWM-
Backlight /" table of Contents.

As shown below using the command "cat max_brightness" you can query the maximum backlight.

As shown below using the command "cat actual_brightness" can get the current value.

Close the screen backlight, the minimum value 0: echo 0> brightness
so that the maximum screen brightness 94: echo 94> brightness
intermediate value: echo 50> brightness

Screen backlight brightness by modifying the value file, to modify screen brightness, the maximum is 94. Specific values, the user can
make changes according to their needs.

Guess you like

Origin www.cnblogs.com/mingyue77/p/11411019.html