diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2009-01-24 22:21:51 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2009-01-24 22:21:51 +0000 |
commit | c3e42a7c7fc0b57d3a227b116a71b424f914f0ad (patch) | |
tree | 8561b4d3b4587ee702e0e80561fb362c0aaa3c7e /sys-fs/udev/files | |
parent | Fix up longdescription in metadata. (diff) | |
download | gentoo-2-c3e42a7c7fc0b57d3a227b116a71b424f914f0ad.tar.gz gentoo-2-c3e42a7c7fc0b57d3a227b116a71b424f914f0ad.tar.bz2 gentoo-2-c3e42a7c7fc0b57d3a227b116a71b424f914f0ad.zip |
Rules update.
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'sys-fs/udev/files')
-rw-r--r-- | sys-fs/udev/files/udev-137-rules-update.diff | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sys-fs/udev/files/udev-137-rules-update.diff b/sys-fs/udev/files/udev-137-rules-update.diff new file mode 100644 index 000000000000..8e1a6d4a0d0b --- /dev/null +++ b/sys-fs/udev/files/udev-137-rules-update.diff @@ -0,0 +1,55 @@ +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 @@ + # do not edit this file, it will be overwritten on update + +-# capi devices +-KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" +-KERNEL=="capi*", NAME="capi/%n" +- + # old devfs path, removing this could break systems + # Bug 195839 + KERNEL=="md[0-9]*", SYMLINK+="md/%n" + KERNEL=="loop[0-9]*", SYMLINK+="loop/%n" + KERNEL=="ram[0-9]*", SYMLINK+="rd/%n" + ++# keep devices after unload ++KERNEL=="ppp", OPTIONS+="ignore_remove" ++KERNEL=="tun", OPTIONS+="ignore_remove" ++ +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 + +-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb", MODE="664" +- +-# cdrom devices +-ENV{ID_CDROM}=="?*", GROUP="cdrom", MODE="660" +-KERNEL=="pktcdvd|pktcdvd[0-9]*", GROUP="cdrom", MODE="660" +-# assign cdrom-permission also to associated generic device (for cd-burning ...) +-SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="[45]", GROUP="cdrom", MODE="660" +- +- +-# tape devices +-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 +-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" |