chiark / gitweb /
rules: rtc - point /dev/rtc symlink to 'hctosys' device
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 21 Jan 2012 01:56:32 +0000 (02:56 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 21 Jan 2012 01:56:32 +0000 (02:56 +0100)
rules/rules.d/50-udev-default.rules

index 3744707..5ad787f 100644 (file)
@@ -99,7 +99,7 @@ KERNEL=="cpu[0-9]*", MODE="0444"
 
 KERNEL=="fuse", ACTION=="add", MODE="0666", OPTIONS+="static_node=fuse"
 
-SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc"
+SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc"
 KERNEL=="mmtimer", MODE="0644"
 KERNEL=="rflash[0-9]*", MODE="0400"
 KERNEL=="rrom[0-9]*", MODE="0400"