I seem to have some issue posting to google groups via the sites, my apologies if this gets duplicated.
I have a solution! 1). grab install.me from here: https://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone21/ and run it. It'd downgrade your kernel 2). Change your .dts files from touchscreen drives from ti,coordinate-readouts to ti,steps-to-configure and compile 3). Enjoy really nice touchscreen operation! How I found this out: 3 days of fiddling with this! I noticed that the angstrom release's touchscreen works really well. I saw their .dts files had steps-to-configure in it instead of the newer ti,coordinate-readouts. I then read the driver changes in ti_am33x_tsc in linus' repo and traced it back to June 2013 which was the last time that 'step-to-configure' source was available. I don't know how to compile this file on it's own so I grabbed a RobertCNelson kernel from around that date (linked above). Ran install.sh, changed and recompiled my dtbo and voila! I'll leave it to the dedicated people here to decide if they want to merge the two drivers together into a newer driver that's also perfect touschscreen response. Btw, the driver author wrote in the source about fixing this exact jumping problem: /* * Delta filter is used to remove large variations in sampled * values from ADC. The filter tries to predict where the next * coordinate could be. This is done by taking a previous * coordinate and subtracting it form current one. Further the * algorithm compares the difference with that of a present value, * if true the value is reported to the sub system. */ I see that note missing in newer versions and that section gone, so this critical piece of code was removed for some reason. _____ From: Micka [mailto:[email protected]] To: [email protected] Cc: Robert Nelson [mailto:[email protected]] Sent: Thu, 13 Mar 2014 11:08:23 -0800 Subject: Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes If you have an oscilloscope I'm sure that you can see this crazy noise ... . During my test i could saw the noise in the driver. I also discovered that the TI driver include a filter to the jitter issue => module dejitter delta=100 I'm sure the jitter filter from TI is much better than mine ..... ... maybe it will be better to use the TI driver (TSLIB) than the default driver ..... . Robert Nelson ? Any idea how to do it ? I found some tutorial, but in my last tried I didn't succeeded : http://boundarydevices.com/debian-in-more-depth-adding-touch-support/ Micka, On Thu, Mar 13, 2014 at 6:27 PM, Roop Singh <[email protected]> wrote: My apologies: -rw-r--r-- 1 root root 11K Feb 15 01:10 ti_am335x_tsc.ko The jitter does not seem to be much better with this. Worse than the jitter is sometimes when I press and release, there is a much larger jump, say 50 pixels away from my finger. I see this with a 4.3" newhaven display. I have some 7" screens on the way, perhaps there will be a difference there? _____ From: Micka [mailto:[email protected]] To: [email protected] Sent: Thu, 13 Mar 2014 00:59:42 -0800 Subject: Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes Are you sure ? => https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.8/patch.sh#L847 On Tue, Mar 11, 2014 at 7:38 PM, <[email protected]> wrote: Hi Micka, Would you be able to send me the driver you compiled with these changes? RobertCNelson's latest builds (-40) have ti_am335x_tsc.ko from last year. I tried the steps you provided last night, I got as far as compiling the kernel but the driver I made had invalid ELF data so I did not try loading it. Alternatively, the patch you have, which version of the ti_am335x_tsc.c driver is it meant to patch? there's been a lot of activity on ti_am335x_tsc.c. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/SXTaSUf4aSk/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/SXTaSUf4aSk/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
