summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-09-03 09:47:05 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-03 08:58:25 +0100
commit7e80c6e446e18437d5a5953d459276b4f799513c (patch)
treee31d3fc5cb236f0a0e5a0086b16aa9b6fb752afb /meta
parent5c1638ced33daa823f1b74a286fcae23818a74c2 (diff)
downloadopenembedded-core-7e80c6e446e18437d5a5953d459276b4f799513c.tar.gz
openembedded-core-7e80c6e446e18437d5a5953d459276b4f799513c.tar.bz2
openembedded-core-7e80c6e446e18437d5a5953d459276b4f799513c.zip
udev: don't reference parent sysfs node directly
udev warns direct reference to parent sysfs, which is not necessary and may break future kernel. Actually udev will handle parent nodes automatically for ATTRS key. This fixes [BUGID #113] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/udev/udev-158/local.rules3
-rw-r--r--meta/recipes-core/udev/udev_158.bb2
2 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-core/udev/udev-158/local.rules b/meta/recipes-core/udev/udev-158/local.rules
index dab319b431..317dd9f289 100644
--- a/meta/recipes-core/udev/udev-158/local.rules
+++ b/meta/recipes-core/udev/udev-158/local.rules
@@ -28,6 +28,5 @@ KERNEL=="rtc0", SYMLINK+="rtc"
ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
# Create a symlink to any touchscreen input device
-# 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"
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0"
diff --git a/meta/recipes-core/udev/udev_158.bb b/meta/recipes-core/udev/udev_158.bb
index daf8d37e5f..a9529d9d86 100644
--- a/meta/recipes-core/udev/udev_158.bb
+++ b/meta/recipes-core/udev/udev_158.bb
@@ -1,3 +1,3 @@
include udev-new.inc
-PR = "r2"
+PR = "r3"