List Info

Thread: Introducing support for Wacom Cintiq USB tablet




Introducing support for Wacom Cintiq USB tablet
country flaguser name
Germany
2007-10-09 11:47:50
Hi list

I got a Wacom Cintiq tablet last week and wrote a driver to
make it 
usable under FreeBSD. On the hardware side, the driver
communicates with 
the tablet via the FreeBSD USB stack. On the user side, it
implements a 
subset of the Linux input framework just large enough to
make the Linux 
Wacom X driver happy. The driver is thus compatible with the
X driver 
from the Linux Wacom project [1]. The latter driver compiles
and works 
on FreeBSD once two missing include files are copied over
from Linux.

To allow the tablet to be accessed by multiple processes
concurrently, 
the driver implements device cloning. As the tablet is
detected, it 
shows up as /dev/uwacom0. This is just a placeholder device
and cannot 
be opened. To read data from the tablet, open /dev/event0 -
that device 
node is invisible, as that is how device cloning works.

Caveats:
* Only the Cintiq is supported at this time. It would be
trivial to 
extend the driver to other Wacom models, but I don't want to
publish 
code I cannot test.
* This is my first device driver, so expect there to be
bugs. Feedback 
from people more knowledgeable is most welcome. I am
especially 
uncertain about proper locking, 64 bit support and device
cloning.
* The driver works well when X is launched via startx. When
using a 
display manager such as kdm, the monitors for some reason
are reset on X 
startup, leading to the Cintiq briefly detaching so that X
does not 
detect it. The workaround I use is to log in via kdm, log
out (at which 
point X restarts without reseting the monitors) and then log
in again.
* The Linux Wacom X driver currently does not build or work
with X.org 
7.3. You will need to portdowngrade your
x11-servers/xorg-server to 
version 1.2.0_2,1.
* From the Linux Wacom package, wacdump, the X driver,
xidump and 
xsetwacom work out of the box. wacomcpl-exec is a TCL/Tk
script that 
hardcodes some paths which need to be patched before it will
run on FreeBSD.

I have attached my driver and instructions for compiling the
Linux Wacom 
X driver. In case the binary attachment gets scrubbed by
mailman, I have 
also uploaded a copy at [2].

I hope others find this driver useful. I certainly am glad I
can stick 
with FreeBSD while enjoying the pressure and tilt
sensitivity of a Wacom 
tablet . Finally,
as writing this driver was done as part of my PhD: 
This work is financed by the "Irish Research Council
for Science, 
Engineering and Technology: funded by the National
Development Plan"

- Bartosz

[1] http://linuxwacom.
sourceforge.net/
[2] http://www.chillt.d
e/bsdwacom.tbz

_______________________________________________
freebsd-usbfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to
"freebsd-usb-unsubscribefreebsd.org"

  
Re: Introducing support for Wacom Cintiq USB tablet
country flaguser name
Germany
2007-10-26 13:32:50
I am slowly working on improving my driver. So far, it works
for the 
Cintiq and will receive Intuos 3 support after that.
Graphire 4 support 
is planned at some stage (and not very difficult to add - if
you're a 
coder), but I cannot give any timing yet.
_______________________________________________
freebsd-usbfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to
"freebsd-usb-unsubscribefreebsd.org"

Re: Introducing support for Wacom Cintiq USB tablet
user name
2007-10-26 13:18:34
Bartosz Fabianowski пишет:
> Hi list
>
> I got a Wacom Cintiq tablet last week and wrote a
driver to make it 
> usable under FreeBSD. On the hardware side, the driver
communicates 
> with the tablet via the FreeBSD USB stack. On the user
side, it 
> implements a subset of the Linux input framework just
large enough to 
> make the Linux Wacom X driver happy. The driver is thus
compatible 
> with the X driver from the Linux Wacom project [1]. The
latter driver 
> compiles and works on FreeBSD once two missing include
files are 
> copied over from Linux.
> <...>
>
> I hope others find this driver useful. I certainly am
glad I can stick 
> with FreeBSD while enjoying the pressure and tilt
sensitivity of a 
> Wacom tablet . Finally,
as writing this driver was done as part of 
> my PhD: This work is financed by the "Irish
Research Council for 
> Science, Engineering and Technology: funded by the
National 
> Development Plan"
Hello
i'm seeking for a way to make my WACOM Graphire4 (CTE-440)
running on 
freeBSD. Sadly, i'm not a coder, but would cheerfully help
you with 
testing once you take up with it.

Andrew M.
_______________________________________________
freebsd-usbfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to
"freebsd-usb-unsubscribefreebsd.org"

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )