04-06-2023, 12:01 PM | #1 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Jan 2023
Device: kindle 4 D01100
|
K4 time zone
Hi. I've used a K4 to make the literary clock project. Worked nicely for ages, until the UK moved from Greenwich Mean Time to British Summer Time. The kindle hasn't changed time zone, it would appear. It's an hour behind. Not the literary clock project, but the device itself. It doesn't seem to update as per network time once on wifi, either.
Any ideas?! Thanks, Matt |
04-06-2023, 12:04 PM | #2 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
If you care about the native UI, there's a slightly obtuse `settz` script you can use.
If you don't, it's a Linux system, just import a sane timezone file from any halway recent Linux system in there (IIIRC, it's in the standard place; if not, dig around in /var/local) and fix the date. |
04-12-2023, 09:35 AM | #3 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Jan 2023
Device: kindle 4 D01100
|
Thanks for the steer.
The date command shows the kindle is in UTC zone, but I'm not getting much further. timedatectl does not work. I don't have a timezone file in the /etc directory. The file /etc/localtime links to /var/local/system/tz but I can't find that file when I cd to that directory. There is a last_time file in /etc/local/system but I don't seem to be able to do much with it. Code:
[root@kindle system]# ls -l last_time ---x--xr-T 1 root root 8 Feb 16 11:28 last_time Thanks again. |
04-12-2023, 01:04 PM | #4 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Nor should it, that's a systemd special, IIRC . Well, you kinda answered your own question there . Just import the right tzdata file from a Linux system in place of that missing varlocal one. |
04-17-2023, 02:04 PM | #5 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Jan 2023
Device: kindle 4 D01100
|
Thanks for the tip. I created the tz file and put Europe/London in it. A cat of the /etc/localtime link produces that. Still can't get the kindle to jump forward to British Summer Time, though.
Also tried recreating the symlink to /var/local/system/Europe/London but that didn't work. Only command I can get to work is the date command, which shows UTC. timedatectl does not work. Also no /usr/share/zoneinfo directory, which a lot of guides point to. I'm away for a few weeks now. Will get back on it when I'm back. Thanks for the help. |
06-07-2023, 03:07 PM | #6 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Jan 2023
Device: kindle 4 D01100
|
Finally solved this.
The /etc/localtime sym linked to a file that didn't exist. I scp'd the Europe/London file from my ubuntu laptop over to the kindle and recreated the sym link. |
05-10-2024, 11:40 AM | #7 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2024
Device: Kindle 4 NT
|
Quote:
Moving a file like Code:
/usr/share/zoneinfo/Europe/London Code:
/var/local/system/tz Symlinking the Code:
/etc/localtime Code:
ln -s /London /etc/localtime |
|
10-22-2024, 07:07 PM | #8 |
Wizard
Posts: 1,323
Karma: 4740000
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@qadzek
Thank you very much for /etc/localtime ! Worked charms on Kindle Scribe. “date” command picks it up happily I copied sane /usr/share/zoneinfo from Ubuntu MATE distro. I also made copies localtime_XX, localtime_YY in /etc/, so I can quickly switch by renaming them. What didn’t work for me (and I would discourage anyone to do so because messing with upstart can be deadly), adding this to /etc/upstart/env export TZ=‘America/New_York’ Funnily enough, if I did this via ssh terminal, then it would apply and “date” command picks it up. But now when it is in the upstart (I checked all other exports that env does, they went in). |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"date" reports correct time zone and time; UI reports a time several hours off | Synthead | Kindle Developer's Corner | 17 | 01-05-2015 05:10 AM |
PRS-950 A question about time zone | Goondu | Sony Reader | 3 | 02-08-2011 11:20 AM |
Troubleshooting Time zone - can this be changed? | allenlux | Amazon Kindle | 9 | 08-09-2010 09:08 AM |
Forum time zone? | jonnickell | enTourage Archive | 3 | 05-17-2010 04:30 PM |
time zone? | tulsa | Feedback | 9 | 03-21-2010 01:59 AM |