# pacman -S dtc-overlay i2c-tools
# modprobe rtc-ds1307
# echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
# timedatectl
Local time: Mi 2016-01-06 17:27:04 CET Universal time: Mi 2016-01-06 16:27:04 UTC RTC time: Fr 2000-01-07 08:41:47 Time zone: Europe/Berlin (CET, +0100) Network time on: yes NTP synchronized: yes RTC in local TZ: no
# hwclock -w
# timedatectl
Local time: Mi 2016-01-06 17:27:40 CET Universal time: Mi 2016-01-06 16:27:40 UTC RTC time: Mi 2016-01-06 16:27:40 Time zone: Europe/Berlin (CET, +0100)tart Network time on: yes NTP synchronized: yes RTC in local TZ: no
# cat /proc/driver/rtc
rtc_time : 17:28:11 rtc_date : 2016-01-06 alrm_time : 00:00:00 alrm_date : 1970-01-01 alarm_IRQ : no alrm_pending : no update IRQ enabled : no periodic IRQ enabled : no periodic IRQ frequency : 1 max user IRQ frequency : 64 24hr : yes