Hi Matthieu, Thanks for the info, I'm CCing this to misc@ in case someone else can add some help.
On Wed, Sep 10, 2025 at 10:03:31AM +0200, Matthieu Herrb wrote: > On Wed, Sep 10, 2025 at 09:06:14AM +0200, Walter Alejandro Iglesias wrote: > > Hi Matthieu, > > > > Recently, I sent the message below to Frank Groeneveld, in the message > > you'll see the matter. > > > > I know Linux has xserver-xorg-input-wacom. After what Frank told me I > > searched the xenocara source and found xf86-input-usbtablet, which I > > didn't know existed. > > > > Is usbtablet the x11 layer to uwacom or it's a different driver? > > The 2 are slightly different. > > uwacom(4) provides a standard wsmouse(4) pointer interface that can be > used directly by the default xf86-input-ws(4) X input driver on > OpenBSD. The decoding of the wacom specific protocol is done in the > kernel. > > xf86-input-usbtablet(4) is an older project that aimed at supporting > USB tablets that provide a standard USB HID interface. They will not > attach as wsmouse(4) and thus you need a config file to specify the > /dev/uhid<n> device to use. > > In summary if you have a tablet that the kernel attaches as wswouse(4) > through uwwacom(4) then you don't need any configuration. If it "only" > attaches as uhid(4) then you need to setup xf86-input-usbtablet in > Xorg.conf to be able to use it under X. Can I choose to use usbtablet even when the tablet is recognized by uwacom? I tell you what I've tried. I have a Wacom Intuos4. It, works out of the box on OpenBSD except for tip pen pressure (as clarified in uwacom(4) CAVEATS). In dmesg(8) appears as reconized as uhid, so to test if the tip pressure worked with the other driver I added to /etc/X11/xorg.conf.d/ a config file with the configuration explained in usbtablet(4), but after restating a, Xorg.0.log shows no entries related. > > In both cases the code is far from complete any many tablets are not > supported at all or work poorly. Patches are welcome (but don't send > them to me only, I don't have time to work on that currently). > > > > > > > ----- Forwarded message from Frank Groeneveld <[email protected]> > > ----- > > > > From: Frank Groeneveld <[email protected]> > > Date: Tue, 9 Sep 2025 10:14:49 +0200 > > To: Walter Alejandro Iglesias <[email protected]> > > > > Hi Walter, > > > > > Op 9 sep 2025 om 09:41 heeft Walter Alejandro Iglesias > > > <[email protected]> het volgende geschreven: > > > > > > Hello Frank, > > > > > > I got this email address from OpenBSD uwacom(4) where you are listed as > > > the author of the driver. > > > > > > I wonder how difficult it might be to add tip pressure support to this > > > driver (have in mind that I'm no expert.) I ask because, if you already > > > know that there's some big obstacle, let me know, so I refrain from > > > investing time in it. ;-) > > > > I haven’t worked on this for years, but if I remember correctly this > > should first be added at the X11 layer. It might even already receive > > that data from the driver. > > > > > > > > > > > -- > > > Walter > > > > Good luck! > > Frank > > > > > > ----- End forwarded message ----- > > > > -- > > Walter > > -- > Matthieu Herrb > -- Walter

