Random posts about coding

Mostly blogging about dart.

BeagleTouch on TI_Android_Froyo_DevKit-V2.2

| Comments

Liquidware’s BeagleTouch provides a nice display device for BeagleBoard developer. They provide non android linux kernel source code to jump in right away to use it. BeagleTouch blog post by will on antipastohw. Here is some crude patches to get started with it on rowboat / TI DevKit. I have my patches located on google docs: BeagleTouch.TI_Android_Froyo_DevKit-V2.2.config BeagleTouch.TI_Android_Froyo_DevKit-V2.2.patch Apply the patch accordingly and copy over the config into the kernel source tree. One issue that was noticeable from a direct patch of code was the y-axis being inverted. I corrected it with a hard coded reference value for now. This patch doesn’t help when offset loss happens in the touch screen. Looking info using tslib to capture better data settings and a linear formula for pointer calculations. Some good instructions for compiling tslib on android can be found on wenes1’s blog. A different direction to fix this issue would be to use Y_AXIS_MAX constant. [youtube=http://www.youtube.com/watch?v=8594I2NDPsM] It was hard for me to find any direct documentation on how touch screen drivers should be designed and configured in Android. If you know of any please ping me.