Needs a PR bump but I can handle that when I push.

Tested-by: Chase Maupin <[email protected]>

Tested on AM437x-evm

>-----Original Message-----
>From: Tom Rini [mailto:[email protected]] On Behalf Of Rini, Tom
>Sent: Tuesday, October 22, 2013 11:43 AM
>To: [email protected]
>Cc: Maupin, Chase; Cooper Jr., Franklin; Dmytriyenko, Denys
>Subject: [PATCH] udev: Re-fix touchscreen detection rule
>
>* Fix the rule to detect the touchscreen and create the
>  /dev/input/touchscreen0 device node more reliably.  udev knows
>how to
>  detect a touchscreen and sets ID_INPUT_TOUCHSCREEN for us to
>check
>  against.
>* This has already been submitted upstream and can be removed
>  when meta-arago switches to something that contains this fix,
>possibly
>  Dora.
>* The patch has already been submitted to oe-core at:
>
>http://article.gmane.org/gmane.comp.handhelds.openembedded.core/44
>297
>
>Cc: Chase Maupin <[email protected]>
>Cc: Franklin Cooper Jr. <[email protected]>
>Cc: Denys Dmytriyenko <[email protected]>
>Signed-off-by: Tom Rini <[email protected]>
>---
> .../recipes-core/udev/udev/local.rules             |    4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
>diff --git a/meta-arago-distro/recipes-core/udev/udev/local.rules
>b/meta-arago-distro/recipes-core/udev/udev/local.rules
>index d0cbf91..d0b0216 100644
>--- a/meta-arago-distro/recipes-core/udev/udev/local.rules
>+++ b/meta-arago-distro/recipes-core/udev/udev/local.rules
>@@ -17,7 +17,5 @@
> ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*",
>RUN+="/sbin/modprobe $env{MODALIAS}"
>
> # Create a symlink to any touchscreen input device
>-# Trigger based on input type, that the evbit (-e) has EV_SYN and
>EV_ABS,
>-# has an EV_ABS value (-a) which is used for touchscreen type
>devices.
>-SUBSYSTEM=="input", KERNEL=="event[0-9]*",
>ATTRS{modalias}=="input:*-e0*,3,*a0,1,*",
>SYMLINK+="input/touchscreen0"
>+SUBSYSTEM=="input", KERNEL=="event[0-9]*",
>ENV{ID_INPUT_TOUCHSCREEN}=="1", SYMLINK+="input/touchscreen0"
>
>--
>1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to