summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-25 15:01:47 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-03 18:01:20 +0000
commit1a651898a8e8fcc9ebe60f4d7666764730b4aefa (patch)
tree150a01a492d4487ea0c0966f49c87454fa409951
parent0e1d3d91d642a78a6c89af329376dc441e3b5a7d (diff)
downloadpoky-1a651898a8e8fcc9ebe60f4d7666764730b4aefa.tar.gz
poky-1a651898a8e8fcc9ebe60f4d7666764730b4aefa.tar.bz2
poky-1a651898a8e8fcc9ebe60f4d7666764730b4aefa.zip
udev-141: Backport fix from 145 which is also needed here
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/udev/udev-141/local.rules4
-rw-r--r--meta/packages/udev/udev_141.bb2
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/udev/udev-141/local.rules b/meta/packages/udev/udev-141/local.rules
index 5b926018f5..dab319b431 100644
--- a/meta/packages/udev/udev-141/local.rules
+++ b/meta/packages/udev/udev-141/local.rules
@@ -28,4 +28,6 @@ KERNEL=="rtc0", SYMLINK+="rtc"
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"
+# Need to use ../ so the eventX can find the parent inputX modalias which is a directory above
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{../modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0"
+
diff --git a/meta/packages/udev/udev_141.bb b/meta/packages/udev/udev_141.bb
index 5476195ea2..82be51794a 100644
--- a/meta/packages/udev/udev_141.bb
+++ b/meta/packages/udev/udev_141.bb
@@ -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."
RPROVIDES_${PN} = "hotplug"
-PR = "r4"
+PR = "r5"
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \