Touchscreen calibration

This board posts about running linux on your webdt366

Touchscreen calibration

Postby quotaholic » Wed Jul 13, 2011 8:08 am

Just got word that tslib will work to calibrate a pm9000 serial touchscreen. This may be of benefit to Android folks as android comes with tslib installed.

This is good information to hear as I have been having a problem getting gCal to work and not segfault. Here is a clip from the email from Penmounts tech support:


Here is the tslib README:

https://github.com/kergoth/tslib/blob/master/README

When you use the tslib, you will need to setup the following:

(1) Modify /etc/ts.conf and setup module_raw, the tslib will read “/dev/inut/eventX” device.
(2) Set the environment variable: TSLIB_TSDEVICE to PenMount event device (for example, /dev/input/event2).
(3) Calibration reads /dev/fb0. Your system needs to support frame buffer.
quotaholic
Administrator
Administrator
 
Posts: 555
Joined: Tue Mar 24, 2009 9:11 pm

Re: Touchscreen calibration

Postby damwashere » Tue Aug 16, 2011 12:28 pm

This is extremely interesting. I am reminded of "gpsd," which works with multiple gps devices and gives a standardized interface to applications.

Which OSs have you tried this on?

DAM
damwashere
Newbie
Newbie
 
Posts: 29
Joined: Sat Apr 23, 2011 6:49 am

Re: Touchscreen calibration

Postby quotaholic » Tue Aug 16, 2011 2:55 pm

Tried this on debian 6 and ran in to limitations on the penmount side. Their latest driver did not include evtest although the readme indicated it was included. The result was that their driver did not report to the linux input layer. IE /dev/input/eventX. This is exactly what tslib needs to be able to work. After reporting this to their driver team they sent me a small package, including source, which has a small script that should work with the repository and their own penmount driver package.

I must have exchanged 30 emails with them since starting a debian 6 build. The end result, although not clearly proven yet, is that their drivers MAY not be i586 compatible. So we have been working on a way to get the penmount kernel driver to work on tslib instead of their gCal utility.

I was hoping to update this thread with a how to but I have just not gotten that far as of yet. Seems life threw me a curve ball recently and I went through an eviction last week. Staying in a temporary situation currently and all my tablets / electronics are in a self storage unit. If you want to give it a shot let me know, I can send you some copied instructions from the masses of emails as well as the script that I recently received to get the penmount kernel driver to report to the input layer. tslib is tiny in size so I am really hopeful that this will work. All attempts (even ubuntu and other drivers) I have made after my initial debian 6 build have not resulted well so this is pretty important to get functioning.
quotaholic
Administrator
Administrator
 
Posts: 555
Joined: Tue Mar 24, 2009 9:11 pm


Return to Linux on a WebDT366?

Who is online

Users browsing this forum: No registered users and 2 guests

cron

x