Bug 102813

Summary: HUION H610 Mouse, Keyboard and System Control libinput error: libinput bug: device does not meet tablet criteria. Ignoring this device.
Product: Wayland Reporter: Lewatoto <lewatoto>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: The output for libinput debug-input and evemu-describe
evemu-describe event 7 event 8 and event 10
output for udevadm info --export-db
libinput list-devices and event 11, 12 and 15
evemu-record event 13, 14 and 16

Description Lewatoto 2017-09-17 07:25:48 UTC
Created attachment 134286 [details]
The output for libinput debug-input and evemu-describe

I'm using Fedora 26 x64 Gnome 3.24.2

$ uname -r
4.12.12-300.fc26.x86_64

libinput --version
1.8.2

#libinput list-devices

libinput error: event7  - libinput error: HUION H610 Mouse: libinput error: libinput bug: device does not meet tablet criteria. Ignoring this device.
libinput error: event8  - libinput error: HUION H610 Keyboard: libinput error: libinput bug: device does not meet tablet criteria. Ignoring this device.
libinput error: event10 - libinput error: HUION H610 System Control: libinput error: libinput bug: device does not meet tablet criteria. Ignoring this device.

Device:           HUION H610 Pen
Kernel:           /dev/input/event5
Group:            7
Seat:             seat0, default
Size:             255x159mm
Capabilities:     tablet 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   none
Rotation:         n/a

Device:           HUION H610 Pad
Kernel:           /dev/input/event6
Group:            7
Seat:             seat0, default
Capabilities:     tablet-pad
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a
Pad:
	Rings:   0
	Strips:  0
	Buttons: 8
	Mode groups: 1 (1 modes)

Device:           HUION H610 Consumer Control
Kernel:           /dev/input/event9
Group:            7
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

xinput-list didn't work at the beginning so in a console I had to write:
export DISPLAY=:0.0

$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:13                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:13            	id=7	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ xwayland-keyboard:13                    	id=8	[slave  keyboard (3)]

Also i've add the output result for each event with evemu and libinput debug-events, if you need something else just tell me.
Comment 1 Peter Hutterer 2017-09-18 06:01:14 UTC
https://who-t.blogspot.com.au/2017/05/xinput-list-shows-xwayland-pointer.html regarding the xinput list output

I'll need the evemu-describe for the *failed* devices please, the one you attached are the ones that seem to work fine anyway. note: evemu is independent of libinput. First guess would be that this is a udev tagging issue - do you have any custom udev rules in place?
Comment 2 Lewatoto 2017-09-18 06:31:35 UTC
Created attachment 134311 [details]
evemu-describe event 7 event 8 and event 10

I attached the output of the failed events, I think I don't have any udev custom rules it's a fresh install of fedora.

#ls -all -R /etc/udev/
/etc/udev/:
total 7316
drwxr-xr-x.   4 root root    4096 Sep 16 22:40 .
drwxr-xr-x. 156 root root   12288 Sep 18 00:15 ..
-r--r--r--.   1 root root 7461016 Sep 16 22:40 hwdb.bin
drwxr-xr-x.   2 root root    4096 Jun 27 15:48 hwdb.d
drwxr-xr-x.   2 root root    4096 Sep  1 19:16 rules.d
-rw-r--r--.   1 root root      49 Jun 27 15:48 udev.conf

/etc/udev/hwdb.d:
total 8
drwxr-xr-x. 2 root root 4096 Jun 27 15:48 .
drwxr-xr-x. 4 root root 4096 Sep 16 22:40 ..

/etc/udev/rules.d:
total 16
drwxr-xr-x. 2 root root 4096 Sep  1 19:16 .
drwxr-xr-x. 4 root root 4096 Sep 16 22:40 ..
-rw-r--r--. 1 root root   97 Nov 11  2014 10-libkindrv.rules
-rw-r--r--. 1 root root  691 Feb 11  2017 55-primesense-usb.rules
Comment 3 Peter Hutterer 2017-09-18 06:59:46 UTC
check /usr/lib/udev/rules.d as well, /etc is usually only for local rules. All three show up fine here when added virtually and the error message suggests that ID_INPUT_TABLET is set for them when it shouldn't.

