Xsetwacom --list devices has no results, Huion Kamvas 13

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
PetrichorPerson
Level 1
Level 1
Posts: 1
Joined: Sat Feb 04, 2023 4:26 pm

Xsetwacom --list devices has no results, Huion Kamvas 13

Post by PetrichorPerson »

I have a Huion Kamvas 13 and I'm trying to configure the buttons on the tablet and stylus. To do this, I need information from xsetwacom --list devices; however, doing so gives me no outpit, despite attempting several different tutorials to try and make it do so. I'll list the details of my device as well as show you the .conf files I've made and edited in an attempt to fix this. Also, while I do have the official Linux Huion driver for my tablet, I have to keep the configuration menu for it closed because having it open means that input from my stylus is incredibly far away from where my stylus actually is with seemingly no way to fix this other than closing the menu, and any button configurations I set on there cease to work upon closing the menu. I have Xserver-xorg-input-wacom installed, and I honestly don't know which driver is managing the tablet, but either way I get input at the right spot.

Here's the output from inxi -Fxxxrz.

Code: Select all

System:
  Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: gcc v: 11.3.0
    Desktop: Cinnamon 5.6.7 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X515EA_X515EA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X515EA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: X515EA.306 date: 11/02/2021
Battery:
  ID-1: BAT0 charge: 32.6 Wh (100.0%) condition: 32.6/37.1 Wh (87.8%)
    volts: 7.8 min: 7.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: Not charging cycles: 116
CPU:
  Info: quad core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    smt: enabled arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 8 MiB
  Speed (MHz): avg: 877 high: 1011 min/max: 400/4200 cores: 1: 977 2: 841
    3: 840 4: 1011 5: 921 6: 740 7: 788 8: 905 bogomips: 38707
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: ASUSTeK
    driver: i915 v: kernel ports: active: HDMI-A-1,eDP-1 empty: DP-1
    bus-ID: 0000:00:02.0 chip-ID: 8086:9a49 class-ID: 0300
  Device-2: Sonix USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 1-3:3 chip-ID: 322e:2103 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2")
    s-diag: 1055mm (41.5")
  Monitor-1: HDMI-1 mapped: HDMI-A-1 pos: right model: Kamvas 13
    res: 1920x1080 hz: 60 dpi: 166 size: 294x165mm (11.6x6.5")
    diag: 337mm (13.3") modes: max: 1920x1080 min: 640x480
  Monitor-2: eDP-1 pos: primary,left model: AU Optronics res: 1920x1080
    hz: 60 dpi: 142 size: 344x193mm (13.5x7.6") diag: 394mm (15.5")
    modes: 1920x1080
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 22.2.5
    direct render: Yes
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 0000:00:1f.3 chip-ID: 8086:a0c8
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.0-58-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    vendor: AzureWave driver: rtl8821ce v: v5.5.2.1_35598.20191029 port: 3000
    bus-ID: 0000:02:00.0 chip-ID: 10ec:c821 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IF-ID-1: wg-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-10:5 chip-ID: 13d3:3557 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.2 sub-v: 8821 hci-v: 4.2 rev: c
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev:
    class-ID: 0104
Drives:
  Local Storage: total: 953.87 GiB used: 732.03 GiB (76.7%)
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNU010TZ size: 953.87 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 002C temp: 27.9 C
    scheme: GPT
Partition:
  ID-1: / size: 937.33 GiB used: 732.02 GiB (78.1%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 46.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 2300
Repos:
  Packages: 2744 apt: 2729 flatpak: 15
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/notion-repackaged.list
    1: deb [trusted=yes] https://apt.fury.io/notion-repackaged/ /
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vera main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
    1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:
  Processes: 309 Uptime: 21m wakeups: 1278 Memory: 15.33 GiB
  used: 4.09 GiB (26.7%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13
Tutorials have recommended that I put the following text into a file called 70-wacom.conf located at /usr/share/X11/xorg.conf.d, and I've done so.

Code: Select all

# Huion Tablet GS1331
Section "InputClass"
	Identifier "Huion Tablet GS1331"
	MatchProduct "HUION"
	MatchUSBID "256c:*"
	MatchDevicePath "/dev/input/event*"
	Driver "wacom"
EndSection
Another one I tried suggested I put the following into 99-huion950P.conf, also at /usr/share/X11/xorg.conf.d, and again I've done so.

Code: Select all

Section "InputClass"
	Identifier "Huion tablets with Wacom driver"
	MatchUSBID "256c:006d*"
	MatchIsTablet "true"
	MatchDevicePath "/dev/input/event*"
	Driver "wacom"
EndSection
I've verified several times that the information in MatchUSBID, MatchProduct, and MatchDevicePath are correct using dmesg.

My laptop is definitely detecting my tablet, considering the screen works as a second monitor and I'm getting stylus input. In addition, when I run xinput, it does show on the list.

Code: Select all

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ HUION Huion Tablet_GS1331 Stylus        	id=11	[slave  pointer  (2)]
⎜   ↳ HUION Huion Tablet_GS1331               	id=12	[slave  pointer  (2)]
⎜   ↳ USB OPTICAL MOUSE                       	id=14	[slave  pointer  (2)]
⎜   ↳ ELAN1300:00 04F3:3087 Mouse             	id=15	[slave  pointer  (2)]
⎜   ↳ ELAN1300:00 04F3:3087 Touchpad          	id=16	[slave  pointer  (2)]
⎜   ↳ HUION Huion Tablet_GS1331 Pad           	id=10	[slave  pointer  (2)]
⎜   ↳ HUION Huion Tablet_GS1331 Pen           	id=23	[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)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD         	id=13	[slave  keyboard (3)]
    ↳ Asus WMI hotkeys                        	id=17	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=18	[slave  keyboard (3)]
I've seen the digimend drivers suggested for running Huion tablets on Linux, but considering that I am getting proper stylus input (including pen pressure) with my current set-up, there is no digimend one for my specific tablet, and the last time I attempted to do anything with it it drove me to confused tears, I'm hesitant to try them again unless I'm instructions on how to use them in my specific situation.

I've also attempted to bypass xsetwacom --list devices through using xinput and xbindkeys, but I've found that the buttons on my tablet aren't detected separately from each other and they don't seem to have scancodes that I can find. I'm willing to talk about my attempts with those if you think that's the better route, but I imagine I'd have to make a new topic for that as to not go off-topic of this one.

Please let me know if I'm missing any necessary or otherwise helpful information. I'm far from a tech person and I'd have no idea if there's anything important I completely missed. I've done my best to seek out tutorials, guides, and similar questions, but unfortunately I've exhausted all I can find and I'm still having issues.
Last edited by LockBot on Fri Aug 04, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Hardware Support”