summaryrefslogtreecommitdiff
path: root/rules/50-udev-default.rules
diff options
context:
space:
mode:
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"