[PATCH 0/3] Improve touchscreen filters

Nelson Castillo nelsoneci at gmail.com
Mon Dec 8 20:30:33 CET 2008


On Mon, Dec 08, 2008 at 07:14:20PM +0000, Andy Green wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Somebody in the thread at some point said:
>
> | My current ts.conf file is:
> |
> |   module_raw input grab_events=1
> |   module linear

I noticed we need "module pthres pmin=1".
Without it tslib sends a few weird points to X (the last ones).

How do I make Xglamo read from /dev/input/touchscreen0 ?
(I read I can provide a XF86Config)
Where can I look?

> | We could add the following sysfs entries.
> |
> |   /sys/class/touchscreen/calN ..
> |   or
> |   /sys/class/input/touchscreen0/calN ..
> |   (I have to read more about the naming conventions, any hint
> |    will be appreciated).
>
> Maybe you should create it as a child of the touchscreen device /sys,
> then symlink it to /sys/class/input/touchscreen0/calN or something along
> those lines?

Ok.

>
> |   * Add default calibration values that do not change the output
> |     of the touchscreen.
>
> I don't know what the spread of touchscreen results look like in bulk,
> but I guess it varies enough the touchscreen can't really be relied on
> for much without individually customized calibration, so you might as
> well leave it alone by default.

It makes sense to leave the output untouched by default.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20081208/5cf5cb93/attachment.pgp 


More information about the openmoko-kernel mailing list