Network Tablet not appearing in Wayland GIMP?



  • My understanding is that the GfxTablet driver should work on a Wayland desktop. I am able to make the driver and run it with sudo ./networktablet. When I move around on my phone, coordinates are logged to the networktablet terminal on my desktop.

    But when I launch GIMP and select Edit > Input Devices, there is no "Network Tablet" option.

    The installation instructions suggest running xinput list to test that the device is found. Of course, xinput is an X.org application. How can I check that Network Tablet is appearing as expected under Wayland? Or provide useful feedback if it is not?

    Related: https://unix.stackexchange.com/questions/426944



  • Output from sudo libinput list-devices | grep Device ...

    libinput error: event17 - Network Tablet: libinput bug: missing tablet capabilities: resolution.Ignoring this device.
    

    I tried starting the driver and device in a different order, in case resolution isn't set until the device first connects, but the error remains.

    Is there any additional info I can provide to help debug this?



  • Following the advice found here:

    https://www.reddit.com/r/SolusProject/comments/86vmjf/gfxtablet_doesnt_work/

    the device will show in xinput by adding an entry in (on Ubuntu) /lib/udev/hwdb.d

    However it is mistakenly shown as a keyboard:

    /var/log/Xorg.0.log:
    
    135035.476] (II) config/udev: Adding input device Network Tablet (/dev/input/mouse1)
    [135035.476] (II) No input driver specified, ignoring this device.
    [135035.476] (II) This device may have been added with another device file.
    [135035.564] (II) config/udev: Adding input device Network Tablet (/dev/input/event17)
    [135035.564] (**) Network Tablet: Applying InputClass "evdev tablet catchall"
    [135035.564] (**) Network Tablet: Applying InputClass "libinput tablet catchall"
    [135035.564] (II) Using input driver 'libinput' for 'Network Tablet'
    [135035.565] (**) Network Tablet: always reports core events
    [135035.565] (**) Option "Device" "/dev/input/event17"
    [135035.565] (**) Option "_source" "server/udev"
    [135035.565] (II) event17 - Network Tablet: is tagged by udev as: Tablet
    [135035.584] (II) event17 - Network Tablet: tablet 'Network Tablet' unknown to libwacom
    [135035.584] (II) event17 - Network Tablet: device is a tablet
    [135035.584] (II) event17 - Network Tablet: device removed
    [135035.620] (**) Option "config_info" "udev:/sys/devices/virtual/input/input26/event17"
    [135035.620] (II) XINPUT: Adding extended input device "Network Tablet" (type: TABLET, id 13)
    [135035.621] (II) event17 - Network Tablet: is tagged by udev as: Tablet
    [135035.637] (II) event17 - Network Tablet: tablet 'Network Tablet' unknown to libwacom
    [135035.637] (II) event17 - Network Tablet: device is a tablet
    
    evemu-describe /dev/input/event17:
    
    
    # EVEMU 1.3
    # Kernel: 4.15.0-29-generic
    # DMI: dmi:bvnAmericanMegatrendsInc.:bvrE1783IMS.113:bd01/08/2016:svnMicro-StarInternationalCo.,Ltd.:pnGT72S6QF:pvrREV1.0:rvnMicro-StarInternationalCo.,Ltd.:rnMS-1783:rvrREV1.0:cvnMicro-StarInternationalCo.,Ltd.:ct10:cvrN/A:
    # Input device name: "Network Tablet"
    # Input device ID: bus 0x06 vendor 0x01 product 0x01 version 0x01
    # Size in mm: 218x218
    # Supported events:
    #   Event type 0 (EV_SYN)
    #     Event code 0 (SYN_REPORT)
    #     Event code 1 (SYN_CONFIG)
    #     Event code 2 (SYN_MT_REPORT)
    #     Event code 3 (SYN_DROPPED)
    #     Event code 4 ((null))
    #     Event code 5 ((null))
    #     Event code 6 ((null))
    #     Event code 7 ((null))
    #     Event code 8 ((null))
    #     Event code 9 ((null))
    #     Event code 10 ((null))
    #     Event code 11 ((null))
    #     Event code 12 ((null))
    #     Event code 13 ((null))
    #     Event code 14 ((null))
    #     Event code 15 (SYN_MAX)
    #   Event type 1 (EV_KEY)
    #     Event code 320 (BTN_TOOL_PEN)
    #     Event code 330 (BTN_TOUCH)
    #     Event code 331 (BTN_STYLUS)
    #     Event code 332 (BTN_STYLUS2)
    #   Event type 3 (EV_ABS)
    #     Event code 0 (ABS_X)
    #       Value        0
    #       Min          0
    #       Max      65535
    #       Fuzz         0
    #       Flat         0
    #       Resolution 300
    #     Event code 1 (ABS_Y)
    #       Value        0
    #       Min          0
    #       Max      65535
    #       Fuzz         0
    #       Flat         0
    #       Resolution 300
    #     Event code 24 (ABS_PRESSURE)
    #       Value        0
    #       Min          0
    #       Max      32767
    #       Fuzz         0
    #       Flat         0
    #       Resolution   0
    # Properties:
    N: Network Tablet
    I: 0006 0001 0001 0001
    P: 00 00 00 00 00 00 00 00
    B: 00 0b 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 01 1c 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 01 00 00 00 00 00 00 00 00
    B: 02 00 00 00 00 00 00 00 00
    B: 03 03 00 00 01 00 00 00 00
    B: 04 00 00 00 00 00 00 00 00
    B: 05 00 00 00 00 00 00 00 00
    B: 11 00 00 00 00 00 00 00 00
    B: 12 00 00 00 00 00 00 00 00
    B: 14 00 00 00 00 00 00 00 00
    B: 15 00 00 00 00 00 00 00 00
    B: 15 00 00 00 00 00 00 00 00
    A: 00 0 65535 0 0 300
    A: 01 0 65535 0 0 300
    A: 18 0 32767 0 0 0
    
    xinput list:
    
    
    ⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
    ⎜   ↳ SynPS/2 Synaptics TouchPad              	id=11	[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)]
        ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard            	id=10	[slave  keyboard (3)]
        ↳ MSI WMI hotkeys                         	id=12	[slave  keyboard (3)]
        ↳ Network Tablet                          	id=13	[slave  keyboard (3)]
    


  • Hello @d3vid, you might like to try the changes I made in pull request 95, which use the newer Linux kernel ioctls for configuring uinput devices. I made the changes in response to the "missing tablet capabilities: resolution" error, just as you saw in your list-devices output. After the changes, my setup recognises the tablet and I see it in gimp and inkscape.