A few things to debug here: udevadm info --export-db should verify that theory, udevadm test /sys/class/input/event7 shows what actually triggers the properties. With those two we should be able to narrow it down a bit.
Comment 4 Lewatoto 2017-09-18 17:04:30 UTC
Created attachment 134320 [details]
output for udevadm info --export-db

$ ls -all -R /usr/lib/udev/rules.d/
/usr/lib/udev/rules.d/:
total 1000
drwxr-xr-x. 2 root root   4096 Sep 17 00:04 .
drwxr-xr-x. 4 root root   4096 Sep 16 22:25 ..
-r--r--r--. 1 root root   7266 May 19 05:38 10-dm.rules
-r--r--r--. 1 root root   2454 May 19 05:38 11-dm-lvm.rules
-rw-r--r--. 1 root root   2865 Jun 20 15:37 11-dm-mpath.rules
-r--r--r--. 1 root root   1499 May 19 05:38 13-dm-disk.rules
-rw-r--r--. 1 root root    553 May 16 04:44 39-usbmuxd.rules
-rw-r--r--. 1 root root 270412 Jun 14 00:15 40-libgphoto2.rules
-rw-r--r--. 1 root root    998 Feb 10  2017 40-usb-media-players.rules
-rw-r--r--. 1 root root  40478 Aug 18 03:17 40-usb_modeswitch.rules
-rw-r--r--. 1 root root    547 Apr 29  2010 50-euvccam.rules
-rw-r--r--. 1 root root   3387 Jun 27 15:48 50-udev-default.rules
-rw-r--r--. 1 root root    599 Aug 28  2016 51-kinect.rules
-rw-r--r--. 1 root root    921 Aug  4 06:51 56-hpmud.rules
-rw-r--r--. 1 root root    620 Jun 27 15:48 60-block.rules
-rw-r--r--. 1 root root   1064 Jun 27 15:48 60-cdrom_id.rules
-rw-r--r--. 1 root root    413 Jun 27 15:48 60-drm.rules
-rw-r--r--. 1 root root    999 Jun 27 15:48 60-evdev.rules
-rw-r--r--. 1 root root   2857 Dec  6  2013 60-ffado.rules
-rw-r--r--. 1 root root  16441 May 15 06:21 60-fprint-autosuspend.rules
-rw-r--r--. 1 root root    129 May 25 09:58 60-net.rules
-rw-r--r--. 1 root root    616 Jun 27 15:48 60-persistent-alsa.rules
-rw-r--r--. 1 root root   2626 Jun 27 15:48 60-persistent-input.rules
-rw-r--r--. 1 root root   6188 Jun 27 15:48 60-persistent-storage.rules
-rw-r--r--. 1 root root   1509 Jun 27 15:48 60-persistent-storage-tape.rules
-rw-r--r--. 1 root root    769 Jun 27 15:48 60-persistent-v4l.rules
-rw-r--r--. 1 root root    326 Jul 20 06:21 60-raw.rules
-rw-r--r--. 1 root root    360 Jun 27 15:48 60-sensor.rules
-rw-r--r--. 1 root root   1190 Jun 27 15:48 60-serial.rules
-rw-r--r--. 1 root root    231 Feb 13  2017 61-gnome-bluetooth-rfkill.rules
-rw-r--r--. 1 root root    292 Aug 28 08:43 61-gnome-settings-daemon-rfkill.rules
-rw-r--r--. 1 root root   2238 Jun 20 15:37 62-multipath.rules
-rw-r--r--. 1 root root   2138 Jan 12  2017 63-md-raid-arrays.rules
-rw-r--r--. 1 root root    387 Feb 10  2017 64-btrfs-dm.rules
-rw-r--r--. 1 root root    418 Jun 27 15:48 64-btrfs.rules
-rw-r--r--. 1 root root   1543 Jan 12  2017 64-md-raid-assembly.rules
-rw-r--r--. 1 root root  41301 Aug 24 20:15 65-libwacom.rules
-rw-r--r--. 1 root root   3352 Jan 12  2017 65-md-incremental.rules
-rw-r--r--. 1 root root   3934 Jun 26 03:45 65-sane-backends.rules
-rw-r--r--. 1 root root   2141 Sep 12 08:27 69-btattach-bcm.rules
-rw-r--r--. 1 root root   5104 Feb 27  2017 69-cd-sensors.rules
-r--r--r--. 1 root root   4356 May 19 05:38 69-dm-lvm-metad.rules
-rw-r--r--. 1 root root    796 Feb 10  2017 69-libftdi.rules
-rw-r--r--. 1 root root 165564 Jun 26 16:36 69-libmtp.rules
-rw-r--r--. 1 root root    589 Feb 10  2017 70-avrdude_usbprog.rules
-rw-r--r--. 1 root root    104 Feb 10  2017 70-hypervfcopy.rules
-rw-r--r--. 1 root root    100 Feb 10  2017 70-hypervkvp.rules
-rw-r--r--. 1 root root    100 Feb 10  2017 70-hypervvss.rules
-rw-r--r--. 1 root root    734 Jun 27 15:48 70-mouse.rules
-rw-r--r--. 1 root root    942 Jun 27 15:48 70-power-switch.rules
-rw-r--r--. 1 root root    378 Jun 19 12:06 70-printers.rules
-rw-r--r--. 1 root root    140 Feb 11  2017 70-spice-vdagentd.rules
-rw-r--r--. 1 root root    473 Jun 27 15:48 70-touchpad.rules
-rw-r--r--. 1 root root   2695 Jun 27 15:48 70-uaccess.rules
-rw-r--r--. 1 root root   1142 Mar  8  2017 70-wacom.rules
-rw-r--r--. 1 root root   2718 Jun 27 15:48 71-seat.rules
-rw-r--r--. 1 root root    596 Jun 27 15:48 73-seat-late.rules
-rw-r--r--. 1 root root    452 Jun 27 15:48 75-net-description.rules
-rw-r--r--. 1 root root    174 Jun 27 15:48 75-probe_mtd.rules
-rw-r--r--. 1 root root    484 Feb  9  2017 77-mm-cinterion-port-types.rules
-rw-r--r--. 1 root root    646 Feb  9  2017 77-mm-dell-port-types.rules
-rw-r--r--. 1 root root   6910 Feb  9  2017 77-mm-ericsson-mbm.rules
-rw-r--r--. 1 root root    577 Feb  9  2017 77-mm-haier-port-types.rules
-rw-r--r--. 1 root root   1734 Feb  9  2017 77-mm-huawei-net-port-types.rules
-rw-r--r--. 1 root root  13187 Feb  9  2017 77-mm-longcheer-port-types.rules
-rw-r--r--. 1 root root   2869 Feb  9  2017 77-mm-mtk-port-types.rules
-rw-r--r--. 1 root root   2024 Feb  9  2017 77-mm-nokia-port-types.rules
-rw-r--r--. 1 root root    383 Feb  9  2017 77-mm-pcmcia-device-blacklist.rules
-rw-r--r--. 1 root root    514 Feb  9  2017 77-mm-platform-serial-whitelist.rules
-rw-r--r--. 1 root root   1840 Feb  9  2017 77-mm-simtech-port-types.rules
-rw-r--r--. 1 root root   3268 Feb  9  2017 77-mm-telit-port-types.rules
-rw-r--r--. 1 root root   7245 Feb  9  2017 77-mm-usb-device-blacklist.rules
-rw-r--r--. 1 root root   2452 Feb  9  2017 77-mm-usb-serial-adapters-greylist.rules
-rw-r--r--. 1 root root   3666 Feb  9  2017 77-mm-x22x-port-types.rules
-rw-r--r--. 1 root root  14350 Feb  9  2017 77-mm-zte-port-types.rules
-rw-r--r--. 1 root root   4816 Jun 27 15:48 78-sound-card.rules
-rw-r--r--. 1 root root    618 Jun 27 15:48 80-drivers.rules
-rw-r--r--. 1 root root   1183 Feb 15  2017 80-iio-sensor-proxy.rules
-rw-r--r--. 1 root root     40 Sep  8 13:54 80-kvm.rules
-rw-r--r--. 1 root root    277 Sep  7 16:34 80-libinput-device-groups.rules
-rw-r--r--. 1 root root    972 Feb  9  2017 80-mm-candidate.rules
-rw-r--r--. 1 root root    292 Jun 27 15:48 80-net-setup-link.rules
-rw-r--r--. 1 root root   8411 Jun 20 02:46 80-udisks2.rules
-rw-r--r--. 1 root root    523 Jul 18 03:39 84-nm-drivers.rules
-rw-r--r--. 1 root root   1682 Jul 18 03:39 85-nm-unmanaged.rules
-rw-r--r--. 1 root root    295 Feb 10  2017 85-regulatory.rules
-rw-r--r--. 1 root root    479 May 16 06:56 90-alsa-restore.rules
-rw-r--r--. 1 root root   1632 Aug  3 03:45 90-fwupd-devices.rules
-rw-r--r--. 1 root root   1850 Feb 21  2017 90-libgpod.rules
-rw-r--r--. 1 root root   1747 Sep  7 16:34 90-libinput-model-quirks.rules
-rw-r--r--. 1 root root   6640 Feb 13  2017 90-pulseaudio.rules
-rw-r--r--. 1 root root    470 Jun 27 15:48 90-vconsole.rules
-rw-r--r--. 1 root root     56 Jul 19 17:14 91-drm-modeset.rules
-rw-r--r--. 1 root root    847 Feb 27  2017 95-cd-devices.rules
-r--r--r--. 1 root root    483 May 19 05:38 95-dm-notify.rules
-rw-r--r--. 1 root root   2624 Sep 11 10:36 95-upower-csr.rules
-rw-r--r--. 1 root root   8109 Sep 11 10:36 95-upower-hid.rules
-rw-r--r--. 1 root root    354 Sep 11 10:36 95-upower-wup.rules
-rw-r--r--. 1 root root    352 Jun 28 00:43 98-kexec.rules
-rw-r--r--. 1 root root    492 Mar 19  2014 99-phidgets.rules
-rw-r--r--. 1 root root    130 Sep  8 13:54 99-qemu-guest-agent.rules
-rw-r--r--. 1 root root   4307 Jun 27 15:48 99-systemd.rules
-rw-r--r--. 1 root root    306 Aug 10 15:31 99-vmware-scsi-udev.rules

