View Single Post
Old 03-30-2016, 12:33 PM   #48
Yourcat
Groupie
Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.Yourcat knows the way to San Jose.
 
Posts: 175
Karma: 54048
Join Date: Mar 2016
Device: PW3 5.6.5-usbnet
"echo -n 0 >/sys/class/backlight/max77696-bl/brightness" works for me.

My PW3 is quite new and I poked around a little bit. In case anyone is interested - maybe the wiki would be the better place so please forgive me as I'm new here - here is my small frontlight documentation for PW3:
# `devcap-get-feature -a frontlight` # returns 1 if there is a frontlight
# `lipc-get-prop com.lab126.powerd flIntensity` # returns intensity 0-24, 25 (MAX)
# `cat /sys/class/backlight/max77696-bl/brightness` # returns brightness 0, 1 (0), 2 (1), 3 (2), 4 (3), 6 (4), 14 (5), ... (...), 2531 (22), 2893 (23), 3280 (24), 4095 (MAX)
# `echo -n 0 >/sys/class/backlight/max77696-bl/brightness` # turn frontlight off completely
# `lipc-set-prop com.lab126.powerd flIntensity 0` (values 0-25) turn frontlight on, set intensity to 0-24 (brightness 1-4095)
Yourcat is offline   Reply With Quote