MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Kindle Developer's Corner (https://www.mobileread.com/forums/forumdisplay.php?f=150)
-   -   Turn off PW light completely (https://www.mobileread.com/forums/showthread.php?t=197473)

gers1978 11-22-2012 01:35 PM

Turn off PW light completely
 
Even at the lowest setting (0), the light is on. Will there ever be a tweak/hack that allows it to be off completely?

twobob 11-22-2012 01:47 PM

Hmm. there is one IIRC. maybe GM knows

geekmaster 11-22-2012 02:51 PM

Quote:

Originally Posted by twobob (Post 2315042)
Hmm. there is one IIRC. maybe GM knows

Maybe? :eek:

How to control PW backlight brightness (including completely OFF):
https://www.mobileread.com/forums/sho....php?p=2252313

Quote:

Originally Posted by geekmaster (Post 2252313)
... Now let's try to turn [the backlight] COMPLETELY off:
[root@kindle /]# echo -n 0 > /sys/devices/system/fl_tps6116x/fl_tps6116x0/fl_intensity
Yes, it is completely off even while awake! ...


twobob 11-22-2012 04:31 PM

tee hee hee.

I should get as good odds on a horse.

NiLuJe 11-22-2012 08:47 PM

There's also a 'debug' command (;toggleLight, IIRC) ;).

EDIT: It simply calls
Code:

xtestlab126 -l

diba 12-07-2012 03:47 AM

So does this work? Just entering ";toggleLight" in the search bar?

twobob 12-08-2012 12:06 AM

allegedly so

eureka 12-08-2012 12:47 AM

Quote:

Originally Posted by NiLuJe (Post 2315416)
There's also a 'debug' command (;toggleLight, IIRC) ;).

EDIT: It simply calls
Code:

xtestlab126 -l

... which uses functions from /usr/lib/libfrontlight.so, which is somehow related to /dev/yoshime_fl.

(Just was curious.)

phuongxuanhieu 12-13-2012 01:29 AM

Quote:

Originally Posted by geekmaster (Post 2315100)
How to control PW backlight brightness (including completely OFF):
https://www.mobileread.com/forums/sho....php?p=2252313

Can you tell me step by step to do that?

geekmaster 12-13-2012 01:36 AM

Quote:

Originally Posted by phuongxuanhieu (Post 2339700)
Can you tell me step by step to do that?

If you click that link in your quote, you will see that it does a series of "step by step" experiments, showing how to read and write brightness values (including completely off) to the PW backlight.

Those steps cannot really be broken down into smaller steps. What more do you need? Your request has me a bit puzzled... :chinscratch:

You can do those commands from a shell script, or from an USB networking SSH command shell. They are just simple linux commands.

FF2 12-13-2012 04:09 PM

Quote:

Originally Posted by diba (Post 2332408)
So does this work? Just entering ";toggleLight" in the search bar?

This command gives me a Horizontal Slider where I can turn the light brightness Up or Down. I don't know if it turns it off completely.

ixtab 12-13-2012 04:59 PM

Quote:

Originally Posted by FF2 (Post 2340438)
This command gives me a Horizontal Slider where I can turn the light brightness Up or Down. I don't know if it turns it off completely.

Just tried it, and I confirm that it shows a horizontal version of the "light intensity" bar. Seems like it's pretty much the same as the "normal" one, except that it's horizontal and not as fancy. It won't allow you to turn the light off completely.

To really control it (including turning it off), use the commands that geekmaster posted in the other thread:

Code:

echo -n LEVEL > /sys/devices/system/fl_tps6116x/fl_tps6116x0/fl_intensity
where LEVEL is an integer between 0 and 254 (or 255?), and 0 means "light off". You have to run these commands from a command line, so install the usbnetwork package and access your device through that.

Sorry, but there is no "step-for-step tutorial" for using Linux command line tools - if you want to dive into it, you have to learn it the hard way, like everybody else here did.


All times are GMT -4. The time now is 04:44 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.