Now the event number are different:

libinput error: event13 - libinput error: HUION H610 Mouse: libinput error: libinput bug: device does not meet tablet criteria. Ignoring this device.
libinput error: event14 - libinput error: HUION H610 Keyboard: libinput error: libinput bug: device does not meet tablet criteria. Ignoring this device.
libinput error: event16 - libinput error: HUION H610 System Control: libinput error: libinput bug: device does not meet tablet criteria. Ignoring this device.

udevadm test /sys/class/input/event13
calling: test
version 233
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

=== trie on-disk ===
tool version:          233
file size:         7461016 bytes
header size             80 bytes
strings            1877520 bytes
nodes              5583416 bytes
Load module index
Found container virtualization none.
timestamp of '/etc/systemd/network' changed
timestamp of '/usr/lib/systemd/network' changed
Parsed configuration file /usr/lib/systemd/network/99-default.link
Created link configuration context.
timestamp of '/etc/udev/rules.d' changed
timestamp of '/usr/lib/udev/rules.d' changed
Reading rules file: /usr/lib/udev/rules.d/10-dm.rules
Reading rules file: /etc/udev/rules.d/10-libkindrv.rules
Reading rules file: /usr/lib/udev/rules.d/11-dm-lvm.rules
Reading rules file: /usr/lib/udev/rules.d/11-dm-mpath.rules
Reading rules file: /usr/lib/udev/rules.d/13-dm-disk.rules
Reading rules file: /usr/lib/udev/rules.d/39-usbmuxd.rules
Reading rules file: /usr/lib/udev/rules.d/40-libgphoto2.rules
/usr/lib/udev/rules.d/40-libgphoto2.rules:11: IMPORT found builtin 'usb_id --export %%p', replacing
Reading rules file: /usr/lib/udev/rules.d/40-usb-media-players.rules
Reading rules file: /usr/lib/udev/rules.d/40-usb_modeswitch.rules
Reading rules file: /usr/lib/udev/rules.d/50-euvccam.rules
Reading rules file: /usr/lib/udev/rules.d/50-udev-default.rules
Reading rules file: /usr/lib/udev/rules.d/51-kinect.rules
Reading rules file: /etc/udev/rules.d/55-primesense-usb.rules
Reading rules file: /usr/lib/udev/rules.d/56-hpmud.rules
Reading rules file: /usr/lib/udev/rules.d/60-block.rules
Reading rules file: /usr/lib/udev/rules.d/60-cdrom_id.rules
Reading rules file: /usr/lib/udev/rules.d/60-drm.rules
Reading rules file: /usr/lib/udev/rules.d/60-evdev.rules
Reading rules file: /usr/lib/udev/rules.d/60-ffado.rules
Reading rules file: /usr/lib/udev/rules.d/60-fprint-autosuspend.rules
Reading rules file: /usr/lib/udev/rules.d/60-net.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-alsa.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-input.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-storage-tape.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-storage.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-v4l.rules
Reading rules file: /usr/lib/udev/rules.d/60-raw.rules
Reading rules file: /usr/lib/udev/rules.d/60-sensor.rules
Reading rules file: /usr/lib/udev/rules.d/60-serial.rules
Reading rules file: /usr/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
Reading rules file: /usr/lib/udev/rules.d/61-gnome-settings-daemon-rfkill.rules
Reading rules file: /usr/lib/udev/rules.d/62-multipath.rules
Reading rules file: /usr/lib/udev/rules.d/63-md-raid-arrays.rules
Reading rules file: /usr/lib/udev/rules.d/64-btrfs-dm.rules
Reading rules file: /usr/lib/udev/rules.d/64-btrfs.rules
Reading rules file: /usr/lib/udev/rules.d/64-md-raid-assembly.rules
Reading rules file: /usr/lib/udev/rules.d/65-libwacom.rules
Reading rules file: /usr/lib/udev/rules.d/65-md-incremental.rules
Reading rules file: /usr/lib/udev/rules.d/65-sane-backends.rules
Reading rules file: /usr/lib/udev/rules.d/69-btattach-bcm.rules
Reading rules file: /usr/lib/udev/rules.d/69-cd-sensors.rules
Reading rules file: /usr/lib/udev/rules.d/69-dm-lvm-metad.rules
Reading rules file: /usr/lib/udev/rules.d/69-libftdi.rules
Reading rules file: /usr/lib/udev/rules.d/69-libmtp.rules
Reading rules file: /usr/lib/udev/rules.d/70-avrdude_usbprog.rules
Reading rules file: /usr/lib/udev/rules.d/70-hypervfcopy.rules
Reading rules file: /usr/lib/udev/rules.d/70-hypervkvp.rules
Reading rules file: /usr/lib/udev/rules.d/70-hypervvss.rules
Reading rules file: /usr/lib/udev/rules.d/70-mouse.rules
Reading rules file: /usr/lib/udev/rules.d/70-power-switch.rules
Reading rules file: /usr/lib/udev/rules.d/70-printers.rules
Reading rules file: /usr/lib/udev/rules.d/70-spice-vdagentd.rules
Reading rules file: /usr/lib/udev/rules.d/70-touchpad.rules
Reading rules file: /usr/lib/udev/rules.d/70-uaccess.rules
Reading rules file: /usr/lib/udev/rules.d/70-wacom.rules
Reading rules file: /usr/lib/udev/rules.d/71-seat.rules
Reading rules file: /usr/lib/udev/rules.d/73-seat-late.rules
Reading rules file: /usr/lib/udev/rules.d/75-net-description.rules
Reading rules file: /usr/lib/udev/rules.d/75-probe_mtd.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-cinterion-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-dell-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-ericsson-mbm.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-haier-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-huawei-net-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-longcheer-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-mtk-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-nokia-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-pcmcia-device-blacklist.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-platform-serial-whitelist.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-simtech-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-telit-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-usb-device-blacklist.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-usb-serial-adapters-greylist.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-x22x-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-zte-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/78-sound-card.rules
Reading rules file: /usr/lib/udev/rules.d/80-drivers.rules
Reading rules file: /usr/lib/udev/rules.d/80-iio-sensor-proxy.rules
Reading rules file: /usr/lib/udev/rules.d/80-kvm.rules
Reading rules file: /usr/lib/udev/rules.d/80-libinput-device-groups.rules
Reading rules file: /usr/lib/udev/rules.d/80-mm-candidate.rules
Reading rules file: /usr/lib/udev/rules.d/80-net-setup-link.rules
Reading rules file: /usr/lib/udev/rules.d/80-udisks2.rules
Reading rules file: /usr/lib/udev/rules.d/84-nm-drivers.rules
Reading rules file: /usr/lib/udev/rules.d/85-nm-unmanaged.rules
Reading rules file: /usr/lib/udev/rules.d/85-regulatory.rules
Reading rules file: /usr/lib/udev/rules.d/90-alsa-restore.rules
Reading rules file: /usr/lib/udev/rules.d/90-fwupd-devices.rules
Reading rules file: /usr/lib/udev/rules.d/90-libgpod.rules
Reading rules file: /usr/lib/udev/rules.d/90-libinput-model-quirks.rules
Reading rules file: /usr/lib/udev/rules.d/90-pulseaudio.rules
Reading rules file: /usr/lib/udev/rules.d/90-vconsole.rules
Reading rules file: /usr/lib/udev/rules.d/91-drm-modeset.rules
Reading rules file: /usr/lib/udev/rules.d/95-cd-devices.rules
Reading rules file: /usr/lib/udev/rules.d/95-dm-notify.rules
Reading rules file: /usr/lib/udev/rules.d/95-upower-csr.rules
Reading rules file: /usr/lib/udev/rules.d/95-upower-hid.rules
Reading rules file: /usr/lib/udev/rules.d/95-upower-wup.rules
Reading rules file: /usr/lib/udev/rules.d/98-kexec.rules
Reading rules file: /usr/lib/udev/rules.d/99-phidgets.rules
Reading rules file: /usr/lib/udev/rules.d/99-qemu-guest-agent.rules
Reading rules file: /usr/lib/udev/rules.d/99-systemd.rules
Reading rules file: /usr/lib/udev/rules.d/99-vmware-scsi-udev.rules
rules contain 393216 bytes tokens (32768 * 12 bytes), 39518 bytes strings
45131 strings (366041 bytes), 41255 de-duplicated (330400 bytes), 3877 trie nodes used
IMPORT builtin 'input_id' /usr/lib/udev/rules.d/50-udev-default.rules:14
capabilities/ev raw kernel attribute: 17
capabilities/abs raw kernel attribute: 0
capabilities/rel raw kernel attribute: 143
capabilities/key raw kernel attribute: 1f0000 0 0 0 0
properties raw kernel attribute: 0
test_key: checking bit block 0 for any keys; found=0
test_key: checking bit block 64 for any keys; found=0
test_key: checking bit block 128 for any keys; found=0
test_key: checking bit block 192 for any keys; found=0
GROUP 999 /usr/lib/udev/rules.d/50-udev-default.rules:30
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/60-evdev.rules:8
IMPORT builtin 'hwdb' returned non-zero
value '[dmi/id]modalias' is 'dmi:bvnHewlett-Packard:bvrF.37:bd04/07/2011:svnHewlett-Packard:pnHPG42NotebookPC:pvr0599120000202710010010100:rvnHewlett-Packard:rn1425:rvr54.57:cvnHewlett-Packard:ct10:cvrN/A:'
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/60-evdev.rules:17
IMPORT builtin 'hwdb' returned non-zero
value '[dmi/id]modalias' is 'dmi:bvnHewlett-Packard:bvrF.37:bd04/07/2011:svnHewlett-Packard:pnHPG42NotebookPC:pvr0599120000202710010010100:rvnHewlett-Packard:rn1425:rvr54.57:cvnHewlett-Packard:ct10:cvrN/A:'
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/60-evdev.rules:21
IMPORT builtin 'hwdb' returned non-zero
IMPORT builtin 'usb_id' /usr/lib/udev/rules.d/60-persistent-input.rules:9
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1: if_class 3 protocol 0
LINK 'input/by-id/usb-HUION_H610-if01-event-mouse' /usr/lib/udev/rules.d/60-persistent-input.rules:27
IMPORT builtin 'path_id' /usr/lib/udev/rules.d/60-persistent-input.rules:33
LINK 'input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.1-event-mouse' /usr/lib/udev/rules.d/60-persistent-input.rules:35
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/70-mouse.rules:10
IMPORT builtin 'hwdb' returned non-zero
PROGRAM 'libinput-device-group /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:256C:006E.0002/input/input14/event13' /usr/lib/udev/rules.d/80-libinput-device-groups.rules:7
starting 'libinput-device-group /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:256C:006E.0002/input/input14/event13'
'libinput-device-group /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:256C:006E.0002/input/input14/event13'(out) '3/256c/6e/111:usb-0000:00:1d.0-1'
Process 'libinput-device-group /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:256C:006E.0002/input/input14/event13' succeeded.
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/90-libinput-model-quirks.rules:34
IMPORT builtin 'hwdb' returned non-zero
value '[dmi/id]modalias' is 'dmi:bvnHewlett-Packard:bvrF.37:bd04/07/2011:svnHewlett-Packard:pnHPG42NotebookPC:pvr0599120000202710010010100:rvnHewlett-Packard:rn1425:rvr54.57:cvnHewlett-Packard:ct10:cvrN/A:'
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/90-libinput-model-quirks.rules:42
IMPORT builtin 'hwdb' returned non-zero
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/90-libinput-model-quirks.rules:46
IMPORT builtin 'hwdb' returned non-zero
handling device node '/dev/input/event13', devnum=c13:77, mode=0660, uid=0, gid=999
preserve permissions /dev/input/event13, 020660, uid=0, gid=999
preserve already existing symlink '/dev/char/13:77' to '../input/event13'
found 'c13:77' claiming '/run/udev/links/\x2finput\x2fby-id\x2fusb-HUION_H610-if01-event-mouse'
creating link '/dev/input/by-id/usb-HUION_H610-if01-event-mouse' to '/dev/input/event13'
preserve already existing symlink '/dev/input/by-id/usb-HUION_H610-if01-event-mouse' to '../event13'
found 'c13:77' claiming '/run/udev/links/\x2finput\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.2:1.1-event-mouse'
creating link '/dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.1-event-mouse' to '/dev/input/event13'
preserve already existing symlink '/dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.1-event-mouse' to '../event13'
created db file '/run/udev/data/c13:77' for '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:256C:006E.0002/input/input14/event13'
.INPUT_CLASS=mouse
.MM_USBIFNUM=01
ACTION=add
DEVLINKS=/dev/input/by-id/usb-HUION_H610-if01-event-mouse /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.1-event-mouse
DEVNAME=/dev/input/event13
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:256C:006E.0002/input/input14/event13
ID_BUS=usb
ID_INPUT=1
ID_INPUT_MOUSE=1
ID_INPUT_TABLET=1
ID_MODEL=H610
ID_MODEL_ENC=H610
ID_MODEL_ID=006e
ID_PATH=pci-0000:00:1d.0-usb-0:1.2:1.1
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1
ID_REVISION=0000
ID_SERIAL=HUION_H610
ID_TYPE=hid
ID_USB_DRIVER=usbhid
ID_USB_INTERFACES=:030102:030000:
ID_USB_INTERFACE_NUM=01
ID_VENDOR=HUION
ID_VENDOR_ENC=HUION
ID_VENDOR_ID=256c
LIBINPUT_DEVICE_GROUP=3/256c/6e/111:usb-0000:00:1d.0-1
MAJOR=13
MINOR=77
SUBSYSTEM=input
USEC_INITIALIZED=51433030
Unload module index
Unloaded link configuration context.
Comment 5 Peter Hutterer 2017-09-19 01:12:37 UTC
In the future, please attach this stuff, scrolling through a bug that long is... confusing. Attachments can be downloaded easily and searched for.

