summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/udev/files')
-rw-r--r--sys-fs/udev/files/udev-137-rules-update.diff42
1 files changed, 26 insertions, 16 deletions
diff --git a/sys-fs/udev/files/udev-137-rules-update.diff b/sys-fs/udev/files/udev-137-rules-update.diff
index 8e1a6d4a0d0b..7013e8f41bca 100644
--- a/sys-fs/udev/files/udev-137-rules-update.diff
+++ b/sys-fs/udev/files/udev-137-rules-update.diff
@@ -2,7 +2,7 @@ Index: udev-git/rules/gentoo/40-gentoo.rules
===================================================================
--- udev-git.orig/rules/gentoo/40-gentoo.rules
+++ udev-git/rules/gentoo/40-gentoo.rules
-@@ -1,12 +1,12 @@
+@@ -1,12 +1,25 @@
# do not edit this file, it will be overwritten on update
-# capi devices
@@ -15,17 +15,30 @@ Index: udev-git/rules/gentoo/40-gentoo.rules
KERNEL=="loop[0-9]*", SYMLINK+="loop/%n"
KERNEL=="ram[0-9]*", SYMLINK+="rd/%n"
-+# keep devices after unload
++# keep devices after driver unload
+KERNEL=="ppp", OPTIONS+="ignore_remove"
+KERNEL=="tun", OPTIONS+="ignore_remove"
+
++
++# setting permissions
++SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb"
++
++# dialout devices
++KERNEL=="ippp*|isdn*|dcbri*|rfcomm*|ttyACM[0-9]*|pilot", GROUP="uucp"
++
++# sound devices (oss)
++SUBSYSTEM=="snd", GROUP="audio"
++
++# Sony Vaio Jogdial sonypi device
++KERNEL=="sonypi", MODE="0666"
++
Index: udev-git/rules/gentoo/65-permissions.rules
===================================================================
--- udev-git.orig/rules/gentoo/65-permissions.rules
-+++ udev-git/rules/gentoo/65-permissions.rules
-@@ -1,25 +1,12 @@
- # do not edit this file, it will be overwritten on update
-
++++ /dev/null
+@@ -1,26 +0,0 @@
+-# do not edit this file, it will be overwritten on update
+-
-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb", MODE="664"
-
-# cdrom devices
@@ -39,17 +52,14 @@ Index: udev-git/rules/gentoo/65-permissions.rules
-KERNEL=="st[0-9]*|nst[0-9]*|ht[0-9]*|nht[0-9]*|pt[0-9]*|npt[0-9]*", \
- GROUP="tape", MODE="660"
-SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="[18]", GROUP="tape", MODE="660"
-+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb"
-
- # dialout devices
+-
+-# dialout devices
-KERNEL=="ippp*|isdn*|dcbri*|capi*|rfcomm*|ttyACM[0-9]*", GROUP="uucp"
-KERNEL=="pilot", GROUP="uucp"
-+KERNEL=="ippp*|isdn*|dcbri*|rfcomm*|ttyACM[0-9]*|pilot", GROUP="uucp"
-
+-
-# sound devices (sound=alsa, snd=oss)
-SUBSYSTEM=="sound|snd", GROUP="audio"
-+# sound devices (oss)
-+SUBSYSTEM=="snd", GROUP="audio"
-
- # Sony Vaio Jogdial sonypi device
- KERNEL=="sonypi", MODE="0666"
+-
+-# Sony Vaio Jogdial sonypi device
+-KERNEL=="sonypi", MODE="0666"
+-