Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2016, 06:23 PM   #46
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 encol View Post
another difference: "echo" method switches completely off the light, "lipc" method does not: in a dark room you can see the difference!
Probably the all too common "off by one" programing error.
knc1 is offline   Reply With Quote
Old 06-17-2016, 06:36 PM   #47
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
Probably the all too common "off by one" programing error.
Ah yes, the classic "Obi-Wan" error.

I tried telling it to set the frontlight brightness to "-1", but no jailbreak resulted from that. Just an error message.

I did not have a room dark enough for visual testing at the time I posted this discovery. It looked "off" to me, and besides, after setting it to zero with lipc-set-prop, reading it back with lipc-get-prop showed that it was indeed zero. Why would kindle software lie to us?

Though it makes sense that its behavior mimics the brightness slider, which is probably just a GUI layer over this very same lipc command.

Whereas the corresponding /sys file is a kernel driver interface, which gives us a closer connection to "bare metal" reality and a greater degree of control (where zero is indeed off, and 999 is max brightness).

Last edited by geekmaster; 06-17-2016 at 09:42 PM.
geekmaster is offline   Reply With Quote
Advert
Old 06-17-2016, 06:41 PM   #48
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Quote:
Originally Posted by knc1 View Post
Probably the all too common "off by one" programing error.
I don't think it's a programming error: also in the front light slider of the UI there is the same behavior
Even setting to zero a bit of light still remains, maybe it's something wanted
encol is offline   Reply With Quote
Old 06-17-2016, 07:29 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
And perhaps the author has never heard of math.floor().
knc1 is offline   Reply With Quote
Old 06-17-2016, 09:26 PM   #50
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Reading it back again (form the actual sysfs entry, not lipc) shows that it actually sets it to 1 when asking lipc for 0.

(IIRC, since the issue came up a while ago in KOReader).

TL;DR: lipc indeed doesn't shut it off completely, for some strange/stupid reason.
NiLuJe is offline   Reply With Quote
Advert
Old 06-17-2016, 09:43 PM   #51
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by NiLuJe View Post
Reading it back again (form the actual sysfs entry, not lipc) shows that it actually sets it to 1 when asking lipc for 0.

(IIRC, since the issue came up a while ago in KOReader).

