summaryrefslogtreecommitdiff
path: root/rules/50-udev-default.rules
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-07-06 23:02:06 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-07-06 23:02:06 -0400
commit8b06a435cc597d9b1e3c9c38954dbd686ad94095 (patch)
tree7b5b026649541f1778fe90dc50132b424903f98d /rules/50-udev-default.rules
parent1c88925eee79b6f2094f3a5434bc237b3f3b7f13 (diff)
rules: updates from 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.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
index 4a8b8a9f6c..a53d738377 100644
--- a/rules/50-udev-default.rules
+++ b/rules/50-udev-default.rules
@@ -3,10 +3,11 @@
# 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"
+SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
+
# select "system RTC" or just use the first one
SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc"
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"