View Single Post
Old 11-28-2013, 06:55 PM   #149
joblack
Wizard
joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.joblack ought to be getting tired of karma fortunes by now.
 
Posts: 1,746
Karma: 4382688
Join Date: Jul 2006
Location: Somewhere on earth
Device: Onyx Boox Tab X
Quote:
Originally Posted by knc1 View Post
It will be under /sys/devices and/or /sys/platform

Watch out for using find in /sys sub-tree - - lots of recursive links there.

Start just by eyeballing the directories and contents from the above starting places - it will be named something similar.
Got it. I changed the FL variable in all two scripts to

/sys/class/backlight/max77696-bl/brightness

then it seems to work.

I don't have the time right now to adjust the script so it will work on both Paperwhite versions but shouldn't be a big deal (e.g. check if the first file exist (then it's a Paperwhite 1) if not check for the brightness file (then it's a Paperwhite 2) - in all other cases it's not a Paperwhite at all)

Last edited by joblack; 11-28-2013 at 06:58 PM.
joblack is offline   Reply With Quote