diff options
Diffstat (limited to 'rules/50-udev-default.rules')
-rw-r--r-- | rules/50-udev-default.rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules index 696b790935..4a8b8a9f6c 100644 --- a/rules/50-udev-default.rules +++ b/rules/50-udev-default.rules @@ -3,8 +3,10 @@ # Support for Linux 2.6.32, see https://bugs.gentoo.org/show_bug.cgi?id=457868 SUBSYSTEM=="mem", KERNEL=="null|zero|full|random|urandom", MODE="0666" +# select "system RTC" or just use the first one SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc" -SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}" +SUBSYSTEM=="rtc", KERNEL=="rtc0", SYMLINK+="rtc", OPTIONS+="link_priority=-100" +SUBSYSTEM=="rtc", ATTR{hctosys}=="1", MODE="0644" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb" SUBSYSTEM=="input", ENV{ID_INPUT}=="", IMPORT{builtin}="input_id" @@ -18,8 +20,6 @@ SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620" SUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty" KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout" -SUBSYSTEM=="rtc", ATTR{hctosys}=="1", MODE="0644" - SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640" SUBSYSTEM=="input", KERNEL=="mouse*|mice|event*", MODE="0640" |