summaryrefslogtreecommitdiff
path: root/etc/udev/suse
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-04-25 22:31:09 +0200
committerKay Sievers <kay.sievers@suse.de>2006-04-25 22:31:09 +0200
commitcdb5ecb8cf77f2a831022d14b1dcdaae2432c862 (patch)
treeb66ea04a4009b6e89a304d06cad5ec1a15fdb620 /etc/udev/suse
parent90cd961e2cb660b6c3ed9c9a33e8878f8aaa163c (diff)
update SUSE rules
Diffstat (limited to 'etc/udev/suse')
-rw-r--r--etc/udev/suse/40-alsa.rules5
-rw-r--r--etc/udev/suse/50-udev-default.rules8
-rw-r--r--etc/udev/suse/60-persistent-storage.rules2
3 files changed, 9 insertions, 6 deletions
diff --git a/etc/udev/suse/40-alsa.rules b/etc/udev/suse/40-alsa.rules
index 79888dd3be..684411efcf 100644
--- a/etc/udev/suse/40-alsa.rules
+++ b/etc/udev/suse/40-alsa.rules
@@ -1,5 +1,5 @@
-SUBSYSTEM="sound", GROUP="audio"
-SUBSYSTEM="snd", GROUP="audio"
+SUBSYSTEM=="sound", GROUP="audio"
+SUBSYSTEM=="snd", GROUP="audio"
KERNEL=="controlC[0-9]*", NAME="snd/%k"
KERNEL=="hwC[D0-9]*", NAME="snd/%k"
KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k"
@@ -14,3 +14,4 @@ SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8005/*", RUN+="/sbin/startp
SUBSYSTEM=="sound", KERNEL=="controlC?", RUN+="/usr/sbin/alsactl -F restore %n"
SUBSYSTEM=="sound", KERNEL=="hwC?D2", DRIVER=="EMU10K1_Audigy", RUN+="/etc/alsa.d/udev-soundfont"
+0 \ No newline at end of file
diff --git a/etc/udev/suse/50-udev-default.rules b/etc/udev/suse/50-udev-default.rules
index 22000ba3c0..920d4706fd 100644
--- a/etc/udev/suse/50-udev-default.rules
+++ b/etc/udev/suse/50-udev-default.rules
@@ -17,6 +17,7 @@ KERNEL=="hvc*", NAME="%k", GROUP="uucp"
KERNEL=="hvsi*", NAME="%k", GROUP="uucp"
KERNEL=="iseries/vtty*", NAME="%k", GROUP="uucp"
KERNEL=="ttyUSB*", SYSFS{product}=="[Pp]alm*Handheld*", SYMLINK+="pilot"
+KERNEL=="ttyUSB*", SYSFS{product}=="[Hh]andspring*Treo*|[Hh]andspring*Visor*", SYMLINK+="pilot"
# video/graphics
SUBSYSTEM=="video4linux", GROUP="video"
@@ -112,8 +113,8 @@ SUBSYSTEM=="block", GROUP="disk", MODE="0640"
# sd: 0 TYPE_DISK, 7 TYPE_MOD, 14 TYPE_RBC
# sr: 4 TYPE_WORM, 5 TYPE_ROM
# st/osst: 1 TYPE_TAPE
-ACTION=="add", SUBSYSTEM="scsi" , SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 60 > /sys$$DEVPATH/timeout'"
-ACTION=="add", SUBSYSTEM="scsi" , SYSFS{type}=="1", RUN+="/bin/sh -c 'echo 900 > /sys$$DEVPATH/timeout'"
+ACTION=="add", SUBSYSTEM=="scsi" , SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 60 > /sys$$DEVPATH/timeout'"
+ACTION=="add", SUBSYSTEM=="scsi" , SYSFS{type}=="1", RUN+="/bin/sh -c 'echo 900 > /sys$$DEVPATH/timeout'"
SUBSYSTEM=="scsi_device", ACTION=="add", SYSFS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod"
SUBSYSTEM=="scsi_device", ACTION=="add", SYSFS{type}=="1", SYSFS{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst"
SUBSYSTEM=="scsi_device", ACTION=="add", SYSFS{type}=="1", RUN+="/sbin/modprobe st"
@@ -140,7 +141,8 @@ KERNEL=="pt*", NAME="%k", GROUP="disk"
KERNEL=="npt*", NAME="%k", GROUP="disk"
KERNEL=="pg*", NAME="%k", GROUP="disk"
KERNEL=="evms/block_device*", NAME="%k", GROUP="disk"
-KERNEL=="rawctl*", NAME="%k", GROUP="disk"
+KERNEL=="rawctl*", NAME="raw/%k", GROUP="disk"
+KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk"
KERNEL=="osst*", NAME="%k", GROUP="disk"
KERNEL=="nosst*", NAME="%k", GROUP="disk"
KERNEL=="iseries/vt*", NAME="%k", GROUP="disk"
diff --git a/etc/udev/suse/60-persistent-storage.rules b/etc/udev/suse/60-persistent-storage.rules
index 5f4e6b5f35..bba529aab7 100644
--- a/etc/udev/suse/60-persistent-storage.rules
+++ b/etc/udev/suse/60-persistent-storage.rules
@@ -45,6 +45,6 @@ KERNEL=="*[!0-9]", IMPORT{program}="/sbin/edd_id --export $tempnode"
KERNEL=="*[!0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}"
KERNEL=="*[0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n"
-KERNEL=="dm-[0-9]*", ACTION=="add", PROGRAM="/sbin/dmsetup info -c --noopencount --noheadings -o name -j %M -m %m", SYMLINK="disk/by-name/%c"
+KERNEL=="dm-[0-9]*", ACTION=="add", PROGRAM="/sbin/dmsetup info -c --noopencount --noheadings -o name -j %M -m %m", SYMLINK+="disk/by-name/%c"
LABEL="persistent_storage_end"