joseluis / huion-linux-drivers

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

Cursor not mooving on HUION 2020 Kamvas 13 #92

Closed nicolalandro closed 2 years ago

nicolalandro commented 4 years ago

I buy this version of kamvas 13 and I run sudo python3 ./huion-tablet-driver.py. It works correctly and print correct value:

Finding USB device. . . Done!
Reading configuration. . . Done!
Preparing driver. . . Done!
--------------------------------------------------------------------------------
    |                Product: Tablet Monitor
 79 |         Internal model: 
 7b |         Buttons status: HK On
 c8 |        Params block #2: ????????
    |                          Max X: 58752
    |                          Max Y: 33048
    |                   Max pressure: 8191
    |                     Resolution: 5080
    |
 c9 |       Firmware version: HUION_M19f_200705
 ca |  Internal manufacturer: HUION Animation Technology Co.,ltd
--------------------------------------------------------------------------------
Setting up driver. . . Done!
    Tablet model name         GT-221 PRO
    Buttons                   ENABLED (10)
    Scrollbar                 ENABLED (1)
    Notifications:            ENABLED
        for buttons       ENABLED
        for scrollbar     disabled
    Screen                    Enabled (1920x1080)
    Current Monitor Setup     [monitor_2]
    Multi Monitor Setup       disabled
    Calling xrandr            disabled

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            < DEBUG MODE ENABLED >
Enabled by default. You can disable it by setting debug_mode = false
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SYSTEM: Linux 4.15.0-33-generic (x86_64 x86_64)
#36~16.04.1-Ubuntu SMP Wed Aug 15 17:21:05 UTC 2018

DEVICE: /dev/input/event6 ()
bus: 0003, vendor 0001, product 0001, version 0003

      ENDPOINT 0x81: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x81 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x2

TABLET CAPABILITIES:
[('SYN_REPORT', 0), ('SYN_CONFIG', 1), ('SYN_DROPPED', 3)]
[(['BTN_DIGI', 'BTN_TOOL_PEN'], 320), ('BTN_TOUCH', 330), ('BTN_STYLUS', 331), ('BTN_STYLUS2', 332)]
[(('ABS_X', 0), AbsInfo(value=0, min=0, max=0, fuzz=95352, flat=0, resolution=0)), (('ABS_Y', 1), AbsInfo(value=0, min=0, max=0, fuzz=53645, flat=0, resolution=0)), (('ABS_PRESSURE', 24), AbsInfo(value=0, min=0, max=0, fuzz=8191, flat=0, resolution=0)), (('ABS_TILT_X', 26), AbsInfo(value=0, min=0, max=0, fuzz=0, flat=0, resolution=0)), (('ABS_TILT_Y', 27), AbsInfo(value=0, min=0, max=0, fuzz=0, flat=0, resolution=0))]

VPEN:
name "Tablet Monitor Pen 150359", bus "BUS_USB", vendor "0001", product "0001", version "0003"
event types: EV_SYN EV_KEY EV_ABS

XINPUT:
⎜   ↳ Tablet Monitor Pen 150359                 id=10   [slave  pointer  (2)]
Calibrating. . . Done!

Huion Kamvas driver should now be running. . .

(Input from the tablet will be printed out)

...
08 81 b7 73 3c 49 f6 00 00 00 00 00 | X:29623 Y:18748 PRES:0246 TILT_X:000 TILT_Y:000
08 81 c4 73 3f 49 60 04 00 00 00 00 | X:29636 Y:18751 PRES:1120 TILT_X:000 TILT_Y:000
08 81 ce 73 45 49 d3 08 00 00 00 00 | X:29646 Y:18757 PRES:2259 TILT_X:000 TILT_Y:000
08 81 db 73 c2 49 54 13 00 00 00 00 | X:29659 Y:18882 PRES:4948 TILT_X:000 TILT_Y:000
08 81 df 73 db 49 e5 15 00 00 00 00 | X:29663 Y:18907 PRES:5605 TILT_X:000 TILT_Y:000
08 81 e3 73 e9 49 d6 16 00 00 00 00 | X:29667 Y:18921 PRES:5846 TILT_X:000 TILT_Y:000
08 81 e8 73 f1 49 49 17 00 00 00 00 | X:29672 Y:18929 PRES:5961 TILT_X:000 TILT_Y:000
08 81 ec 73 f5 49 98 17 00 00 00 00 | X:29676 Y:18933 PRES:6040 TILT_X:000 TILT_Y:000
08 81 f2 73 f7 49 05 18 00 00 00 00 | X:29682 Y:18935 PRES:6149 TILT_X:000 TILT_Y:000

the buttons work, but the cursor do not moving. I'm on Linux mint 18.2 (Ubuntu 18.04 LTS). What can be the problem?

nicolalandro commented 3 years ago

With the new version of xinput it just work out of the box, without driver.