Writing Touchscreen calibration utility
Sergei Mutovkin
msergei at gmail.com
Thu Sep 16 19:21:43 PDT 2004
On Wed, 15 Sep 2004 16:57:15 -0400, Tristan Van Berkom
<vantr at touchtunes.com> wrote:
>
>If its any help, when I wrote my calibration I used a named pipe
>to transmit raw values to the calibration app from the server,
>this was tricky because the libc wrapper did not support
>non-blocking io, its an easy fix though, just look at
> ...xfree86/os-support/linux/libc_wrapper.c &
> ...xfree86/os-support/xf86_libc.h
After googling a bit more it seems that it is impossible to unload and
load drivers on the fly in X... :(
Tristan, was your calibration utility closed source?
I think that named pipe will be my only approach. The only other
choice, which seems to be quite difficult, is to create a duplicate
ttyS in kernel and read it normally.
Something else that might be also be required to do is to use a 2nd
configuration file for use only by EloTouch X driver an it will
re-read configuration from it...
One question though, why do I need libc wrapper at all???
Thank you,
Sergei
More information about the xorg
mailing list