[OE-core] [PATCH] udev: generalize the check in touchscreen rule
Andrea Adami
andrea.adami at gmail.com
Wed Apr 11 11:57:29 UTC 2012
As far as I understand that, the rule was originally written for corgi
touchscreen and did indeed work for ads7846 ts.
Then something went wrong and this patch appeared: "udev 124: support
devices with ads7846 touchscreen and wrong modalias"
http://lists.linuxtogo.org/pipermail/openembedded-commits/2009-January/022948.html
Finally, bluelightning reported that on ipaq h1940 the rule did not
match and added a .bbappend in meta-handheld.
I analyzed the output of the touchscreen I have (Zaurus poodle, corgi,
spitz) and the generic rule still matched fine, because sysfs reports
18 (pressure).
Now, looking at the s3c2410_ts.c driver on that ipaq, it seems to me
it only reports:
125 input_report_abs(ts.input, ABS_X, ts.xp);
126 input_report_abs(ts.input, ABS_Y, ts.yp);
127
128 input_report_key(ts.input, BTN_TOUCH, 1);
129 input_sync(ts.input);
but not pressure.
In fact, ABS_X and ABS_Y are reported, there are no relative axes,
there is no pressure.
That should be enough to classify it as touchscreen imho.
Regards
Andrea
More information about the Openembedded-core
mailing list