diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-06-03 09:36:55 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-06-03 09:36:55 -0400 |
commit | 4be873f22e80972ea78ef26d3b2cb08f251b71f2 (patch) | |
tree | 75fb588ae13dee6a8a398ebf9425972523ab2e97 /rules/50-udev-default.rules | |
parent | d692ac406b00cfa13f4deb51b4b39b49986e8bf9 (diff) |
rules: bring some rules up to date with upstream
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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" |