diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-25 15:01:47 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-25 15:01:47 +0000 |
commit | 43dd23b93d1a88bdf7dc9e149daf826d6128a123 (patch) | |
tree | f9a46a93d4b55448630234d70b391213e8719906 /meta/packages/udev/udev-141 | |
parent | b6b45ca53850c6b8ee2df92c855af87a407f25ca (diff) | |
download | openembedded-core-43dd23b93d1a88bdf7dc9e149daf826d6128a123.tar.gz openembedded-core-43dd23b93d1a88bdf7dc9e149daf826d6128a123.tar.bz2 openembedded-core-43dd23b93d1a88bdf7dc9e149daf826d6128a123.zip |
udev-141: Backport fix from 145 which is also needed here
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/udev/udev-141')
-rw-r--r-- | meta/packages/udev/udev-141/local.rules | 4 |
1 files changed, 3 insertions, 1 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" + |