r1484 - / trunk/udev

jim at linuxfromscratch.org jim at linuxfromscratch.org
Fri Apr 28 20:43:53 PDT 2006


Author: jim
Date: 2006-04-28 21:43:52 -0600 (Fri, 28 Apr 2006)
New Revision: 1484

Modified:
   /
   trunk/udev/
   trunk/udev/50-udev.rules
   trunk/udev/55-sound.rules
   trunk/udev/60-persistent-disk.rules
Log:
 r3174 at server (orig r1497):  jim | 2006-04-28 20:36:29 -0700
  r3172 at server:  jim | 2006-04-28 20:35:56 -0700
  Updates for UDEV 091 Changes
 



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:1496
   + b6734a72-470d-0410-b049-f317dca95413:/:1497


Property changes on: trunk/udev
___________________________________________________________________
Name: svk:merge
   - 38c7b366-470d-0410-a457-935707c16d9b:/udev:2946
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263
   + 38c7b366-470d-0410-a457-935707c16d9b:/udev:3172
3949c430-d905-0410-97b6-f115d20341b5:/udev:1348
3b7552df-c20a-0410-b7e1-d7eaf1be8828:/udev:1263

Modified: trunk/udev/50-udev.rules
===================================================================
--- trunk/udev/50-udev.rules	2006-04-29 03:43:42 UTC (rev 1483)
+++ trunk/udev/50-udev.rules	2006-04-29 03:43:52 UTC (rev 1484)
@@ -35,6 +35,7 @@
 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"
@@ -128,8 +129,8 @@
 # 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'"
 
 # device mapper
 KERNEL=="device-mapper", 	NAME="%k", SYMLINK+="mapper/control"
@@ -151,7 +152,8 @@
 KERNEL=="npt*",			NAME="%k", GROUP="tape"
 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="tape"
 KERNEL=="nosst*",		NAME="%k", GROUP="tape"
 KERNEL=="iseries/vt*",		NAME="%k", GROUP="disk"

Modified: trunk/udev/55-sound.rules
===================================================================
--- trunk/udev/55-sound.rules	2006-04-29 03:43:42 UTC (rev 1483)
+++ trunk/udev/55-sound.rules	2006-04-29 03:43:52 UTC (rev 1484)
@@ -10,8 +10,8 @@
 #
 ########################################################################
 
-SUBSYSTEM="sound",		GROUP="audio"
-SUBSYSTEM="snd",		GROUP="audio"
+SUBSYSTEM=="sound",		GROUP="audio"
+SUBSYSTEM=="snd",		GROUP="audio"
 
 KERNEL=="controlC[0-9]*",	NAME="snd/%k", GROUP="audio"
 KERNEL=="hwC[D0-9]*",		NAME="snd/%k", GROUP="audio"

Modified: trunk/udev/60-persistent-disk.rules
===================================================================
--- trunk/udev/60-persistent-disk.rules	2006-04-29 03:43:42 UTC (rev 1483)
+++ trunk/udev/60-persistent-disk.rules	2006-04-29 03:43:52 UTC (rev 1484)
@@ -59,6 +59,6 @@
 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_end"




More information about the cross-lfs mailing list