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
Studio Bugs, which is subscribed to xf86-input-wacom in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1562387

Title:
  digimend / wacom drivers do not recognize chinese clone

Status in xf86-input-wacom package in Ubuntu:
  New

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]%

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/~ubuntustudio-bugs
Post to     : ubuntustudio-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntustudio-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to