Found the issue, it's caused by libwacom which ships the 65-libwacom.rules that assign the ID_INPUT_TABLET tag to all devices with the H610's pid/vid combination.

But I have to ask - those event nodes for mouse, keybard, system control - do they actually send events?
Comment 6 Lewatoto 2017-09-25 03:07:27 UTC
sorry for the delay, but today that i've try to check if event nodes for mouse, keybard, system control send events, and all seems to work fine, i just updated inkscape, my problem was i had two cursors when I use the tablet, and pressure don't  work, but now all works fine, do you need me to upload some information from my tablet so you can see if the correction of the problem is definitive?
Comment 7 Peter Hutterer 2017-09-25 03:49:31 UTC
run evemu-record against all the device nodes please and tell me which ones send events. "all seems to work fine" isn't quite enough for me to make a decision :)

You have two cursors for the tablet because that is what GNOME does under Wayland for tablets. That's expected behaviour, albeit maybe a bit confusing at first.

As for pressure: the libinput debug-events output in comment #0 shows that pressure is sent by libinput. Could be a scaling issue if the tablet doesn't use it's announced range. You can verify this yourself by running evemu-record and look at the ABS_PRESSURE values. Those should be between 0 and 2048, the latter on a really hard press.
Comment 8 Lewatoto 2017-09-25 04:28:09 UTC
Created attachment 134455 [details]
libinput list-devices and event 11, 12 and 15
Comment 9 Lewatoto 2017-09-25 04:33:00 UTC
Created attachment 134456 [details]
evemu-record event 13, 14 and 16

