digimend / wacom drivers do not recognize chinese clone

Bug #1562387 reported by Patola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xf86-input-wacom (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have a chinese Gaomon 860T tablet, it is a clone of a Huion H610 tablet which in turn should be supported by digimend drivers (which are installed and loaded). However, it is only partially recognized as such - xsetwacom does not recognize, but libwacom-list-local-devices does, also xinput list correctly lists them but the wacom tablet entry in system settings says "No tablet detected".

I am left-handed and I need the system settings wacom configuration to work so that I can use the tablet as left-handed tablet. This is a showstopper for me and I need that working to do my job.

Here are the commands I used. I am using stock digimend-dkms from Ubuntu repository, which seems to be up-to-date with digimend github:

[17:01] [4853] [patola@trololo /tmp]% xsetwacom --list devices
[17:01] [4854] [patola@trololo /tmp]% /usr/bin/libwacom-list-local-devices
[Device]
Name=Huion H610 Pro
DeviceMatch=usb:256c:006e:HUION PenTablet Pen;usb:256c:006e:HUION PenTablet Pad;
Class=Bamboo
Width=10
Height=6
IntegratedIn=
Layout=huion-h610-pro.svg
Styli=0xffffd;

[Features]
Reversible=true
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
StatusLEDs=
NumStrips=0
Buttons=8
[Buttons]
Left=A;B;C;D;E;F;G;H;
Right=
Top=
Bottom=
Touchstrip=
Touchstrip2=
OLEDs=
Ring=
Ring2=
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0

---------------------------------------------------------------
[Device]
Name=Huion H610 Pro
DeviceMatch=usb:256c:006e:HUION PenTablet Pen;usb:256c:006e:HUION PenTablet Pad;
Class=Bamboo
Width=10
Height=6
IntegratedIn=
Layout=huion-h610-pro.svg
Styli=0xffffd;

[Features]
Reversible=true
Stylus=true
Ring=false
Ring2=false
Touch=false
TouchSwitch=false
StatusLEDs=
NumStrips=0
Buttons=8
[Buttons]
Left=A;B;C;D;E;F;G;H;
Right=
Top=
Bottom=
Touchstrip=
Touchstrip2=
OLEDs=
Ring=
Ring2=
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0

---------------------------------------------------------------
[17:01] [4855] [patola@trololo /tmp]% dpkg -l | grep digimend
ii digimend-dkms 6 all A collection of graphics tablet drivers by DIGImend project
[17:04] [4856] [patola@trololo /tmp]% xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ USB USB Keykoard id=9 [slave pointer (2)]
⎜ ↳ ImPS/2 Generic Wheel Mouse id=10 [slave pointer (2)]
⎜ ↳ HUION PenTablet Pad id=11 [slave pointer (2)]
⎜ ↳ HUION PenTablet Pen id=12 [slave pointer (2)]
⎜ ↳ HUION PenTablet Mouse id=13 [slave pointer (2)]
⎜ ↳ HUION PenTablet Consumer Control id=16 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Power Button id=7 [slave keyboard (3)]
    ↳ USB USB Keykoard id=8 [slave keyboard (3)]
    ↳ HUION PenTablet System Control id=14 [slave keyboard (3)]
    ↳ HUION PenTablet Keyboard id=15 [slave keyboard (3)]
[17:04] [4857] [patola@trololo /tmp]%

Revision history for this message
Patola (patola) wrote :

bound it to the package containing xsetwacom

affects: transgui (Ubuntu) → xf86-input-wacom (Ubuntu)
Revision history for this message
Patola (patola) wrote :

I apologize, I did not tell my computer configuration:
Ubuntu 15.10 64 bits with all patches applied
[17:25] [4958] [patola@trololo patola]% lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily

Revision history for this message
Patola (patola) wrote :

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.

Revision history for this message
Jason Gerecke (killertofu) wrote :

The xorg.conf.d configuration files are applied one after the other, so your edits to 10-evdev.conf should be unnecessary (since the settings from your 50-huion.conf file will be applied after it). I would suggest filing a bug with linuxwacom (on Sourceforge) indicating that Huion tablets are not covered by the 50-wacom.conf file like other tablets.

Revision history for this message
Patola (patola) wrote :

Jason,

The edits on 10-evdev.conf are not unnecessary. If general-purpose drivers are loaded before the huion drivers, the huion drivers are not loaded. The catch-all rule in 10-evdev.conf prevents the correct drivers from being loaded.

I'll see if I file a bug report in linuxwacom to see if they can integrate the huion entries. Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.