Subject: Re: Wacom tablets and NetBSD?
To: Brian de Alwis <bsd@cs.ubc.ca>
From: Geert Hendrickx <ghen@telenet.be>
List: netbsd-users
Date: 01/22/2007 18:37:18
On Wed, Jan 03, 2007 at 01:37:28PM -0600, Brian de Alwis wrote:
> We had a Graphire3 6x8 here which I gave a brief whirl under NetBSD.
> 
> I tried it using ScanScribe <www.parc.com/isl/groups/pda/scanscribe>, a
> nifty Java app.  I didn't use it with inkscape or gimp, so I can't comment
> on those in particular.  But I didn't find the tablet terribly compelling --
> I found managing hand-eye coordination difficult.  One of my colleagues here
> had the same experience.  It's now gone walkabout.

I just bought a Wacom Graphire4.  This is what my (fairly GENERIC) NetBSD 3.1
kernel gives:

uhidev1 at uhub0 port 1 configuration 1 interface 0
uhidev1: WACOM CTE-440-U V4.0-3, rev 1.10/4.03, addr 3, iclass 3/1
uhidev1: 3 report ids
ums1 at uhidev1 reportid 1: 3 buttons and Z dir.
wsmouse1 at ums1 mux 0
uhid0 at uhidev1 reportid 2: input=7, output=0, feature=1
uhid1 at uhidev1 reportid 3: input=0, output=0, feature=1

As a mouse, it works out of the box (with three buttons).  However the scroll
wheel and extra buttons on the tablet don't work.  hexdump on /dev/uhid0 and
/dev/uhid1 doesn't show anything, whatever I do.

> Configuring the tablet was easy, once I'd found the settings figured
> out by Dave Huang for his 4x6, repeated at:
> 
>     http://www.talkroot.com/showthread.php?goto=lastpost&t=5344
> 
> The Graphire3 6x8 required a very tiny patch, which I submitted as
> kern/35111.  The relevant settings to my XF86Config are:

Maybe I need your patch, but mine is a Graphire4.  Could I please see your
dmesg with and without your patch applied?

>     Section "ServerLayout"
> 	Identifier  "Single (VESA)"
> 	Screen      0 "Laptop LCD (vesa)" 0 0
> 	InputDevice    "Synaptics TouchPad" "CorePointer"
> 	InputDevice    "Laptop Keyboard" "CoreKeyboard"
> 	InputDevice    "Wacom Pen" "SendCoreEvents"
> 	InputDevice    "Wacom Eraser" "SendCoreEvents"
>     EndSection
> 
>     # ...
> 
>     Section "InputDevice"
> 	Identifier  "Wacom Pen"
> 	Driver      "usbtablet"
> 	Option          "Device" "/dev/uhid0"
> 	Option      "Type" "stylus"
> 	Option      "Mode" "Absolute"
>     EndSection
> 
>     Section "InputDevice"
> 	Identifier "Wacom Eraser"
> 	Driver "usbtablet"
> 	Option "Device" "/dev/uhid0"
> 	Option "Type" "eraser"
> 	Option "Mode" "Absolute"
>     EndSection

My XFree86 doesn't have the usbtablet driver installed (although the sources
are in xsrc/), but it has a wacom driver.  Is it the same?

	Geert