[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xfree86
Subject:    Re: [XFree86] M inX, MaxX, MinY, MaxY Problem
From:       Dalibor Malek <maillist () zwickl ! net>
Date:       2004-08-31 18:03:17
Message-ID: 4134BD65.1030809 () zwickl ! net
[Download RAW message or body]

Hi Kevin,

thank you for your answer.
I tried as you said and connected my screen on the serial of my Laptop 
and then run HyperTerminal to connect to the screen.
Baud rate and so on are right.
Then I touched the screen as you described and this is what I get:

www.zwickl.net/capture.TXT

Viewed wit a Hex editor it makes even les sense.
What should I look for in there?

Thank you

Dalibor Malek



Benstead, Kevin wrote:

>Those drivers won't work with your controller.
>
>We had exactly this problem with a Elographics touch screen (I think both
>the drivers are written by the same person or based on one previously
>written).
>
>The way that Elographics recommended was to boot into DOS,  run their DOS
>calibration utility,  write down the numbers and then put them into the
>XF86Config file.
>
>However as we were running on an embedded system this was not possible.
>
>So we piped the data from the serial port on which the touch screen was
>connected into a file (once we got the baud rate correct).  We touched the
>screen in nine places.  Top left,  Middle left,  Bottom left,  Top Centre,
>Mid Centre,  Bottom centre,  Top Right,  Mid Right and bottom right.
>
>For each touch position there should be at least one and probably several
>packets of data from the touch controller.  Using a Hex editor we viewed the
>data and worked out the values of MinX, MinY, MaxX, MaxY we fed those into
>the XF86Config file.  Provided you know the order that you touched each of
>the points on the screen it's usually pretty easy to work it out.
>
>The results were pretty good.
>
>The manual for the microtouch controller SHOULD give you a run down on the
>serial protocol so you can work out how to find the X and Y co-ordinates for
>each touch.
>
>If only there were a calibration routine as part of X.  Perhaps one day
>someone will write one.  I'm not volunteering I've got enough to do.
>
>
>Kevin
>email:   kevin.benstead@thermo.com 
>Tel:       +44 (0)118 971 5032
>
>
>-----Original Message-----
>From: Dalibor Malek [mailto:maillist@zwickl.net] 
>Sent: 31 August 2004 14:50
>To: xfree86@xfree86.org
>Subject: Re: [XFree86] M inX, MaxX, MinY, MaxY Problem
>
>Hi Kevin,
>
>thank you for your answer.
>I know the site and I tried the drivers but they are not working for me.
>I'm using a EX1000SC Controller(OK not me the screen).
>There are Linux drivers for this screen but only for the 2.4.* Kernel 
>(not working with Fedora Core 2 and the 2.6.* Kernel).
>That's way I'm trying to get the standard microtouch driver to work.
>I think if I could give him the correct MinX, MaxX, MinY, MaxY settings 
>the screen would work.
>Do you know how I can get the right settings?
>
>Thank you
>
>Dalibor Malek
>
>
>
>
>Benstead, Kevin wrote:
>
>  
>
>>If you are using a 3M SC3 or SC4 touch controller you don't really want to
>>be using the microtouch driver.
>>
>>There is a much better driver at http://www.cdp1802.org/mmmtouch/ which has
>>a calibration routine that does all the work for you.
>>
>>The version for Xfree4.3.0 works for 4.4.0 as well.
>>
>>
>>Kevin
>>
>>-----Original Message-----
>>From: Dalibor Malek [mailto:maillist@zwickl.net] 
>>Sent: 30 August 2004 13:22
>>To: xfree86@XFree86.Org
>>Subject: [XFree86] M inX, MaxX, MinY, MaxY Problem
>>
>>Hi All,
>>
>> 
>>
>>    
>>
>>>I'm trying to configure a 3M Touch screen.
>>>As I found out I have to use the Microtouch driver so a added the 
>>>following to my config File:
>>>
>>>Section "InputDevice"
>>>Identifier "touchscreen0"
>>>Driver "microtouch"
>>>Option "Device" "/dev/ttyS0"
>>>Option "MinX" "1412"
>>>Option "MaxX" "15184"
>>>Option "MinY" "15372"
>>>Option "MaxY" "1230"
>>>Option "ScreenNumber" "0"
>>>Option "ReportingMode" "Scaled"
>>>Option "ButtonNumber" "1"
>>>Option "SendCoreEvents"
>>>EndSection
>>>
>>>This got my Touch screen running but when I touch the screen the mouse 
>>>pointer is two or three centimetres right beside my finger.
>>>I found out that the MinX, MaxX, MinY, MaxY settings don't fit for my 
>>>screen but how can I get the right settings?
>>>When I set the MinX and MinY settings to 0 I get better result but I 
>>>think there is a way to calculate or find the right settings out 
>>>except guessing.
>>>
>>>Thank You
>>>
>>>Dalibor Malek
>>>
>>>
>>>   
>>>
>>>      
>>>
>>_______________________________________________
>>XFree86 mailing list
>>XFree86@XFree86.Org
>>http://XFree86.Org/mailman/listinfo/xfree86
>>_______________________________________________
>>XFree86 mailing list
>>XFree86@XFree86.Org
>>http://XFree86.Org/mailman/listinfo/xfree86
>>
>> 
>>
>>    
>>
>
>_______________________________________________
>XFree86 mailing list
>XFree86@XFree86.Org
>http://XFree86.Org/mailman/listinfo/xfree86
>_______________________________________________
>XFree86 mailing list
>XFree86@XFree86.Org
>http://XFree86.Org/mailman/listinfo/xfree86
>
>  
>

_______________________________________________
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic