diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-25 14:31:53 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-25 14:31:53 +0000 |
commit | 429837b61339b9c8a6f5469bcfbb127ceb104a0f (patch) | |
tree | 4cce2cdf3028b114e6aaf6928c8453f83cb224b3 /meta/packages | |
parent | 663dc3684fd9cdbcabf913f86ea15e2741b0958f (diff) | |
download | poky-429837b61339b9c8a6f5469bcfbb127ceb104a0f.tar.gz |
udev: Fix touchscreen link creation with latest version
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/udev/udev-145/local.rules | 4 | ||||
-rw-r--r-- | meta/packages/udev/udev_145.bb | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/udev/udev-145/local.rules b/meta/packages/udev/udev-145/local.rules index 5b926018f5..dab319b431 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" | |||
28 | ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" | 28 | ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" |
29 | 29 | ||
30 | # Create a symlink to any touchscreen input device | 30 | # Create a symlink to any touchscreen input device |
31 | SUBSYSTEM=="input", KERNEL=="event[0-9]*", SYSFS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0" | 31 | # Need to use ../ so the eventX can find the parent inputX modalias which is a directory above |
32 | SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{../modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0" | ||
33 | |||
diff --git a/meta/packages/udev/udev_145.bb b/meta/packages/udev/udev_145.bb index ab455570ba..ab5d3fe458 100644 --- a/meta/packages/udev/udev_145.bb +++ b/meta/packages/udev/udev_145.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod | |||
3 | the hotplug package and requires a kernel not older than 2.6.12." | 3 | the hotplug package and requires a kernel not older than 2.6.12." |
4 | RPROVIDES_${PN} = "hotplug" | 4 | RPROVIDES_${PN} = "hotplug" |
5 | 5 | ||
6 | PR = "r5" | 6 | PR = "r6" |
7 | 7 | ||
8 | SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | 8 | SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ |
9 | file://run.rules \ | 9 | file://run.rules \ |