Touchscreen Jitter / Jumping on Beaglebone Black LCD Capes

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

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 …

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?

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

http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel

git clone git:``//[github.com/RobertCNelson/linux-dev.git](http://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,

Thank you so much, i will do it when i get home :slight_smile:

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

I never used rebuild_deb.sh … I don’t know what it is for …

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.

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?

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 :stuck_out_tongue: , 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,

:frowning:

What ? You have an angstrom image ? You should change … Angstrom it’s over … go to the Ubuntu/Debian image !

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!

Hello Will,

The proposed patch did not work on Arch Linux !

However, I made a new (working) one.
Could you please test it for me.
Becaue this is a build-in module, I have compiled a new (legacy) kernel.

https://drive.google.com/file/d/0B0llA47E0GJwZjRhRGk1N2JvUDg/edit?usp=sharing

Install it with pacman -U filename.

I hope to hear from you soon.

Greetings, Alfred.

Alfred:

I will try this ASAP but first need to ask a dumb question. What should the filename be! I have unpacked the compressed file and now have the directories usr/lib/modules/extramodules-3.8–am33x-legacy and usr/lib/modules/3.8.13-16-ARCH…

Thanks, Will

Do not unpack !!!

It is an install-file.

Everything will be done for you, if you use it together with pacman

So:

pacman -U ./filenameofthefileyoudownload

Off you go !!!

longdirtyanimalf:

WORKS ABSOLUTELY G_R_E_A_T! and easy to apply. I was in the middle of trying to learn how to build a new kernel and do not need to invest that time so am tickled pink!

Will

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.

Regards
Terry

Can’t speak to the Debian question but the patch for Arch needs to be applied against a normally built image.

Will