Re: TC1000 & Gentoo: xf86-input-tc1kpen X11 driver calibration

From: Václav Krpec <vaclav.krpec_at_acision.com>
Date: Mon, 07 Jan 2008 11:03:54 +0100

Hello aka.bugle,

I'm glad to hear that you also made the NVIDIA driver working;
at least I'm not alone... :-)
I run Linux kernel 2.6.20, so as it seems, the nvidia driver
isn't compatible with recent kernels; what a shame. :-(
Still, 2.6.20 supports all I need so far, so I'll probably
be more conservative with TC1000 than with my other systems
with Gentoo which I keep up-to-date.

aka.bugle wrote:
> As far as your pen script and driver... I've loaded the script and
> conf and X driver... BUT no go! I've used your xorg.conf settings for
> the Nvidia card (however I think your screen settings are wrong they
> should be...
>
> Section "Monitor"
> Identifier "TC1000 LCD"
> HorizSync 29.000-49.000
> VertRefresh 43.000-60.000
> Option "DPMS"
> Endsection

Right; I didn't have to correct that as nvidia driver is able to correct
Monitor V/H refresh on its own, but thanks anyway...

> The perl script (in a root console, X not running, or loaded) only
> seems to read the stylus at the center of the screen, anywhere outside
> of about a 3" area in the center of the screen gives no readout from
> the pen. The digitizer is ok because the bios calibration tool
> performs normally. Any ideas?

I'd guess that the serial device settings may need some tweeking.
The Perl script only reads the tablet serial device and decodes
the input. If it doesn't react to pen at all, then it seems that
there is no data available on the serial device, really.
To be absolutely sure, you may try to uncomment lin 117 in the script;
this way, each packet read from the device will be dumped to the screen.

Maybe I did a mistake while porting David Kuehling's fpi2002 script
to Gentoo runscript. I suggest you try David's original setup script
first and run tc1kpen_calib.pl again; let's see what happens.

If the result remains the same, you may try to use the obsolete fpi2002
kernel module just to be sure, although I doubt that it would mean much
of a change.

David (Kuehling), what do you think about it?

To xf86-input-tc1kpen: does it do anything at all? I mean does it react
on the pen in the 3 inches area you've written about at least? If the
calib. utility does, then the driver should, too.

Include /var/log/Xorg.0.log and /etc/X11/xorg.conf better too in your
reports.

Does the former driver tc1k-1.1 (zw1 patch maybe) work for you?
Does it at least detect the pen movement? (For me, it did, but
transformation of the HW coords to X screen coords was wrong).

Hope we'll fix that,

Regards,

vencik

This e-mail and any attachment is for authorised use by the intended recipient(s) only. This email contains confidential information. It should not be copied, disclosed to, retained or used by, any party other than the intended recipient. Any unauthorised distribution, dissemination or copying of this E-mail or its attachments, and/or any use of any information contained in them, is strictly prohibited and may be illegal. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender directly via email. Any emails that you send to us may be monitored by systems or persons other than the named communicant for the purposes of ascertaining whether the communication complies with the law and company policies.
Received on Mon Jan 07 2008 - 05:04:35 EST

This archive was generated by hypermail 2.2.0 : Mon Jan 07 2008 - 05:07:12 EST