²óÏ©¿Þ |
pi@raspberrypi:~ $ dmesg | grep -i ds1307 [ 15.326130] rtc-ds1307 1-0068: rtc core: registered ds1307 as rtc0 [ 15.326196] rtc-ds1307 1-0068: 56 bytes nvram [ 15.332385] i2c i2c-1: new_device: Instantiated device ds1307 at 0x68
pi@raspberrypi:~ $ sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
pi@raspberrypi:~ $ sudo hwclock hwclock: Timed out waiting for time change. hwclock: The Hardware Clock registers contain values that are either invalid (e.g. 50th day of month) or beyond the range we can handle (e.g. Year 2095).
pi@raspberrypi:~ $ timedatectl status Local time: Fri 2016-09-23 22:54:24 JST Universal time: Fri 2016-09-23 13:54:24 UTC RTC time: Sat 2000-01-01 00:00:00 Time zone: Asia/Tokyo (JST, +0900) NTP enabled: no NTP synchronized: no RTC in local TZ: no DST active: n/a
¤³¤Î»þÅÀ¤Ç¤Ï¡¢¡ÖRTC¡×¤¬2000ǯ¤Î¤Þ¤Þ¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£