udev 151 OE rules: update to drop deprecated options
authorKoen Kooi <koen@openembedded.org>
Mon, 22 Feb 2010 08:52:14 +0000 (09:52 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 22 Feb 2010 08:52:54 +0000 (09:52 +0100)
recipes/udev/udev-151/local.rules
recipes/udev/udev-151/udev.rules
recipes/udev/udev_151.bb

index 4e80a71..da4b385 100644 (file)
@@ -31,5 +31,5 @@ KERNEL=="fb0",  SYMLINK+="fb"
 ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
 
 # Create a symlink to any touchscreen input device
-SUBSYSTEM=="input", KERNEL=="event[0-9]*", SYSFS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0"
-SUBSYSTEM=="input", KERNEL=="event[0-9]*", SYSFS{modalias}=="ads7846", SYMLINK+="input/touchscreen0"
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0"
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="ads7846", SYMLINK+="input/touchscreen0"
index a19d4a0..60288c0 100644 (file)
@@ -15,7 +15,7 @@
 
 # workaround for devices which do not report media changes
 SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTR{removable}=="1", \
-       ENV{ID_MODEL}=="IOMEGA_ZIP*",   NAME="%k", OPTIONS+="all_partitions"
+       ENV{ID_MODEL}=="IOMEGA_ZIP*", OPTIONS+="all_partitions"
 SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTRS{media}=="floppy", \
        OPTIONS+="all_partitions"
 
@@ -103,7 +103,7 @@ SUBSYSTEM=="aoe", KERNEL=="revalidate",     NAME="etherd/%k"
 KERNEL=="dm-[0-9]*",           OPTIONS+="ignore_device"
 KERNEL=="device-mapper",       NAME="mapper/control"
 
-KERNEL=="rfcomm[0-9]*", NAME="%k", GROUP="users", MODE="0660"
+KERNEL=="rfcomm[0-9]*", GROUP="users", MODE="0660"
 
 # Firmware Helper
 ACTION=="add", SUBSYSTEM=="firmware", RUN+="/lib/udev/firmware.sh"
index 0764871..ee31b27 100644 (file)
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
 the hotplug package and requires a kernel not older than 2.6.12."
 LICENSE = "GPL"
 
-PR = "r2"
+PR = "r3"
 
 # Untested
 DEFAULT_PREFERENCE = "-1"