View Single Post
Old 03-30-2016, 02:56 PM   #49
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Yourcat View Post
"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)
A nice little bit of research there, thanks a lot!
knc1 is offline   Reply With Quote