mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
udev: Fix touchscreen link creation with latest version
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -28,4 +28,6 @@ KERNEL=="rtc0", SYMLINK+="rtc"
|
|||||||
ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
|
ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
|
||||||
|
|
||||||
# Create a symlink to any touchscreen input device
|
# 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"
|
||||||
|
|
||||||
|
|||||||
@@ -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."
|
the hotplug package and requires a kernel not older than 2.6.12."
|
||||||
RPROVIDES_${PN} = "hotplug"
|
RPROVIDES_${PN} = "hotplug"
|
||||||
|
|
||||||
PR = "r5"
|
PR = "r6"
|
||||||
|
|
||||||
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
||||||
file://run.rules \
|
file://run.rules \
|
||||||
|
|||||||
Reference in New Issue
Block a user