TX touchscreen question
Under PalmOS, the TX has a problem with what I call "pen up jitter". When you lift up the stylus, sometimes some junk data gets passed on to the app from the digitizer, resulting in a 1/4 inch or greater pen movement at the end of a tap. I am guessing, based on a lot of testing, that this just data is due to the fact that the touchscreen is already being released, but the OS not recognizing this release yet. I tried the October 17 2007 hackndev Opie release on my TX, and found that the pen up jitter is much, much less common.
So, my question: Why? What does the Linux touchscreen driver do right which the PalmOS driver does wrong? I wonder if it would be possible to rewrite the PalmOS driver to fix this.
I don't know the internals of the hackndev project. Where can I find source code for the touchscreen driver?
Best wishes,
Alex Pruss

Hi, very interesting
Hi, very interesting experience :) Why this? Linux uses driver from Wolfson microelectronics and has some settings. We have good experiences with changing "pil" mode to 2. Look into manual here http://www.palmlinux.cz/modules.php?name=Downloads&d_op=getit&lid=9.
But, unable to rewrite PalmOS driver.. PalmOS is closed source.
Anyway, for your info, hnd is now in moving to git, but we have the same driver as handhelds.org and part for touchscreen is here.
WM97xxcore: http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/drivers/input/tou...
WM9712.c: http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/drivers/input/tou...
Thanks! The only reference
Thanks!
The only reference I can see to "PIL" in that manual is the "PIL control bit", but that only allows 0 or 1.
One can hack all kinds of things under PalmOS. :-) I wouldn't be surprised if one could fix this.
PIL is control bit, rigth,
PIL is control bit, rigth, and module wm97xx-ts has pil as argument. With pil=2 is better sensitivity than default pil=1.