Fwd: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Hi Robert, What do you think about that ? ( bellow ) Could you change the kernel 3.8 to include this touchscreen driver update ? Thx, Micka. -- Forwarded message -- From: Roop Singh r...@krda.ca Date: Mon, Mar 24, 2014 at 12:59 AM Subject: Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes To: beagleboard@googlegroups.com Cc: Robert Nelson robertcnel...@gmail.com 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:mickamus...@gmail.com] *To:* beagleboard@googlegroups.com *Cc:* Robert Nelson [mailto:robertcnel...@gmail.com] *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 r...@krda.ca 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:mickamus...@gmail.com] *To:* beagleboard@googlegroups.com *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, r...@krda.ca 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 beagleboard+unsubscr...@googlegroups.com. 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
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Hello! Having same kind of issues with the 7 4D systems cape, even with Robert Nelson's patched driver, I resolved the issue by increasing SEQ_SETTLE value to 1023 in ti_am335x_tsc.c . Hoping it could help someone. Olivier Le mardi 3 septembre 2013 13:47:44 UTC+2, Anguel a écrit : Hi! I have a 4DCAPE-43T LCD and tested it with Beaglebone Black and the latest Angstrom image (2013.08.21). Unfortunately, I am experiencing input jitter / jumping. I use TSlib's ts_calibrate for calibration and ts_test for testing. In Gnome's calibration tools the same problem appeared: Instead of clicking, I often have some dragging or even random jumping of the pointer. The problem appears especially if the pressure applied to the touchscreen is lower. I wrote 4D SYSTEMS support regarding the touchscreen jitter and got the following reply: The 4D Cape 43T LCD has been based on the LCD4 from Circuitco and uses the same drivers written for the LCD4 on the Angstrom. Upon testing and verification, the problem of jitter is evident as well on the LCD4 display of Circuitco using the Angstrom 2013.06.20 and 2013.08.21 images so in effect this has nothing to do with the hardware but it’s a software problem. Actually, I found a video on Youtube with LCD7 where a similar jump / jitter problem can be seen: http://www.youtube.com/watch?v=vEfnwL-Jxgw @ min 2:00 Any idea how the problem can be solved? Thanks in advance, Anguel -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
El martes, 3 de septiembre de 2013 06:47:44 UTC-5, Anguel escribió: Hi! I have a 4DCAPE-43T LCD and tested it with Beaglebone Black and the latest Angstrom image (2013.08.21). Unfortunately, I am experiencing input jitter / jumping. I use TSlib's ts_calibrate for calibration and ts_test for testing. In Gnome's calibration tools the same problem appeared: Instead of clicking, I often have some dragging or even random jumping of the pointer. The problem appears especially if the pressure applied to the touchscreen is lower. I wrote 4D SYSTEMS support regarding the touchscreen jitter and got the following reply: The 4D Cape 43T LCD has been based on the LCD4 from Circuitco and uses the same drivers written for the LCD4 on the Angstrom. Upon testing and verification, the problem of jitter is evident as well on the LCD4 display of Circuitco using the Angstrom 2013.06.20 and 2013.08.21 images so in effect this has nothing to do with the hardware but it’s a software problem. Actually, I found a video on Youtube with LCD7 where a similar jump / jitter problem can be seen: http://www.youtube.com/watch?v=vEfnwL-Jxgw @ min 2:00 Any idea how the problem can be solved? Thanks in advance, Anguel El martes, 3 de septiembre de 2013 06:47:44 UTC-5, Anguel escribió: Hi! I have a 4DCAPE-43T LCD and tested it with Beaglebone Black and the latest Angstrom image (2013.08.21). Unfortunately, I am experiencing input jitter / jumping. I use TSlib's ts_calibrate for calibration and ts_test for testing. In Gnome's calibration tools the same problem appeared: Instead of clicking, I often have some dragging or even random jumping of the pointer. The problem appears especially if the pressure applied to the touchscreen is lower. I wrote 4D SYSTEMS support regarding the touchscreen jitter and got the following reply: The 4D Cape 43T LCD has been based on the LCD4 from Circuitco and uses the same drivers written for the LCD4 on the Angstrom. Upon testing and verification, the problem of jitter is evident as well on the LCD4 display of Circuitco using the Angstrom 2013.06.20 and 2013.08.21 images so in effect this has nothing to do with the hardware but it’s a software problem. Actually, I found a video on Youtube with LCD7 where a similar jump / jitter problem can be seen: http://www.youtube.com/watch?v=vEfnwL-Jxgw @ min 2:00 Any idea how the problem can be solved? Thanks in advance, Anguel -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I have been playing with touchscreens for the last couple weeks. I noticed the following: For both 4.3 and 7 resistive touchscreens I have, the jitter is significantly better in the default Angstrom versus Debian. Angstrom jitters with around 5pixels of the touched point, Debian is 20pixels Looking at Debian, it seems to have a much newer version of the touchscreen driver than Angstrom does. I believe this is the revision angstrom uses: Last time steps_to_configure was available: https://github.com/torvalds/linux/commit/af9c2fe3740fe8dac05eede8805d9aaa45972cb6 Change from steps_to_configure to coordinate_readouts: https://github.com/torvalds/linux/commit/0396310b0eba71595c1151ce7c8fde7a9f33f719 Angstrom's DTC files for touchscreen refer to 'steps-to-configure' where Debian's has the newer 'coordinate-readouts'. I would be happy if the quality of touch input that I get from Angstrom existed in Debian, so I'll try to compile the old driver, then recompile my DTC files and use steps_to_configure and report back. On Friday, 14 March 2014 15:19:28 UTC-7, Piotr Murawski wrote: There is a part in the driver (ti_am335x_tsc.c): config = STEPCONFIG_MODE_HWSYNC | STEPCONFIG_AVG_16 | ts_dev-bit_yp | ts_dev-bit_xn | STEPCONFIG_INM_ADCREFM | STEPCONFIG_INP(ts_dev-inp_xp); titsc_writel(ts_dev, REG_STEPCONFIG(end_step), config); titsc_writel(ts_dev, REG_STEPDELAY(end_step), STEPCONFIG_OPENDLY); end_step++; ** ... -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
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:mickamus...@gmail.com] To: beagleboard@googlegroups.com Cc: Robert Nelson [mailto:robertcnel...@gmail.com] 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 r...@krda.ca 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:mickamus...@gmail.com] To: beagleboard@googlegroups.com 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, r...@krda.ca 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 beagleboard+unsubscr...@googlegroups.com. 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 beagleboard+unsubscr...@googlegroups.com. 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
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
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 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. time for the champagne :) On Thursday, 13 March 2014 11:08:23 UTC-7, Mickae1 wrote: 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 ro...@krda.ca javascript: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:micka...@gmail.com javascript:] *To:* beagl...@googlegroups.com javascript: *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, ro...@krda.ca javascript: 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 a href=http://beagleboard.org/discuss ... -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
There is a part in the driver (ti_am335x_tsc.c): config = STEPCONFIG_MODE_HWSYNC | STEPCONFIG_AVG_16 | ts_dev-bit_yp | ts_dev-bit_xn | STEPCONFIG_INM_ADCREFM | STEPCONFIG_INP(ts_dev-inp_xp); titsc_writel(ts_dev, REG_STEPCONFIG(end_step), config); titsc_writel(ts_dev, REG_STEPDELAY(end_step), STEPCONFIG_OPENDLY); end_step++; *config |= STEPCONFIG_INP(ts_dev-inp_yn);* There is possible bug, with using OR. It does not show up when XP - AN0 and YN - AN3 because 0 is ORed to 3 (fortunately). With other X/Y plate connections, z2 might be totally wrong. Regards, Piotr. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
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, r...@krda.ca 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 beagleboard+unsubscr...@googlegroups.com. 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
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:mickamus...@gmail.com] To: beagleboard@googlegroups.com 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, r...@krda.ca 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 beagleboard+unsubscr...@googlegroups.com. 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 beagleboard+unsubscr...@googlegroups.com. 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I love TSLIB, their modular approach and on the fly tweaking allowed me to get the touchscreen working really well Then I found that X11 no longer supports TSLIB :( My option was hacking this driver (which you've done to an extent, thanks again) or downgrading all of X11 to be compatible with TSLIB again. Maybe that's a better option, I'm not sure. Is calling tslib from the driver what you're suggesting Micha? _ From: Micka [mailto:mickamus...@gmail.com] To: beagleboard@googlegroups.com Cc: Robert Nelson [mailto:robertcnel...@gmail.com] 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 r...@krda.ca 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:mickamus...@gmail.com] To: beagleboard@googlegroups.com 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, r...@krda.ca 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 beagleboard+unsubscr...@googlegroups.com. 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 beagleboard+unsubscr...@googlegroups.com. 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 beagleboard+unsubscr...@googlegroups.com. 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 beagleboard+unsubscr...@googlegroups.com. 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Hi Micka, Any chance you can post the ti_am335x_tsc.ko that you compiled for debian? RobertCNelson's recent releases contain an old ti_am335x_tsc.ko (from last year). On Tuesday, 28 January 2014 01:05:15 UTC-8, Mickae1 wrote: Well, It's good that it works in other device :) Micka, On Mon, Jan 27, 2014 at 9:32 PM, Terry Storm terrys...@gmail.comjavascript: wrote: Brilliant Thank you Robert, and thank you Micka for the patch. Just ran it up, booted from SD card and I cant fault the touch in the few minutes I have played with it. Great news, thank you both. Will continue to test. Terry On Tuesday, 28 January 2014 02:45:40 UTC+13, RobertCNelson wrote: On Mon, Jan 27, 2014 at 4:36 AM, Terry Storm terrys...@gmail.com wrote: Great news Can someone please link me to the l ... -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Good point! However, the issue in the errata is about pen-up whereas I had pen-down false interrupt. Increasing charging time clearly moves the problem away. Piotr. W dniu poniedziałek, 24 lutego 2014 14:45:31 UTC+1 użytkownik Bas Laarhoven napisał: Hi Piotr, Have you studied the errata for the processor? IIRC some issues and workarounds with the TSC are documented there. -- Bas On 24-2-2014 12:51, mich...@o2.pl javascript: wrote: Hi, I step in as everybody looking to find solutions for TS issues. Actually, I'm still working on solving it. However, I have some tips and discoveries I'd like to share, meby someone will find it useful. 1) I have just external TS, no cape at all, the TS is 10 inch. 2) I found after many hours :( that ti_am335x_tsc driver can not be build in, and must be loaded as a module after the cape for TSC is loaded. That's because I use overlay-ed cape for TSC. Even though it is set to be loaded in uEnv.txt! 3) Big touch screen has bigger capacity, it results in permanent auto-touch event generation, driving me nuts since LCD7 TS works nicely. I have discovered, that adjusting delays in driver is the solution!!! There are open-delay, sample-delay, charging-delay defined in ti_am335x_tscad... -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Hi, I step in as everybody looking to find solutions for TS issues. Actually, I'm still working on solving it. However, I have some tips and discoveries I'd like to share, meby someone will find it useful. 1) I have just external TS, no cape at all, the TS is 10 inch. 2) I found after many hours :( that ti_am335x_tsc driver can not be build in, and must be loaded as a module after the cape for TSC is loaded. That's because I use overlay-ed cape for TSC. Even though it is set to be loaded in uEnv.txt! 3) Big touch screen has bigger capacity, it results in permanent auto-touch event generation, driving me nuts since LCD7 TS works nicely. I have discovered, that adjusting delays in driver is the solution!!! There are open-delay, sample-delay, charging-delay defined in ti_am335x_tscad.h file. They have fundamental influence on this effect. Someone has mentioned that hardware issue was observed as a few auto-touch glitches. That is exactly this, just in case of a smaller TS, it is not so evident. So, concluding, now I'm focusing on adjusting delays. I'll let you know my setting for this 10inch TS. Regards, Piotr -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Well, It's good that it works in other device :) Micka, On Mon, Jan 27, 2014 at 9:32 PM, Terry Storm terrystor...@gmail.com wrote: Brilliant Thank you Robert, and thank you Micka for the patch. Just ran it up, booted from SD card and I cant fault the touch in the few minutes I have played with it. Great news, thank you both. Will continue to test. Terry On Tuesday, 28 January 2014 02:45:40 UTC+13, RobertCNelson wrote: On Mon, Jan 27, 2014 at 4:36 AM, Terry Storm terrys...@gmail.com wrote: Great news Can someone please link me to the latest Debian/Ubuntu image which features this fix? Is there is pre-made image available, or do I need to build it? Ditto for Arch Linux, would love to try that one out too with the fix for that. cough https://groups.google.com/d/msg/beagleboard/w9PfhGkByQU/bE_BNG4vgHgJ Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
On Mon, Jan 27, 2014 at 4:36 AM, Terry Storm terrystor...@gmail.com wrote: Great news Can someone please link me to the latest Debian/Ubuntu image which features this fix? Is there is pre-made image available, or do I need to build it? Ditto for Arch Linux, would love to try that one out too with the fix for that. cough https://groups.google.com/d/msg/beagleboard/w9PfhGkByQU/bE_BNG4vgHgJ Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Brilliant Thank you Robert, and thank you Micka for the patch. Just ran it up, booted from SD card and I cant fault the touch in the few minutes I have played with it. Great news, thank you both. Will continue to test. Terry On Tuesday, 28 January 2014 02:45:40 UTC+13, RobertCNelson wrote: On Mon, Jan 27, 2014 at 4:36 AM, Terry Storm terrys...@gmail.comjavascript: wrote: Great news Can someone please link me to the latest Debian/Ubuntu image which features this fix? Is there is pre-made image available, or do I need to build it? Ditto for Arch Linux, would love to try that one out too with the fix for that. cough https://groups.google.com/d/msg/beagleboard/w9PfhGkByQU/bE_BNG4vgHgJ Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Well, First, thx to Robert Nelson, the patch for the touchscreen fix has been implemented : https://github.com/RobertCNelson/linux-dev/commit/20c9c32e3443826d79ea01e17cbd2d6fa2c616ae Which means, that now, you don't need to implement it yourself :p , you just need to build the kernel and install it in your sdcard. Which means that soon, the fix will be implemented to each release of ubuntu/debian from Robert Nelson ! Also Will Kostelecky, the script to install the kernel, only work for a Robert Nelson image ( ubuntu/debian ) . Micka, On Thu, Jan 23, 2014 at 8:45 AM, Will Kostelecky will.kostele...@gmail.comwrote: Everything went well up to the point of actually installing the patched and rebuilt kernel! I run from an SD card so had to point the install script to it. It installed ok on the first partition but blew up on the second. I have not had a chance to dig into why yet. I am thinking of trying the upgrade on the internal drive and see if that, being what is expected by default, works better? On Wed, Jan 22, 2014 at 8:39 AM, Micka mickamus...@gmail.com wrote: I never used rebuild_deb.sh . I don't know what it is for . On Wed, Jan 22, 2014 at 9:30 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I have gotten to the point of rebuilding the kernel and have what may be a dumb question before I press enter... In tools I have a rebuild.sh and a rebuild_deb.sh. Form your message I am guessing that I run the latter? Thanks, Will On Tue, Jan 21, 2014 at 3:08 PM, André Prado andreprad...@gmail.comwrote: Thank you so much, i will do it when i get home :) On Tue, Jan 21, 2014 at 6:16 AM, Micka mickamus...@gmail.com wrote: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel git clone git://github.com/RobertCNelson/linux-dev.git cd linux-dev/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh go to the file KERNEL/drivers/input/touchscreen/ti_am335x_tsc.c edit the file by following the file that I previously sent . save the file, go to the folder linux-dev, and rebuild the kernel : ./tools/rebuild something .sh micka, On Tue, Jan 21, 2014 at 7:00 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.com wrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.comwrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.com wrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.comwrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems)
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
:-( On Thu, Jan 23, 2014 at 8:36 AM, Micka mickamus...@gmail.com wrote: Well, First, thx to Robert Nelson, the patch for the touchscreen fix has been implemented : https://github.com/RobertCNelson/linux-dev/commit/20c9c32e3443826d79ea01e17cbd2d6fa2c616ae Which means, that now, you don't need to implement it yourself :p , you just need to build the kernel and install it in your sdcard. Which means that soon, the fix will be implemented to each release of ubuntu/debian from Robert Nelson ! Also Will Kostelecky, the script to install the kernel, only work for a Robert Nelson image ( ubuntu/debian ) . Micka, On Thu, Jan 23, 2014 at 8:45 AM, Will Kostelecky will.kostele...@gmail.com wrote: Everything went well up to the point of actually installing the patched and rebuilt kernel! I run from an SD card so had to point the install script to it. It installed ok on the first partition but blew up on the second. I have not had a chance to dig into why yet. I am thinking of trying the upgrade on the internal drive and see if that, being what is expected by default, works better? On Wed, Jan 22, 2014 at 8:39 AM, Micka mickamus...@gmail.com wrote: I never used rebuild_deb.sh . I don't know what it is for . On Wed, Jan 22, 2014 at 9:30 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I have gotten to the point of rebuilding the kernel and have what may be a dumb question before I press enter... In tools I have a rebuild.sh and a rebuild_deb.sh. Form your message I am guessing that I run the latter? Thanks, Will On Tue, Jan 21, 2014 at 3:08 PM, André Prado andreprad...@gmail.comwrote: Thank you so much, i will do it when i get home :) On Tue, Jan 21, 2014 at 6:16 AM, Micka mickamus...@gmail.com wrote: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel git clone git://github.com/RobertCNelson/linux-dev.git cd linux-dev/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh go to the file KERNEL/drivers/input/touchscreen/ti_am335x_tsc.c edit the file by following the file that I previously sent . save the file, go to the folder linux-dev, and rebuild the kernel : ./tools/rebuild something .sh micka, On Tue, Jan 21, 2014 at 7:00 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.com wrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.comwrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.com wrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.comwrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
What ? You have an angstrom image ? You should change Angstrom it's over go to the Ubuntu/Debian image ! On Thu, Jan 23, 2014 at 10:39 AM, Will Kostelecky will.kostele...@gmail.com wrote: :-( On Thu, Jan 23, 2014 at 8:36 AM, Micka mickamus...@gmail.com wrote: Well, First, thx to Robert Nelson, the patch for the touchscreen fix has been implemented : https://github.com/RobertCNelson/linux-dev/commit/20c9c32e3443826d79ea01e17cbd2d6fa2c616ae Which means, that now, you don't need to implement it yourself :p , you just need to build the kernel and install it in your sdcard. Which means that soon, the fix will be implemented to each release of ubuntu/debian from Robert Nelson ! Also Will Kostelecky, the script to install the kernel, only work for a Robert Nelson image ( ubuntu/debian ) . Micka, On Thu, Jan 23, 2014 at 8:45 AM, Will Kostelecky will.kostele...@gmail.com wrote: Everything went well up to the point of actually installing the patched and rebuilt kernel! I run from an SD card so had to point the install script to it. It installed ok on the first partition but blew up on the second. I have not had a chance to dig into why yet. I am thinking of trying the upgrade on the internal drive and see if that, being what is expected by default, works better? On Wed, Jan 22, 2014 at 8:39 AM, Micka mickamus...@gmail.com wrote: I never used rebuild_deb.sh . I don't know what it is for . On Wed, Jan 22, 2014 at 9:30 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I have gotten to the point of rebuilding the kernel and have what may be a dumb question before I press enter... In tools I have a rebuild.sh and a rebuild_deb.sh. Form your message I am guessing that I run the latter? Thanks, Will On Tue, Jan 21, 2014 at 3:08 PM, André Prado andreprad...@gmail.comwrote: Thank you so much, i will do it when i get home :) On Tue, Jan 21, 2014 at 6:16 AM, Micka mickamus...@gmail.com wrote: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel git clone git://github.com/RobertCNelson/linux-dev.git cd linux-dev/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh go to the file KERNEL/drivers/input/touchscreen/ti_am335x_tsc.c edit the file by following the file that I previously sent . save the file, go to the folder linux-dev, and rebuild the kernel : ./tools/rebuild something .sh micka, On Tue, Jan 21, 2014 at 7:00 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.com wrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.comwrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.com wrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.comwrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Arch. Much faster than Debian for my application. I must admit messing with the kernel might be above my level of competency. I am but an app developer! On Thu, Jan 23, 2014 at 9:41 AM, Micka mickamus...@gmail.com wrote: What ? You have an angstrom image ? You should change Angstrom it's over go to the Ubuntu/Debian image ! On Thu, Jan 23, 2014 at 10:39 AM, Will Kostelecky will.kostele...@gmail.com wrote: :-( On Thu, Jan 23, 2014 at 8:36 AM, Micka mickamus...@gmail.com wrote: Well, First, thx to Robert Nelson, the patch for the touchscreen fix has been implemented : https://github.com/RobertCNelson/linux-dev/commit/20c9c32e3443826d79ea01e17cbd2d6fa2c616ae Which means, that now, you don't need to implement it yourself :p , you just need to build the kernel and install it in your sdcard. Which means that soon, the fix will be implemented to each release of ubuntu/debian from Robert Nelson ! Also Will Kostelecky, the script to install the kernel, only work for a Robert Nelson image ( ubuntu/debian ) . Micka, On Thu, Jan 23, 2014 at 8:45 AM, Will Kostelecky will.kostele...@gmail.com wrote: Everything went well up to the point of actually installing the patched and rebuilt kernel! I run from an SD card so had to point the install script to it. It installed ok on the first partition but blew up on the second. I have not had a chance to dig into why yet. I am thinking of trying the upgrade on the internal drive and see if that, being what is expected by default, works better? On Wed, Jan 22, 2014 at 8:39 AM, Micka mickamus...@gmail.com wrote: I never used rebuild_deb.sh . I don't know what it is for . On Wed, Jan 22, 2014 at 9:30 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I have gotten to the point of rebuilding the kernel and have what may be a dumb question before I press enter... In tools I have a rebuild.sh and a rebuild_deb.sh. Form your message I am guessing that I run the latter? Thanks, Will On Tue, Jan 21, 2014 at 3:08 PM, André Prado andreprad...@gmail.comwrote: Thank you so much, i will do it when i get home :) On Tue, Jan 21, 2014 at 6:16 AM, Micka mickamus...@gmail.comwrote: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel git clone git://github.com/RobertCNelson/linux-dev.git cd linux-dev/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh go to the file KERNEL/drivers/input/touchscreen/ti_am335x_tsc.c edit the file by following the file that I previously sent . save the file, go to the folder linux-dev, and rebuild the kernel : ./tools/rebuild something .sh micka, On Tue, Jan 21, 2014 at 7:00 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.com wrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.comwrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.com wrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.comwrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Micka: I have gotten to the point of rebuilding the kernel and have what may be a dumb question before I press enter... In tools I have a rebuild.sh and a rebuild_deb.sh. Form your message I am guessing that I run the latter? Thanks, Will On Tue, Jan 21, 2014 at 3:08 PM, André Prado andreprad...@gmail.com wrote: Thank you so much, i will do it when i get home :) On Tue, Jan 21, 2014 at 6:16 AM, Micka mickamus...@gmail.com wrote: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel git clone git://github.com/RobertCNelson/linux-dev.git cd linux-dev/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh go to the file KERNEL/drivers/input/touchscreen/ti_am335x_tsc.c edit the file by following the file that I previously sent . save the file, go to the folder linux-dev, and rebuild the kernel : ./tools/rebuild something .sh micka, On Tue, Jan 21, 2014 at 7:00 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.comwrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.com wrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.comwrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.comwrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.comwrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- For more options, visit
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I never used rebuild_deb.sh . I don't know what it is for . On Wed, Jan 22, 2014 at 9:30 AM, Will Kostelecky will.kostele...@gmail.comwrote: Micka: I have gotten to the point of rebuilding the kernel and have what may be a dumb question before I press enter... In tools I have a rebuild.sh and a rebuild_deb.sh. Form your message I am guessing that I run the latter? Thanks, Will On Tue, Jan 21, 2014 at 3:08 PM, André Prado andreprad...@gmail.comwrote: Thank you so much, i will do it when i get home :) On Tue, Jan 21, 2014 at 6:16 AM, Micka mickamus...@gmail.com wrote: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel git clone git://github.com/RobertCNelson/linux-dev.git cd linux-dev/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh go to the file KERNEL/drivers/input/touchscreen/ti_am335x_tsc.c edit the file by following the file that I previously sent . save the file, go to the folder linux-dev, and rebuild the kernel : ./tools/rebuild something .sh micka, On Tue, Jan 21, 2014 at 7:00 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.comwrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.com wrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.comwrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.comwrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.comwrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Hello Will, I am experiencing the same problems !! I am compiling a new kernel for ArchLinux with the proposed jitter-patch ... the lecacy-one (3.8.13) ... I will let you know if I am successfull !! Greetings, Alfred. Op zondag 12 januari 2014 13:35:38 UTC+1 schreef Will Kostelecky: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.com wrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Everything went well up to the point of actually installing the patched and rebuilt kernel! I run from an SD card so had to point the install script to it. It installed ok on the first partition but blew up on the second. I have not had a chance to dig into why yet. I am thinking of trying the upgrade on the internal drive and see if that, being what is expected by default, works better? On Wed, Jan 22, 2014 at 8:39 AM, Micka mickamus...@gmail.com wrote: I never used rebuild_deb.sh . I don't know what it is for . On Wed, Jan 22, 2014 at 9:30 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I have gotten to the point of rebuilding the kernel and have what may be a dumb question before I press enter... In tools I have a rebuild.sh and a rebuild_deb.sh. Form your message I am guessing that I run the latter? Thanks, Will On Tue, Jan 21, 2014 at 3:08 PM, André Prado andreprad...@gmail.comwrote: Thank you so much, i will do it when i get home :) On Tue, Jan 21, 2014 at 6:16 AM, Micka mickamus...@gmail.com wrote: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel git clone git://github.com/RobertCNelson/linux-dev.git cd linux-dev/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh go to the file KERNEL/drivers/input/touchscreen/ti_am335x_tsc.c edit the file by following the file that I previously sent . save the file, go to the folder linux-dev, and rebuild the kernel : ./tools/rebuild something .sh micka, On Tue, Jan 21, 2014 at 7:00 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.comwrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.comwrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.com wrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.comwrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.com wrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel git clone git://github.com/RobertCNelson/linux-dev.git cd linux-dev/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh go to the file KERNEL/drivers/input/touchscreen/ti_am335x_tsc.c edit the file by following the file that I previously sent . save the file, go to the folder linux-dev, and rebuild the kernel : ./tools/rebuild something .sh micka, On Tue, Jan 21, 2014 at 7:00 AM, Will Kostelecky will.kostele...@gmail.comwrote: Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.comwrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.com wrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.comwrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.com wrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.comwrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Thank you so much, i will do it when i get home :) On Tue, Jan 21, 2014 at 6:16 AM, Micka mickamus...@gmail.com wrote: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel git clone git://github.com/RobertCNelson/linux-dev.git cd linux-dev/ git checkout origin/am33x-v3.8 -b tmp ./build_kernel.sh go to the file KERNEL/drivers/input/touchscreen/ti_am335x_tsc.c edit the file by following the file that I previously sent . save the file, go to the folder linux-dev, and rebuild the kernel : ./tools/rebuild something .sh micka, On Tue, Jan 21, 2014 at 7:00 AM, Will Kostelecky will.kostele...@gmail.com wrote: Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.comwrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.com wrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.comwrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.com wrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.comwrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.com wrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.com wrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.comwrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Att André -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.com wrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.comwrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.com wrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.comwrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Att André -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Micka: I second the huge thanks from Andre for the work you have done on this to date...would also support Andre's question about the way! If you could give us some pointers on what we need to do, or point us to a reference on the web, it would be greatly appreciated (even more greatly than hugely)! Cheers, Will On Tue, Jan 21, 2014 at 12:10 AM, André Prado andreprad...@gmail.comwrote: Micka could you please give me the way? I need to get https://github.com/beagleboard linux repo and compile with Linaro? Is that all? On Mon, Jan 20, 2014 at 12:08 PM, Micka mickamus...@gmail.com wrote: I don't think so ( I'm not an expert on that ) But It's easy with the Kernel from Robert Nelson to build, modify the kernel, rebuild the kernel, install the kernel in your sdcard It's what i've done ... . I hope that Robert Nelson will include this modification for the next release of the Kernel . On Mon, Jan 20, 2014 at 2:32 PM, André Prado andreprad...@gmail.comwrote: Micka thank you so much for your work! We can compile this driver with Linaro and load it dynamically right? Using mobprobe Or am i mistaken? Cheers On Mon, Jan 13, 2014 at 11:58 AM, Micka mickamus...@gmail.com wrote: I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.com wrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.comwrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I would love to create a patch for you, but i don't know how I tried to commit the result, but I got : beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit # On branch v3.8.13-bone35 # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: drivers/input/touchscreen/ti_am335x_tsc.c # no changes added to commit (use git add and/or git commit -a) beaglekernel@beaglekernel-VirtualBox:~/linux-dev/KERNEL$ git commit drivers/input/touchscreen/ti_am335x_tsc.c error: insufficient permission for adding an object to repository database .git/objects error: drivers/input/touchscreen/ti_am335x_tsc.c: failed to insert into database error: unable to index file drivers/input/touchscreen/ti_am335x_tsc.c fatal: updating files failed On Sun, Jan 12, 2014 at 1:35 PM, Will Kostelecky will.kostele...@gmail.comwrote: I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.com wrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I have the same problem with the LCD7 on Archlinux and would really like to get it fixed. I can't find the above file on my installation and am not sure where to look. Or for that matter what to do with the patched file if I were able to find it. Can someone help with a) telling me where to look for the right file to patch, and b) tell me how to build a patched driver? I am not a complete neophyte with Linux (I frequently build apps from source and can debug build problems) but I dont know where to start with drivers! Thanks, Will On Thursday, 9 January 2014 07:58:47 UTC, Mickae1 wrote: Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrys...@gmail.comjavascript: wrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
OK, Maybe it's time we work together and try to fix this bug. *A beaglebone black that doesn't support correctly the touchscreen, it's a SHAME !* So I'm going to try to fix it by myself = I prefer to put my conclusion here, because I don't hink everyone has the time to read my research : *1) Presentation of the BUG* - When you touch the screen repeatedly ( up and down up and down ) the bug seems to happen ! ( rarely, but it does ) - When you touch the screen continuously, you can see that sometime the mouse go far away from your finger . *2) The driver* The name of the driver is TI - TSC ADC (Touschscreen and analog digital converter) It's easy to find the source of this driver = drivers/input/touchscreen/ti_am335x_tsc.c *3) The Interesting part* The interesting part of this driver, is this function : static void titsc_read_coordinates(struct titsc *ts_dev, u32 *x, u32 *y, u32 *z1, u32 *z2) { unsigned int fifocount = titsc_readl(ts_dev, REG_FIFO0CNT); unsigned int prev_val_x = ~0, prev_val_y = ~0; unsigned int prev_diff_x = ~0, prev_diff_y = ~0; unsigned int read, diff; unsigned int i, channel; unsigned int creads = ts_dev-coordinate_readouts; *z1 = *z2 = 0; if (fifocount % (creads * 2 + 2)) fifocount -= fifocount % (creads * 2 + 2); /* * 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. */ for (i = 0; i fifocount; i++) { read = titsc_readl(ts_dev, REG_FIFO0); channel = (read 0xf) 16; read = 0xfff; if (channel creads) { diff = abs(read - prev_val_x); if (diff prev_diff_x) { prev_diff_x = diff; *x = read; } prev_val_x = read; } else if (channel creads * 2) { diff = abs(read - prev_val_y); if (diff prev_diff_y) { prev_diff_y = diff; *y = read; } prev_val_y = read; } else if (channel creads * 2 + 1) { *z1 = read; } else if (channel creads * 2 + 2) { *z2 = read; } } } So did you watch this code ? Well, In my case, I understand why there is this huge bug ! We have to admit, that sometime there is noise during the transfer of the coordinate between the LCD and the driver. So, this code is supposed to filter any of noise with this : diff = abs(read - prev_val_x); if (diff prev_diff_x) { prev_diff_x = diff; *x = read; } prev_val_x = read; Well, I'm sorry, but if the noise happen, you should not save the noise value has the last position (correct me if I'm wrong ?) . So, I changed the code with something like that : if (channel creads) { printk(raw x=%d\n, read); diff = abs(read - prev_val_x); if (diff prev_diff_x) { printk(x=%d diff=%d\n, read, diff); prev_diff_x = diff; *x = read; prev_val_x = read; } } else if (channel creads * 2) { printk(raw y=%d\n, read); diff = abs(read - prev_val_y); if (diff prev_diff_y) { printk(y=%d diff=%d\n, read, diff); prev_diff_y = diff; *y = read; prev_val_y = read; } } else if (channel creads * 2 + 1) { *z1 = read; } else if (channel creads * 2 + 2) { *z2 = read; } Also, it's important to note that this function is called by the function irqreturn_t titsc_irq: I put a printk to be noticed when the function is called : static irqreturn_t titsc_irq(int irq, void *dev) { struct titsc *ts_dev = dev; struct input_dev *input_dev = ts_dev-input;
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Lan Kidd, For the patch, I'm sure that Robert Nelson will include it on the next release of the kernel, same for Koen ! Terry Storm, well not really :) , the noise come when you remove your finger, always at this time when the pressure is not enough we got some crazy x and y value .. On Thu, Jan 9, 2014 at 6:54 AM, Terry Storm terrystor...@gmail.com wrote: Ditto. Regarding the fix which makes this work 99% of the time... Have you considered the noise could be on the power lines which power the touch screen? One could assume the power rails are meant to be between GND and VCC, however this may not be the case. It then assumes GND is 0 and VCC is Max. Since there are 4 AIN's used, it should be possible to read the voltages... Maybe do some sort of ratio calculation or something. Just a thought. Terry On Thursday, 9 January 2014 07:56:11 UTC+13, Ian Kidd wrote: I'm going to be the helpless little girl here and ask for a quick synopsis of how to apply the patch? I'm not sure where the file is that gets this Diff, because I can't locate it in /lib/modules. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Lots of alternatives you can download Aptoide http://www.aptoide.com/ is one for example Only have to get the apk for that and then download using aptoide like any other App Store. On 18 December 2013 17:24, Ian Kidd ikidd3...@gmail.com wrote: I figured. I'll give that a shot. Be nice to have an App Store on that TI image. On Tuesday, December 17, 2013 9:19:22 PM UTC-7, Terry Storm wrote: Should read but does not support the Hardware Graphics like the TI one above. On Wednesday, 18 December 2013 13:27:18 UTC+13, Terry Storm wrote: Hi Ian Did you try the TI image instead of the Anderson image? The TI one seems to be more stable and the buttons are actually mapped to suit Android, which isn't the case on the Anderson image. Anderson Image is Kernel 3.8 however, but also does support the Hardware Graphics like the TI one, so the TI one is quite a bit faster too. I haven't had to calibrate, both just worked for me. Screen rotation utility was just from the App Store, just some free rotation app. Cant remember what it was called off the top of my head. Try and TI image and report back. Terry On Wednesday, 18 December 2013 12:38:01 UTC+13, Ian Kidd wrote: Hi, Terry. I see you got the touchscreen working in Android. I'm using the Anderson image, and while I can get swipe scrolling to work, it doesn't seem to be calibrated for the point of touch. Any particular utility that you use to calibrate the touch on Android. Also, what was the screen rotation utility you mentioned? -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Hi, Terry. I see you got the touchscreen working in Android. I'm using the Anderson image, and while I can get swipe scrolling to work, it doesn't seem to be calibrated for the point of touch. Any particular utility that you use to calibrate the touch on Android. Also, what was the screen rotation utility you mentioned? -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Hi Ian Did you try the TI image instead of the Anderson image? The TI one seems to be more stable and the buttons are actually mapped to suit Android, which isn't the case on the Anderson image. Anderson Image is Kernel 3.8 however, but also does support the Hardware Graphics like the TI one, so the TI one is quite a bit faster too. I haven't had to calibrate, both just worked for me. Screen rotation utility was just from the App Store, just some free rotation app. Cant remember what it was called off the top of my head. Try and TI image and report back. Terry On Wednesday, 18 December 2013 12:38:01 UTC+13, Ian Kidd wrote: Hi, Terry. I see you got the touchscreen working in Android. I'm using the Anderson image, and while I can get swipe scrolling to work, it doesn't seem to be calibrated for the point of touch. Any particular utility that you use to calibrate the touch on Android. Also, what was the screen rotation utility you mentioned? -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I figured. I'll give that a shot. Be nice to have an App Store on that TI image. On Tuesday, December 17, 2013 9:19:22 PM UTC-7, Terry Storm wrote: Should read but does not support the Hardware Graphics like the TI one above. On Wednesday, 18 December 2013 13:27:18 UTC+13, Terry Storm wrote: Hi Ian Did you try the TI image instead of the Anderson image? The TI one seems to be more stable and the buttons are actually mapped to suit Android, which isn't the case on the Anderson image. Anderson Image is Kernel 3.8 however, but also does support the Hardware Graphics like the TI one, so the TI one is quite a bit faster too. I haven't had to calibrate, both just worked for me. Screen rotation utility was just from the App Store, just some free rotation app. Cant remember what it was called off the top of my head. Try and TI image and report back. Terry On Wednesday, 18 December 2013 12:38:01 UTC+13, Ian Kidd wrote: Hi, Terry. I see you got the touchscreen working in Android. I'm using the Anderson image, and while I can get swipe scrolling to work, it doesn't seem to be calibrated for the point of touch. Any particular utility that you use to calibrate the touch on Android. Also, what was the screen rotation utility you mentioned? -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Has there been any progress made by anyone about this touch screen jitter/jumping issue with the LCD Capes? I now have a 4DCAPE-43T, 4DCAPE-70T, LCD4 and LCD7 and they all exhibit the exact same behaviour, even using the latest version of Angstrom listed on this site. When loaded with the TI Android 4.2.2 Image, touch works perfectly. Can launch draw programs and there are no issues at all, everything runs smoothly. All the menus can be accessed without issue, so there really is an issue with the released versions of Angstrom and the drivers they use. Are there any capable people out there working on this? Thanks -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I have given up with all LCD capes, there are driver bugs in the 3.8 kernel as stated before (see my previous postings). Afaik Android uses the old 3.2 kernel an therefore works ok. Also, I have the impression that Angstrom development for the BBB is completely abandoned now. Just hope that the Buildroot people will soon have full support for the BBB... -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
I am using the android 4.2.2 with the 3.2 kernel, downloaded from the TI website. I can't get anything on my 4DCAPE-43T. It won't even power up. I already booted into Angstrom and the screen does boot up and work so it can't be the screen. Anyway you can provide me with the link for your download? Maybe yours had teh 3.8 kernel? -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
On Tuesday, September 24, 2013 5:33:36 AM UTC-4, Anguel wrote: The concept here is the people that buy them, know how Linux works and can get things going themselves and make what ever tweaks are required. Supporting all the different kernel versions and distributions, that is no feasible. Probably this is the nice business concept used by TI, CircuitCo, etc. Sell chips and boards, make money, but let the open source community write the software and support everything for free. Just make a product, label it to be for developers and sell it without any support. There is a difference between any support and not supported. Not supported means that it has been tested under a very specific software configuration and works for that configuration. If you check the Linux Source code, you will find a LOT of code written by Texas Instruments - so they are certainly providing SOME support. Interestingly, if you check the LCD drivers you will find that for small LCD screens, most of those drivers come from Nokia[or at the very least are based off Nokia drivers]. So no, it is not the community that is expected to support things for free. How it works is that Nokia, a cell phone manufacturer, decides to use a Texas Instruments processor in a cell phone. They decide to use a specific model of LCD screen. They pay developers to create an LCD driver for a Texas Instruments supported linux kernel. If they find a bug in the TI LCD interface, they contact TI and TI works with them to fix it. Once they have the TI supported kernel working, they then try to use the same driver in the latest version of Android. If it doesn't work, their developers have to figure out what changes were made that broke something, and then they fix it. Considering that their going to order 100,000+ TI processors, they probably pay TI for support so their developers and TI's developers work on the driver. When that is all done, this driver which was written by Nokia with Texas Instruments help is then given to the community for free - under the terms of the standard GPL license, including: THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, *YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION*. Please note that last line as it is the one you seem to object to, and yet it is the very reason companies are willing to give away applications they paid developers to write to the community - as they are not required to support them and you agreed to assume the cost. Android does NOT use the X11 window system, so the driver written by Nokia for their phone may not work properly for a Ubuntu desktop. As the reason Nokia paid developers to write it was for an android phone, I can't see any reason to expect them to make sure it works for Ubuntu for free. Your receiving a huge amount of support from TI and CitcuitCo - however your tone of voice is demanding that they FIX the problem. They are not required to fix the problem, and you agreed to assume the cost of all correction. In all fairness, they should be billing you for the time spent responding to you as you agreed to assume the cost. You have identified a problem. Programmers from the community, Texas Instruments, and CircuitCo have acknowledged the problem, done a good bit of deductive reasoning to determine where the problem lies and the general idea of how to fix it and given this information to you for free. There are four solutions specifically for you: A) Use the linux versions that are known to work for the device, move on with your life. B) Wait for someone to be willing to fix it for free C) Fix it yourself - note this does not mean you personally, this means either you fix it or hire someone to fix it. D) Give up in frustration and use a different product. If you wish, loudly proclaim that everything just works out of the box. A few weeks down the road you will discover a different problem with the interaction of a completely different set of drivers that the vendor of that product doesn't use and does not support. When you do, if you choose to loudly proclaim your solution you can choose to acknowledge that your solution that just worked actually does not work so others who may be misled by your comments to also switch don't suffer the same issue. Or you can keep quiet about it to avoid looking foolish and thus cause economic harm to others. As a summary not supported means that the company is not required to pay engineers to fix problems you discover.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Hi Terry, Nice to know that I am not the only one who cares about the touchscreen. Neither CircuitCo nor 4D Systems seem to really care about the problem. They sell the displays but don't reply to my e-mails anymore. I also reported the problem on Beaglebone IRC but did not receive any help there. I even tried tweaking a bit in the kernel but without success. I just don't have the experience to dig deeper in the ADC drivers and chase for the bug. The latest patches were actually submitted by Zubair Lutfullah, he seems to adapt them (from the TI driver developers who write them for the older kernel afaik). Zubair told me that he already knew about the jitter problem and gave me the following reply: The touchscreen driver that was patched in the linux kernel was different compared to the old patches in the beaglebone tree. And we try to keep the beaglebone tree close to the mainline. The old 3.8 patches were ok. The mainlined ones introduced this problem.. A fix would require a comparison of the two drivers to figure out what went wrong and upload a patch to the mainline.. It would require time.. Unfortunately, Zubair is very busy right now. He also mailed his reply to Koen Kooi, one of the main Angstrom developers (also works at CircuitCo according to his Google+ profile). I am afraid that Koen is also very busy and won't have the time to look into the issue. So we can just hope that someone with more experience can fix the issue in the near future. Regards, Anguel On Monday, September 23, 2013 7:08:36 AM UTC+2, terrys...@gmail.com wrote: Hi Anguel I too have the same problem. I have a LCD4 and a LCD7 and both do the same thing. I suspect since the 4D Systems displays use the same drivers the 4DCAPE-43T does the same thing, so it doesn't seem to be hardware related at all since they use different brand touch screens. Have you had any reply out of CircuitCo? Does CircuitCo actually write the drivers or is it someone else? Can anyone help and point us to someone who wrote the drivers that we can discuss this with? I know a number of other people who have these displays and experience the exact same thing, so it is not just isolated to us 2 people. Please can someone point us in the right direction? Thanks Terry -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes
Hi Anguel Probably a little harsh to say CircuitCo and 4D Systems don't care about the problem. If you look at what 4D Systems claims, they state the software is not written or supported by them and they are essentially supplying hardware only, so they are actually unable to do anything about it even if they wanted to. I am still confused about what role CircuitCo plays, if they are just a hardware supplier or do software too. Beaglebone.org and beagleboardtoys.org along with TI and all the other players, I really have no idea who does what. I do hope however we can get to the bottom of it. Hi Gerald Being a beginner with Linux, I don't even know what the X11 is. I have tried the latest Angstrom release for the BBB and the touch issue is still present, or are you meaning something else? It does seem a little disappointing how the software does not work correctly for the hardware. I have a friend who was building an industrial product with the LCD4 and BBB, yet due to the touch issues the product was useless, so he ended up using a different solution entirely. I am sure there are many others who fall into this camp too. I do hope we can find a solution Regards Terry -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.