chiark / gitweb /
update SUSE rules
authorKay Sievers <kay.sievers@suse.de>
Tue, 25 Apr 2006 20:31:09 +0000 (22:31 +0200)
committerKay Sievers <kay.sievers@suse.de>
Tue, 25 Apr 2006 20:31:09 +0000 (22:31 +0200)
etc/udev/suse/40-alsa.rules
etc/udev/suse/50-udev-default.rules
etc/udev/suse/60-persistent-storage.rules

index 79888dd..684411e 100644 (file)
@@ -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
index 22000ba..920d470 100644 (file)
@@ -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"
index 5f4e6b5..bba529a 100644 (file)
@@ -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"