TL;DR: lipc indeed doesn't shut it off completely, for some strange/stupid reason.
Yeah, lipc just "pushes the slider" from a script. I like the /sys interface "more better".
geekmaster is offline   Reply With Quote
Old 06-18-2016, 12:52 PM   #52
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
lipc sets the intensity to 0 which does not mean that the brightness must also be 0. Actually there are only 26 intensity values.
If it is really dark one may be happy that the brightness is not set to 0. Otherwise one would see nothing. Not stupid imho.
It's annoying that there's no sunlight button which switches it off completely.
Yourcat is offline   Reply With Quote
Old 06-18-2016, 01:27 PM   #53
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by Yourcat View Post
It's annoying that there's no sunlight button which switches it off completely.
I posted a link to my KUAL extension that DOES turn the backlight off COMPLETELY. I suppose I could rename the "turn backlight off" button to a "sunlight" button, but could be confusing (like how "airplane mode" is less clear than "radio off" was in older firmware).
geekmaster is offline   Reply With Quote
Old 06-18-2016, 04:01 PM   #54
zes
Junior Member
zes began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2016
Device: Kindle Voyage
Quote:
Originally Posted by geekmaster View Post
I tested it on my PW2 and my PW3, in a very dark room, and it does indeed turn the frontlight completely off (when that option is selected). It also provides options for minimum brightness (1), medium brightness (500) , and maximum brightness (999).
Works with Kindle Voyage (5.6.5), too, thanks! Felt like a waste having the light on in scenarios when I'm reading in bright direct sunshine.
zes is offline   Reply With Quote
Old 06-18-2016, 04:15 PM   #55
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by zes View Post
Works with Kindle Voyage (5.6.5), too, thanks! Felt like a waste having the light on in scenarios when I'm reading in bright direct sunshine.
If you turn on the Voyage's light sensor, it turns the frontlight off (or at least sets it to its lowest level) in bright light.
HarryT is offline   Reply With Quote
Old 06-18-2016, 04:29 PM   #56
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
It has been confirmed that my KUAL extension turns off the backlight completely on a KV as well, for people who care about that sort of thing.
geekmaster is offline   Reply With Quote
Old 06-19-2016, 03:55 PM   #57
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by Cinisajoy View Post
Question: Is this just electric stoves or gas stoves too?
Interesting discussion on radiation. Thanks for the information.
It is anything that emits photons (including electric and gas stoves), with the exception of out-of-phase coupled photos emitted from an EM-drive engine (non-EM in that state, when they pass invisibly through metal, providing the impetus required by Newton's third law). All photons are "electromagnetic", and streams or waves of them correspond to broadband or narrow-band radio transmissions. Anything at a temperature above absolute zero emits photons, with a frequency (and energy) determined by temperature. Sometimes the emitted frequencies are in the range visible to the human eye (including a campfire, at such a high amplitude you can feel it on your skin -- especially noticeable if you take your glasses off while sitting near a campfire).

Wifi is broadband (but much less so than sunlight). Individual photons of high enough energy/frequency (ionizing radiation such as shortwave ultraviolet, or x-ray) can damage DNA (e.g. sunburn). But what we call radio (including wifi and 3G) are way low in the non-ionizing spectrum, and cause no such physical damage. However, some anecdotal evidence studies suggest that continuous exposure to certain EM frequencies (such as under 50/60-Hz high-tension powerlines) affect plant growth (increase it) and may also alter or stimulate unwanted biological activity in mammals due to resonating molecules of corresponding size. Such things are more pseudoscience than science, until proven otherwise, but not necessarily impossible.

However, taking it all into perspective, yeah, sunlight. Essential to terrestrial life (but not hydrothermal life). But bathing in sunlight requires sunscreen and/or temporal moderation. I think we are safe with wifi (which uses a frequency that merely causes heating, the same frequency as microwave ovens, but at a drastically reduced power level).

Last edited by geekmaster; 06-19-2016 at 04:03 PM.
geekmaster is offline   Reply With Quote
Old 06-19-2016, 04:25 PM   #58
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
Wifi - probably too low a power, even in the 'near field' zone.

Cell phones (and 3G Kindles) transmit a peak of 4 watts (when on - they are a pulse transmission).
The stories about those devices that get publicized do not consider 'near field' effects.

As a rule of thumb, consider "near field" less than 10 wavelengths for this post.

The peak power pattern(s) in 'near field' radiation is extremely difficult to compute.
(Well, when I was in school, it was considered impossible, but time passes, etc. ...)

So holding an antenna radiating 4 watts peak less than two wave lengths from your brain should not become a habit.
Although it has for millions of people.
I guess all we can do is wait a few generations and count the number of brain fried individuals in the general population.

"near field" :: http://www.antenna-theory.com/basics/fieldRegions.php
knc1 is offline   Reply With Quote
Old 06-19-2016, 05:22 PM   #59
Cinisajoy
Just a Yellow Smiley.
Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.Cinisajoy ought to be getting tired of karma fortunes by now.
 
Cinisajoy's Avatar
 
Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
Sent you an email geekmaster.
On your power line/plant theory.
Cinisajoy is offline   Reply With Quote
Old 06-19-2016, 05:34 PM   #60
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by Cinisajoy View Post
Sent you an email geekmaster.
On your power line/plant theory.
I answered you back on your "coincidental placement" (i.e. utility right-of-way) theory.
geekmaster is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW3 - First Look knc1 Kindle Developer's Corner 23 02-03-2018 05:54 PM
Want to turn off backlight with JB – PW3 or Voyage? Annor Kindle Developer's Corner 53 08-19-2016 04:39 AM
DR800 is there a quick way to turn on the led ? repods iRex Developer's Corner 4 03-23-2011 06:50 PM
DR1000 Can we turn off the top led? bokjeid iRex 0 10-20-2010 09:44 AM


All times are GMT -4. The time now is 01:34 AM.


MobileRead.com is a privately owned, operated and funded community.