PINE64
PBP Displayed Clock-Calendar Drops Hour Setting On Reboot. - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Pinebook Pro Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=116)
+--- Thread: PBP Displayed Clock-Calendar Drops Hour Setting On Reboot. (/showthread.php?tid=8587)

Pages: 1 2


RE: PBP Displayed Clock-Calendar Drops Hour Setting On Reboot. - inkslinger - 01-16-2020

I'm also experiencing this. Default OS with the MrFixit and latest Debian updates installed. Clock holds the minutes correctly but always resets to 02xx (where xx = the correct minutes) upon reboot.


RE: PBP Displayed Clock-Calendar Drops Hour Setting On Reboot. - jackhumbert - 01-22-2020

I was able to fix this in the default image by setting the timezone in the command line:

Code:
timedatectl set-timezone Zone/SubZone


You can list all of them:

Code:
timedatectl list-timezones
 
and just check it:

Code:
timedatectl

My /etc/adjtime was correct (adjusted via the GUI in the date options), but this command was still showing the UTC as my timezone. After a couple of reboots, it seems to be holding, and /etc/localtime is correct as well (I'm not sure what it was before).


RE: PBP Displayed Clock-Calendar Drops Hour Setting On Reboot. - icecream95 - 01-22-2020

(12-18-2019, 05:04 PM)xalius Wrote: Reading hardware clock from RK808 should work on the Debian images with BSP kernel, on the Manjaro image with mainline, hwclock currently can't read the time from the RK808, there is a bug somewhere...

It looks like that's a device tree issue.

From https://lkml.org/lkml/2020/1/21/551:

Code:
> +    rk808: pmic@1b {
> +        compatible = "rockchip,rk808";
> +        reg = <0x1b>;
> +        interrupt-parent = <&gpio1>;
> +        interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
Interrupt GPIO is not correct, should be 10. This will stop the RTC from
working correctly.



RE: PBP Displayed Clock-Calendar Drops Hour Setting On Reboot. - crocky - 01-23-2020

(01-22-2020, 10:16 AM)jackhumbert Wrote: I was able to fix this in the default image by setting the timezone in the command line:

Code:
timedatectl set-timezone Zone/SubZone


You can list all of them:

Code:
timedatectl list-timezones
 
and just check it:

Code:
timedatectl

My /etc/adjtime was correct (adjusted via the GUI in the date options), but this command was still showing the UTC as my timezone. After a couple of reboots, it seems to be holding, and /etc/localtime is correct as well (I'm not sure what it was before).

Thanks Jack... Worked very well, was always going back to GMT!


RE: PBP Displayed Clock-Calendar Drops Hour Setting On Reboot. - inkslinger - 01-23-2020

I found a solution here: https://haydenjames.io/pinebook-pro-my-first-impressions-and-setup-tips/

Set your timezone (either in command line or GUI) then run the following (either as root or use sudo):


Code:
dpkg-reconfigure tzdata


You may need to reboot after running the command and setting the correct time.


RE: PBP Displayed Clock-Calendar Drops Hour Setting On Reboot. - MIchael - 01-23-2020

Thanks for the hot to @jackhumbert . It worked great.