TC1000 & Gentoo: new tablet X11 driver + nvidia drivers working

From: Václav Krpec <vaclav.krpec_at_acision.com>
Date: Tue, 11 Dec 2007 14:09:39 +0100

Hello everyone,

recently, I bought myself a Compaq TC1000
and made it running fine with Gentoo Live CD 2007.0
with nvidia legacy driver (RandR orientation switching
OK together with tc1k-1.1zw1 tablet X driver).

I had to use the Live CD as I've moved and still don't
have inernet connection at home.

Then I've upgraded Gentoo (in my office), Xorg included and
the tablet driver stopped working, sadly.
I've done a few investigations and decided to re-write
the driver, because it seemed quite bad written to me
(with all the respect and thanks to authors).

Also, as nvidia-legacy drivers dissappeared from portage
and all included nvidia drivers don't work, I had to install
the working version by hand.

So, now I've got a fully working nvidia driver, RandR orientation
switching working and a brand new tablet driver ready and tested.
The driver is inspired by the tc1k-1.1zw1 driver, but rewritten
completely and (if I may say that) much more effective and clean
code. It still works on top of fpi2002 kernel module.

So, if anyone is interrested, I'll share it. I can create a HOWTO
and include the driver sources on my WEB pages as soon as I have
some time, but please let me know if you are interrested, so that
I won't do it in vain...

For now, let me just list my current working configuration:

Kernel: Linux 2.6.20-gentoo-r4
Tablet serial driver kernel module: fpi2002-0.5
Xorg tablet driver: xf86-input-tc1kpen-0.0.1 (new)
NVIDIA driver: NVIDIA-Linux-x86-1.0-7185-pkg1
X Server: xorg-server-1.4-r2

xf86-input-tc1kpen driver features:

2 buttons (tip and button) on pen (preserved emulation of 2nd button
events in combination of pen tip tablet contact, may be switched off),

3 pen-activated side buttons supported, events sent via 6 additional
buttons (3 for pen tip activation, 3 for 2nd button activation,
emulation mode above respected)

Verbose debug messages may be compiled in (don't compile by default).

Note that unlike tc1k-1.1 driver line, I've removed the possibility
of sending key events for the side buttons.
I thought it's not really needed and it seemed quite tricky to make
that working. I think that button events are enough.

Future work/considerations:

I was thinking about 3rd button emulation (just like mouse driver does).
But I didn't make that, yet; that would require a bit more complicated
back status resolving I suppose... But it's worth a consideration.

Some kind of tablet calibration application would be nice.

To be continued (if anyone interrested).

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 Tue Dec 11 2007 - 08:46:30 EST

This archive was generated by hypermail 2.2.0 : Tue Dec 11 2007 - 08:46:46 EST