nanogui: touchscreen calibration


Previous by date: 11 Mar 2002 18:37:53 -0000 Re: touchscreen calibration, Jordan Crouse
Next by date: 11 Mar 2002 18:37:53 -0000 Re: touchscreen calibration, Alex Holden
Previous in thread: 11 Mar 2002 18:37:53 -0000 Re: touchscreen calibration, Jordan Crouse
Next in thread: 11 Mar 2002 18:37:53 -0000 Re: touchscreen calibration, Alex Holden

Subject: RE: [nanogui] touchscreen calibration
From: Henry Chea ####@####.####
Date: 11 Mar 2002 18:37:53 -0000
Message-Id: <ED968F412990DE4080ADEC412897784907C6A4@gotz-fs1.semcon.se>

Ack!  Ok I'll try to clarify a little from what I know:

tpcal: comes with the microwindows package and is found in
microwin/src/contrib/GPL/tpcal  .  It is able to ask the user to tap the
touchscreen at certain points, but ultimately it does nothing more than
output seven digits to the terminal.  Actually using those seven numbers to
calibrate the touchscreen is up to the programmer to figure out.

nxcal: comes with Pixil OE.  However I was not able to get it working
properly on my platform (ADS Graphicsmaster).  My problem was that it
ignored all touchscreen inputs.

nanocal: a new calibration program made by Alex Holden.  Requires
touchscreen drivers that are adapted to use new calibration functions.


Alex, to answer your question about the ADS Graphicsmaster, yes it does use
the ucb1200 based touchscreen interface.  However, the ucb1200 interface
that is used is customized specifically for the ADS touchscreen hardware,
and thus nano-X has to use a unique touchscreen driver (mou_ads.c) specific
to my hardware.  If I try to use nano-X's ucb1x00mouse.c driver it results
in:

Error 19 opening touch panel
Cannot initialise mouse

I have no idea what needs to be done to fix the ADS platform for use with
the new calibration functionality.

In any case, I was finally able to make a crude nano-X calibration program
for my platform using ioctl to set the calibration data.

Alex, if you would like me to do more testing on my platform, I'm more than
happy to do so.  Just let me know.

Cheers,
//Henry Chea
Semcon Sweden AB

-----Original Message-----
From: Alex Holden ####@####.####
Sent: den 11 mars 2002 17:00
To: Jordan Crouse
Cc: Simon Wood; ####@####.####
Subject: Re: [nanogui] touchscreen calibration


Jordan Crouse wrote:
> I'll bet Simon means tpcal: microwin/src/contrib/GPL/tpcal

Henry mentioned an nxcal too so I thought there must be another program 
called nxcal somewhere that I hadn't seen. Oh well, I already changed it 
to nanocal in my tree.

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####

Previous by date: 11 Mar 2002 18:37:53 -0000 Re: touchscreen calibration, Jordan Crouse
Next by date: 11 Mar 2002 18:37:53 -0000 Re: touchscreen calibration, Alex Holden
Previous in thread: 11 Mar 2002 18:37:53 -0000 Re: touchscreen calibration, Jordan Crouse
Next in thread: 11 Mar 2002 18:37:53 -0000 Re: touchscreen calibration, Alex Holden


Powered by ezmlm-browse 0.20.