with this events only shows something when i click on the button that is near to the tip, and show this:

B: 12 00 00 00 00 00 00 00 00

and sometimes only a new line.
Comment 10 Peter Hutterer 2017-09-25 04:52:36 UTC
(In reply to Lewatoto from comment #8)
> Created attachment 134455 [details]
> libinput list-devices and event 11, 12 and 15

this log shows the pressure value goes up to 2048, so this indicates that at least at the libinput level things are working as they should.


> B: 12 00 00 00 00 00 00 00 00

That's part of the device description, not an event. Could it be that you're triggering a middle button and it simply pastes what you had highlighted? That button you're talking about should send BTN_STYLUS or BTN_STYLUS2 on the "HUION H610 Pen" device
Comment 11 Lewatoto 2017-09-25 06:38:49 UTC
ok, first thanks for the help and how do I proceed from now on, upload some other information from my tablet or keep working and in case it doesn't work again, do I revive this thread?

(In reply to Peter Hutterer from comment #10)
> That button you're talking about should send BTN_STYLUS or BTN_STYLUS2 on
> the "HUION H610 Pen" device
ok
E: 1.656005 0001 0140 0000	# EV_KEY / BTN_TOOL_PEN         0
E: 1.656005 0000 0000 0000	# ------------ SYN_REPORT (0) ---------- +2ms
Comment 12 Peter Hutterer 2017-09-25 06:43:21 UTC
that's all you get? BTN_TOOL_PEN is the proximity notification and that should happen whenever the pen goes into proximity.

I think the 'solution' will be to live with the warnings. It's not really worth the effort working around those when they have no real effect and the devices that are ignored are mute devices anyway. I'll try to fix this in libwacom anyway because it should be fixed, but otherwise this seems to be a nonissue for the correct working of the tablet.
Comment 13 Peter Hutterer 2017-10-18 03:02:58 UTC
closing bug, needinfo for 3 weeks and as comment 12 says - living with the warning is the easiest. And in any case, it's a libwacom bug, see https://sourceforge.net/p/linuxwacom/bugs/348/

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.