7,166
edits
Line 233: | Line 233: | ||
[ 11.054531] rtc-ds1307 1-0068: rtc core: registered ds1307 as rtc0 | [ 11.054531] rtc-ds1307 1-0068: rtc core: registered ds1307 as rtc0 | ||
[ 11.054577] rtc-ds1307 1-0068: 56 bytes nvram | [ 11.054577] rtc-ds1307 1-0068: 56 bytes nvram | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="text" enclose="div"> | |||
pi@raspberrypi:~ $ sudo hwclock -D -r | |||
hwclock from util-linux 2.25.2 | |||
Using the /dev interface to the clock. | |||
Last drift adjustment done at 1502281575 seconds after 1969 | |||
Last calibration done at 1502281575 seconds after 1969 | |||
Hardware clock is on UTC time | |||
Assuming hardware clock is kept in UTC time. | |||
Waiting for clock tick... | |||
/dev/rtc does not have interrupt functions. Waiting in loop for time from /dev/rtc to change | |||
...got clock tick | |||
Time read from Hardware Clock: 2017/08/10 00:33:36 | |||
Hw clock time : 2017/08/10 00:33:36 = 1502325216 seconds since 1969 | |||
Thu 10 Aug 2017 09:33:36 JST -0.290283 seconds | |||
</syntaxhighlight> | </syntaxhighlight> |