summaryrefslogtreecommitdiff
path: root/meta/packages/udev/udev-145
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-25 14:31:53 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-25 14:31:53 +0000
commit429837b61339b9c8a6f5469bcfbb127ceb104a0f (patch)
tree4cce2cdf3028b114e6aaf6928c8453f83cb224b3 /meta/packages/udev/udev-145
parent663dc3684fd9cdbcabf913f86ea15e2741b0958f (diff)
downloadopenembedded-core-429837b61339b9c8a6f5469bcfbb127ceb104a0f.tar.gz
openembedded-core-429837b61339b9c8a6f5469bcfbb127ceb104a0f.tar.bz2
openembedded-core-429837b61339b9c8a6f5469bcfbb127ceb104a0f.tar.xz
openembedded-core-429837b61339b9c8a6f5469bcfbb127ceb104a0f.zip
udev: Fix touchscreen link creation with latest version
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/udev/udev-145')
-rw-r--r--meta/packages/udev/udev-145/local.rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/udev/udev-145/local.rules b/meta/packages/udev/udev-145/local.rules
index 5b926018f..dab319b43 100644
--- a/meta/packages/udev/udev-145/local.rules
+++ b/meta/packages/udev/udev-145/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"
+