welcome: please sign in
location: ARMBox

Memos when dealing with ARM boxes

External RTC

To use the rtc1 as the default RTC device, set a udev rule like this:

   1 # /etc/udev/rules.d/99-rtc1.rules
   2 KERNEL=="rtc1", SUBSYSTEM=="rtc", DRIVER=="", ATTR{name}=="ds1307", SYMLINK="rtc", MODE="0666"

The key and values can be found by udevadm info -a -p /sys/class/rtc/rtc1.


1. How can the link target of /dev/rtc be changed?

ARMBox (last edited 2020-04-14 14:48:42 by AstroProfundis)

How many stars in your bowl, How many sorrows in your soul?
CopyRight © 2011-2021 Allen Zhong, under a CC BY-NC-ND 4.0 License.