On torsdag 06 mars 2008, Chuck Robey wrote:
> I am trying to get a UC-Logic WP8060 (often called the Superpen, but so
> widely OEM'ed I don't really know what to call it) connected to my FreeBSD
> box. I have already done all the necessary research to begin making the
> USB-HID driver, but before I go on that trek, I need to know what parts
> are going to be done by the X11 Xinput driver. From you here on this list,
> I need these questions answered:
For Linux there is a generic protocol defined in the kernel that is sufficent
to send all information to a user-space application. If there is a
corresponding protocol for *BSD then you have a very good divider between the
kernel and X.
I know there is a USB-Wacom driver for *BSD and that might be a good help and
baseline for your work.
> 1) would you consider adding this to your present driver? (I have been
> given to understand that it isn't Wacom compatible, but I have no proof of
> that beyond that of the driver not recognizing the non-local name)
Mmm... Not Linux and not Wacom :) Why not register your own project on
sourceforge? If there's not something in common for these two drivers I
believe that keeping your own release schedule could be more beneficial for
It might also be good to have these in two different software packages to ease
packaging and maintenance for the distros.
> 2) If you would not be adding it to your driver (on a USB connection level,
> not just serial) then could you suggest any piece of your present software
> that you might recommend to me as a reasonable jumpong off point for me to
> consider modifying, to reach my goal?
> 3) Is there any documentation I might be able to use, to understand how the
> Xinput driver needs to act?
'The code is the documentation'.. Or something like that.. The documentation
that exists should be somewhere on the Xorg wiki , search for 'xinput'.
You should also check how other drivers do their initialization (and the
rest), the evdev-driver from Xorg is a good starting point, also the
hotplug-version of our driver (src/xdrvhp/...)  have had a complete
overhaul of its (de)initialization so it can be properly hotplugged. As you
are writing a new driver I'd recommend you to make it act right during
(de)init so it easily can be used when hotplugging of InputDevices are ready
for the general public.
> 4) are any of you interested in helping, at any level (even just advice) on
> my project, which is the UC-Logic WP8060 Tablet?
> Thanks for any help or advice. You should know I am disabled, and because
> of that, I go a little more slowly on coding than you might. My energy
> level on any particular day gives out before my interest does.
 git://git.debian.org/git/collab-maint/linux-wacom.git (branch 'hotplug')