max at bruningsystems.com wrote:
> I have a working USB version on Solaris.  But I am re-writing to get rid of
> all of the GPL code that is being used.  The comment about the USB hid 
> device
> above basically says that this can all be done in the xdrv code (user 
> level) and
> that a kernel driver (STREAMS module) is not needed.   I have a STREAMS 
> module
> that is pushed on top of hid to do some ioctl's, and that will probably 
> go away
> when I figure out how to do it directly with hid.  To be honest, I'm not 
> sure what
> Albert's change does, except for the compilation.

The USB keyboard and mouse drivers are streams modules that are pushed on
top of hid devices to convert the USB HID protocol to the Solaris VUID
protocol, which allowed them to then appear as /dev/kbd & /dev/mouse
without requiring any changes to users such as the X server.

If you wanted the Wacom driver to appear as a standard mouse to X servers
and other users of /dev/mouse who don't know any better, you could do the
same, but if you only want it to appear when specifically looking for
a tablet, then I don't think any such module would be needed.   (But then,
I've only worked on this from the X server side, never from the kernel
plumbing side.)

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to