However, I was able to get progress on this issue: now xsetwacom works.
What was happening is that the first dbus entry for evdev had a catchall
rule for tablets which assigned evdev drivers to the tablet before the
wacom drivers would have a chance.

So I editted:
/usr/share/X11/xorg.conf.d/10-evdev.conf

and commented the catchall tablet rules and then added
/usr/share/X11/xorg.conf.d/50-huion.conf

With these contents:
# Huion tablets
Section "InputClass"
    Identifier "Huion class"
    MatchProduct "HUION"
    MatchIsTablet "on"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"
EndSection

Section "InputClass"
    Identifier "Huion buttons"
    MatchProduct "HUION"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
EndSection

Section "InputClass"
    Identifier "Huion scroll"
    MatchProduct "HUION"
    MatchIsPointer "off"
    MatchIsKeyboard "off"
    MatchIsTouchpad "off"
    MatchIsTablet "off"
    MatchIsTouchscreen "off"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
EndSection

And now the tablet is recognized by xsetwacom:
[17:31] [4961] [patola@trololo patola]% xsetwacom --list                        
        
HUION PenTablet Pen stylus              id: 10  type: STYLUS    
HUION PenTablet Pad pad                 id: 11  type: PAD       

However, the System Settings Wacom entry still does not recognize it,
"No tablet detected". I guess I will have to do it manually in the
meanwhile?

BTW, this is issue #26 from digimend drivers:
https://github.com/DIGImend/digimend-kernel-drivers/issues/26

So there IS a bug to be fixed in xserver-xorg-core:
/usr/share/X11/xorg.conf.d/10-evdev.conf and huion configuration.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xf86-input-wacom in Ubuntu.
https://bugs.launchpad.net/bugs/1562387

Title:
  digimend / wacom drivers do not recognize chinese clone

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1562387/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to