diff options
-rw-r--r-- | meta/recipes-core/udev/udev/local.rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev/local.rules b/meta/recipes-core/udev/udev/local.rules index 72d92ef627..d0cbf91b60 100644 --- a/meta/recipes-core/udev/udev/local.rules +++ b/meta/recipes-core/udev/udev/local.rules | |||
@@ -17,5 +17,7 @@ | |||
17 | ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" | 17 | ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" |
18 | 18 | ||
19 | # Create a symlink to any touchscreen input device | 19 | # Create a symlink to any touchscreen input device |
20 | SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0" | 20 | # Trigger based on input type, that the evbit (-e) has EV_SYN and EV_ABS, |
21 | # has an EV_ABS value (-a) which is used for touchscreen type devices. | ||
22 | SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*", SYMLINK+="input/touchscreen0" | ||
21 | 23 | ||