joseluis / huion-linux-drivers

Linux user-space drivers for Huion Graphic Tablets
MIT License
168 stars 95 forks source link

Error running x-input #93

Open Dessinator opened 3 years ago

Dessinator commented 3 years ago

I tried running the driver after a reinstall of Ubuntu 20.04 LTS, and everything else works fine up until xrandr and xinput need to do their thing.

Finding USB device. . . Done!
Reading configuration. . . Done!
Preparing driver. . . Done!
Setting up driver. . . Done!
    Tablet model name         GT-116
    Buttons                   ENABLED (4)
    Scrollbar                 ENABLED (1)
    Notifications:            ENABLED
        for buttons       ENABLED
        for scrollbar     disabled
    Screen                    Enabled (1920x1080)
    Current Monitor Setup     [monitor_2]
    Multi Monitor Setup       ENABLED
    Calling xrandr            ENABLED

Setting up multiple monitors. . . 
Running xrandr. . . 
Running xinput. . . 
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  20
  Current serial number in output stream:  21
ERROR running the following comand:
    xinput set-prop "Tablet Monitor Pen 232024" --type=float "Coordinate Transformation Matrix" 0.5333333333333333 0 0.4666666666666667 0 1.0285714285714285 0.0 0 0 1
RETURN CODE: 1
Exception ignored in: <function InputDevice.__del__ at 0x7f91a3b6cc10>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/evdev/device.py", line 159, in __del__
  File "/usr/lib/python3/dist-packages/evdev/device.py", line 304, in close
  File "/usr/lib/python3/dist-packages/evdev/eventio_async.py", line 54, in close
  File "/usr/lib/python3.8/asyncio/events.py", line 722, in get_event_loop_policy
  File "/usr/lib/python3.8/asyncio/events.py", line 715, in _init_event_loop_policy
ImportError: sys.meta_path is None, Python is likely shutting down

I don't know if I'm missing any dependencies, i have uclogic-tools installed.