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 03-28-2022, 05:16 AM   #1
iamagloworm
Connoisseur
iamagloworm began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Apr 2013
Device: Kindle Paperwhite 3 (Manga)
Question Set correct timezone in Kindle linux?

Hello.

I have my Kindle PW3 on 5.13.3. Specifically, I wanted to make sue of the Literary Clock project.

It is relatively simple and working as expected, except that the time is two hours behind.

I am in CEST (Central European Summer Time) and have set my Kindle in the GUI to the correct time.

The problem is the Linux system thinks I am in EEST and I cannot figure out how to change it.

Code:
[root@kindle system]# date; date -u; hwclock -r
Mon Mar 28 11:09:34 EEST 2022
Mon Mar 28 09:09:34 UTC 2022
Mon Mar 28 09:09:35 2022  0.000000 seconds
Can anyone advise me on how to set the correct TZ? Thanks!

Code:
[root@kindle system]# uname -a
Linux kindle 3.0.35-lab126 #2 PREEMPT Fri Sep 25 23:12:57 UTC 2020 armv7l GNU/Linux
iamagloworm is offline   Reply With Quote
Old 03-28-2022, 12:27 PM   #2
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
There's a settz script that takes... some kind of weird data as input (IIRC, it's the delta to UTC in minutes or something), check it out .

In the same vein, prefer setdate to doing stuff manually, as it'll update the UI properly (and that one takes an UTC epoch as input).
NiLuJe is offline   Reply With Quote
Advert
Old 03-28-2022, 04:00 PM   #3
iamagloworm
Connoisseur
iamagloworm began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Apr 2013
Device: Kindle Paperwhite 3 (Manga)
Interesting, thanks. Though I am not sure what I should do with this now as it looks correct?

Code:
[root@kindle timelit]# settz
+0200
Code:
[root@kindle timelit]# setdate
sh: 1590969600: unknown operand
system: E setdate:badchange:old=1648497538,new=,delta=-1648497538:
iamagloworm is offline   Reply With Quote
Old 03-28-2022, 06:43 PM   #4
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
I don't see any kind of valid input being sent to either of those ;p.
NiLuJe is offline   Reply With Quote
Old 03-29-2022, 08:35 AM   #5
shamanNS
Wizard
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 1,114
Karma: 12345678
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
settade doesn't set / fix correct timezone.
There is tzselect but Kindle firmware is missing needed files in /usr/share/zoneinfo.

Using @knc1's KUAL extension results in date command output showing "AMZ" as timezone.
shamanNS is offline   Reply With Quote
Advert
Old 03-29-2022, 05:19 PM   #6
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
settz leaving stuff in a custom-ish timezone does sound familiar, yeah .

(You can just push your own timezone file from a *nix system to the device, though).
NiLuJe is offline   Reply With Quote
Old 03-30-2022, 12:40 AM   #7
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,506
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
When I had my PW3 on hand, I did replace the /var/local/system/tz file, it is for time zones. I replaced it with the same one from Ubuntu to have proper Dst switch.
mergen3107 is offline   Reply With Quote
Reply

Tags
linux, timezone


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Timezone to UTC-7 Mellobob Kobo Reader 6 11-23-2015 07:21 PM
Set Kindle3 Timezone *WITHOUT* Whispernet??? Hyperinflation Amazon Kindle 3 03-29-2015 10:21 PM
Correct Time - UK Timezone nila Barnes & Noble NOOK 3 09-25-2012 01:55 PM
Set time on Kindle keyboard with usbnetworking and linux terminal bibiboo Kindle Developer's Corner 6 11-21-2011 02:11 AM
iLiad Set Timezone on your iLiad scotty1024 iRex Developer's Corner 14 05-19-2007 02:59 AM


All times are GMT -4. The time now is 07:01 PM.


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