Ack. Can push it soon.

Denys


-----Original Message-----
From: Rini, Tom [[email protected]]
Received: Tuesday, 22 Oct 2013, 17:43
To: [email protected] [[email protected]]
CC: Maupin, Chase [[email protected]]; Cooper Jr., Franklin [[email protected]]; 
Dmytriyenko, Denys [[email protected]]
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/44297

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