2012-05-30 06:07:14 +08:00
|
|
|
What: /sys/class/backlight/<backlight>/als_channel
|
|
|
|
Date: May 2012
|
|
|
|
KernelVersion: 3.5
|
|
|
|
Contact: Johan Hovold <jhovold@gmail.com>
|
|
|
|
Description:
|
|
|
|
Get the ALS output channel used as input in
|
2019-06-14 10:04:10 +08:00
|
|
|
ALS-current-control mode (0, 1), where:
|
2012-05-30 06:07:14 +08:00
|
|
|
|
|
|
|
0 - out_current0 (backlight 0)
|
|
|
|
1 - out_current1 (backlight 1)
|
|
|
|
|
|
|
|
What: /sys/class/backlight/<backlight>/als_en
|
|
|
|
Date: May 2012
|
|
|
|
KernelVersion: 3.5
|
|
|
|
Contact: Johan Hovold <jhovold@gmail.com>
|
|
|
|
Description:
|
|
|
|
Enable ALS-current-control mode (0, 1).
|
|
|
|
|
|
|
|
What: /sys/class/backlight/<backlight>/id
|
|
|
|
Date: April 2012
|
|
|
|
KernelVersion: 3.5
|
|
|
|
Contact: Johan Hovold <jhovold@gmail.com>
|
|
|
|
Description:
|
|
|
|
Get the id of this backlight (0, 1).
|
|
|
|
|
|
|
|
What: /sys/class/backlight/<backlight>/linear
|
|
|
|
Date: April 2012
|
|
|
|
KernelVersion: 3.5
|
|
|
|
Contact: Johan Hovold <jhovold@gmail.com>
|
|
|
|
Description:
|
2019-06-14 10:04:10 +08:00
|
|
|
Set the brightness-mapping mode (0, 1), where:
|
2012-05-30 06:07:14 +08:00
|
|
|
|
|
|
|
0 - exponential mode
|
|
|
|
1 - linear mode
|
|
|
|
|
|
|
|
What: /sys/class/backlight/<backlight>/pwm
|
|
|
|
Date: April 2012
|
|
|
|
KernelVersion: 3.5
|
|
|
|
Contact: Johan Hovold <jhovold@gmail.com>
|
|
|
|
Description:
|
2019-06-14 10:04:10 +08:00
|
|
|
Set the PWM-input control mask (5 bits), where:
|
2012-05-30 06:07:14 +08:00
|
|
|
|
|
|
|
bit 5 - PWM-input enabled in Zone 4
|
|
|
|
bit 4 - PWM-input enabled in Zone 3
|
|
|
|
bit 3 - PWM-input enabled in Zone 2
|
|
|
|
bit 2 - PWM-input enabled in Zone 1
|
|
|
|
bit 1 - PWM-input enabled in Zone 0
|
|
|
|
bit 0 - PWM-input enabled
|