joseluis / huion-linux-drivers

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

Kamvas Pro 16: [tablet_debug] config does not complete #32

Closed ghost closed 5 years ago

ghost commented 5 years ago
$ sudo ./huion-tablet-driver.py 
[sudo] password for [redacted]: 
Finding USB device. . . Done!
Reading configuration. . . Done!
Preparing driver. . . Done!
--------------------------------------------------------------------------------
 c8 |        Params block #2: ????????
    |                          Max X: 68840
    |                          Max Y: 38720
    |                   Max pressure: 8191
    |                     Resolution: 5080
    |
 c9 |       Firmware version: HUION_M183_190806
 ca |  Internal manufacturer: HUION Animation Technology Co.,ltd
--------------------------------------------------------------------------------
Setting up driver. . . Done!
        Tablet model name         DEBUG TABLET
        Buttons                   disabled (0)
        Scrollbar                 disabled (0)
        Notifications:            ENABLED
                for buttons       ENABLED
                for scrollbar     ENABLED
        Screen                    disabled

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

SYSTEM: Linux 5.0.0-29-generic (x86_64 x86_64)
#31~18.04.1-Ubuntu SMP Thu Sep 12 18:29:21 UTC 2019

DEVICE: /dev/input/event15 (py-evdev-uinput)
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=0, flat=0, resolution=0)), (('ABS_Y', 1), AbsInfo(value=0, min=0, max=0, fuzz=0, flat=0, resolution=0)), (('ABS_PRESSURE', 24), AbsInfo(value=0, min=0, max=0, fuzz=0, flat=0, resolution=0)), (('ABS_TILT_X', 26), AbsInfo(value=0, min=0, max=255, fuzz=0, flat=0, resolution=0)), (('ABS_TILT_Y', 27), AbsInfo(value=0, min=0, max=255, fuzz=0, flat=0, resolution=0))]
VPEN:
name "Tablet Monitor Pen 192413", bus "BUS_USB", vendor "0001", product "0001", version "0003", phys "py-evdev-uinput"
event types: EV_SYN EV_KEY EV_ABS
Calibrating. . . Done!

Huion Kamvas driver should now be running. . .

(Input from the tablet will ONLY be used to print it out)

Please slowly and briefly touch the LEFT UP corner of your tablet:
...
08 81 00 00 3d 01 39 01 00 00 1f f5 | X:00000 Y:00317 PRES:0313 TILT_X:031 TILT_Y:-245
08 81 00 00 45 01 04 03 00 00 1f f5 | X:00000 Y:00325 PRES:0772 TILT_X:031 TILT_Y:-245
08 81 00 00 4b 01 02 05 00 00 1f f5 | X:00000 Y:00331 PRES:1282 TILT_X:031 TILT_Y:-245
08 81 00 00 4f 01 2e 07 00 00 1f f5 | X:00000 Y:00335 PRES:1838 TILT_X:031 TILT_Y:-245
08 81 00 00 52 01 9e 08 00 00 1f f5 | X:00000 Y:00338 PRES:2206 TILT_X:031 TILT_Y:-245
08 81 00 00 55 01 a3 09 00 00 1f f5 | X:00000 Y:00341 PRES:2467 TILT_X:031 TILT_Y:-245
08 81 00 00 57 01 7d 0a 00 00 1f f5 | X:00000 Y:00343 PRES:2685 TILT_X:031 TILT_Y:-245
[...snip...]

No other corners are requested to be touched.

joseluis commented 5 years ago

Thks, that was old text. I removed the lines that created confusion.