RE: Pushing recalibrated values to the Xserver
Title: Message Sudeep, to ensure this you have to restart the Xserver. or you know exactly how the touchscreen driver works. Veikko -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Saturday, June 11, 2005 9:03 AMTo: devel@XFree86.OrgSubject: RE: Pushing recalibrated values to the Xserver Hello Everyone, Would somebody be able to help me with this ? Any guidance to where I could find out more information will also be greatly appreciated.. - S u d e e p V All I ask is a chance to prove that money cant make me happy. -Original Message- Hello, The touchscreen calibration routine that I use refreshes the pointercal file. How do I ensure that the Xserver picks up these new values ?? - S u d e e p V A system of morality which is based on relative emotional values is a mere illusion, a thoroughly vulgar conception which has nothing sound in it and nothing true.-Socrates.
RE: Live Touchscreen Calibration [WAS: magictouch touch screen driver]
Hi, actually a great thing to have, but not that easy. The main problem is, that the driver itself has to be disabled. - this can be solved by quitting X and doing a calibration with touchcal - the other possibility is (I don't know how) to disable the driver while running X and then doing the calibration. and finally enable the driver again Maybe this is not possible. There is no function to disable a pointer device while running X. So you could add a feedback function to gain access to the driver and have a enable/disable routine. Veikko -Original Message- From: Fred Gleason [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 7:10 AM To: devel@XFree86.Org Subject: Live Touchscreen Calibration [WAS: magictouch touch screen driver] On Tuesday 07 June 2005 16:04, Tristan Van Berkom wrote: Since touchscreen drivers seem to be getting back in style, maybe we should write up some live calibration support ;-) I'm game. I've actually been toying with the idea of doing something like this for the ELO drivers for some time. Before I go charging off and reinventing the wheel, does anything simiklar to this exist already? Ideally, it should be sufficiently generic that any input device that uses absolute coordinates will be able to use it. Cheers! |- | | Frederick F. Gleason, Jr. | Director of Broadcast Software Development | | | Salem Radio Labs | |- | | Easiest Color to Solve on a Rubik's Cube: | |Black. Simply remove all the little colored stickers on the | | cube, and each of side of the cube will now be the original color of| | the plastic underneath -- black. According to the instructions, this | | means the puzzle is solved. | |-- Steve Rubenstein | |- | ___ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel ___ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel
RE: Touch Input Driver port 3.3.6 - 4.x
There are no default Xmin/Max Ymin/Max values for any resistive touch devices. A good possibility would be to include a calibration routine into the driver if possible. Veikko -Original Message- From: Sergey Babkin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 21, 2005 2:52 AM To: devel@XFree86.Org Subject: Re: Touch Input Driver port 3.3.6 - 4.x Fred Gleason wrote: On Wednesday 18 May 2005 18:48, Quentin Olson wrote: I have the source for an old input driver that was written for XFree86 3.3.6 that I would like to use under 4.x (4.5). Is there any documentation on what is required, howtos, etc.? Which touch hardware in particular are you trying to support? A driver for the USB-based ELOs was just recently added. BTW, the serial ELO driver could benefit by setting the defaults X and Y ranges correctly. They are something like 300 to 3700, same as for USB. I can look up the exact values in the ELO docs if anybody cares. Or maybe they are already correct now - I haven't checked it for a while. -SB ___ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel ___ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel
RE: RE: Touch Input Driver port 3.3.6 - 4.x
Sergey, but anyway if your touchscreen is mounted in the wrong way the pointer will then not follow your fingertips this is from xf86Elo.c /* *** * * Default constants. * *** */ #define ELO_MAX_TRIALS 3 /* Number of timeouts waiting for a */ /* pending reply. */ #define ELO_MAX_WAIT10 /* Max wait time for a reply (microsec) */ #define ELO_UNTOUCH_DELAY 5 /* 100 ms */ #define ELO_REPORT_DELAY1 /* 40 ms or 25 motion reports/s */ #define ELO_LINK_SPEED B9600 /* 9600 Bauds */ #define ELO_PORT/dev/ttyS1 #define DEFAULT_MAX_X 3000 #define DEFAULT_MIN_X 600 #define DEFAULT_MAX_Y 3000 #define DEFAULT_MIN_Y 600 -Original Message- From: Sergey Babkin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 25, 2005 2:16 PM To: Veikko Werner; [EMAIL PROTECTED]; devel@XFree86.Org Subject: Re: RE: Touch Input Driver port 3.3.6 - 4.x From: Veikko Werner [EMAIL PROTECTED] There are no default Xmin/Max Ymin/Max values for any resistive touch devices. A good possibility would be to include a calibration routine into the driver if possible. There are manufacturer-specified ranges for both ELO and Microtouch (though I don't know if they are using the resistive technology). They may be not perfectly precise but they are good enough for the precision of a finger touch - since the fingers are much bigger than pixels, you can't touch a particular pixel anyway. For ELO the range is around from 300 to 3700 I don't remember the exact numbers, for Microtouch it's from 0 to 16K. The drivers have the defaults compiled into them which can be changed from XF86Config. The problem is that the ELO driver has (had?) it's defaults set to 0-16K as well, so without an explicit setting in the config file it does not work in any useful manner. -SB -Original Message- From: Sergey Babkin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 21, 2005 2:52 AM To: devel@XFree86.Org Subject: Re: Touch Input Driver port 3.3.6 - 4.x Fred Gleason wrote: On Wednesday 18 May 2005 18:48, Quentin Olson wrote: I have the source for an old input driver that was written for XFree86 3.3.6 that I would like to use under 4.x (4.5). Is there any documentation on what is required, howtos, etc.? Which touch hardware in particular are you trying to support? A driver for the USB-based ELOs was just recently added. BTW, the serial ELO driver could benefit by setting the defaults X and Y ranges correctly. They are something like 300 to 3700, same as for USB. I can look up the exact values in the ELO docs if anybody cares. Or maybe they are already correct now - I haven't checked it for a while. -SB ___ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel ___ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel