View Single Post
Old 01-11-2017, 09:15 AM   #46
polygonica
Junior Member
polygonica began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2017
Device: Kindle PW1 WiFi
Quote:
Originally Posted by violent23 View Post
Okay I have a PW1 and have tested this but I am having a little trouble with the auto control.

[...]

With these setting I am unable to achieve what I want with auto control as when I start auto control the backlight still stays on (on 0 but still on) when turning the device on. Am I doing something wrong, what are the settings I need to set so that my device turns on with no backlight but allows me to turn on the backlight once changing the slider setting past 1 and then back off once getting back to 1 or 0?
Quote:
Originally Posted by HollowayN7 View Post
Hate to resurrect this after five months, but I'm having the same trouble as violent23.

It won't turn the backlight completely off on the PW1
Quote:
Originally Posted by CalbertAmu View Post
Can anyone please help me?
I have a PW1 and experienced similar problems. The KUAL button to turn the backlight off worked, but auto-control didn't. I think I found the issue.

I messed around with the code and noticed that in frontlightmaster.sh, the block responsible for turning the light off (below "# if front light should be disabled but is not, turn it off now") was never running because "[ `cat $FRONTLIGHTDEVICE` -ne 0 ]" was never true. I removed that condition and auto-control began working fine.

So, for now, people with this issue should change

Quote:
if [ $REQUESTEDBRIGHTNESS -eq 0 ] && [ `cat $FRONTLIGHTDEVICE` -ne 0 ]; then
to

Quote:
if [ $REQUESTEDBRIGHTNESS -eq 0 ]; then

Last edited by polygonica; 01-11-2017 at 09:16 AM. Reason: shorter quotes
polygonica is offline   Reply With Quote