All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] udev: generalize the check in touchscreen rule
@ 2012-04-02 21:35 Andrea Adami
  2012-04-11  8:59 ` Andrea Adami
  0 siblings, 1 reply; 11+ messages in thread
From: Andrea Adami @ 2012-04-02 21:35 UTC (permalink / raw)
  To: openembedded-core

* The actual rule only works for devices reporting ts pressure
* and ignores the other touchscreens (happens e.g. on ipaq h1940).
* a0,1,*18   a = absolute axes (ABS_X 0x00 ABS_Y 0x01 ABS_PRESSURE 0x18)
* (see include/linux/input.h)
*
* Guidelines for touchscreen seem suggesting only ABS_X and ABS_Y are mandatory
* (http://kernel.org/doc/Documentation/input/event-codes.txt)
*
* Bump PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 meta/recipes-core/udev/udev/local.rules |    3 +--
 meta/recipes-core/udev/udev_164.bb      |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/udev/udev/local.rules b/meta/recipes-core/udev/udev/local.rules
index 625e49a..49e8d28 100644
--- a/meta/recipes-core/udev/udev/local.rules
+++ b/meta/recipes-core/udev/udev/local.rules
@@ -31,5 +31,4 @@ KERNEL=="rtc0", SYMLINK+="rtc"
 ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"
 
 # Create a symlink to any touchscreen input device
-SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*18,*", SYMLINK+="input/touchscreen0"
-
+SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{modalias}=="input:*-e0*,3,*a0,1,*", SYMLINK+="input/touchscreen0"
diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb
index c5813ec..0462ff2 100644
--- a/meta/recipes-core/udev/udev_164.bb
+++ b/meta/recipes-core/udev/udev_164.bb
@@ -1,6 +1,6 @@
 include udev.inc
 
-PR = "r13"
+PR = "r14"
 
 SRC_URI += "file://udev-166-v4l1-1.patch"
 
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-04-11 13:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 21:35 [PATCH] udev: generalize the check in touchscreen rule Andrea Adami
2012-04-11  8:59 ` Andrea Adami
2012-04-11 10:16   ` Richard Purdie
2012-04-11 10:40     ` Koen Kooi
2012-04-11 11:57       ` Andrea Adami
2012-04-11 12:55         ` Paul Eggleton
2012-04-11 13:09           ` Andrea Adami
2012-04-11 13:15             ` Paul Eggleton
2012-04-11 13:18               ` Paul Eggleton
2012-04-11 13:32                 ` Andrea Adami
2012-04-11 12:12     ` Marko Katić

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.