DIGImend / digimend-kernel-drivers

DIGImend graphics tablet drivers for the Linux kernel
GNU General Public License v2.0
1.17k stars 173 forks source link

Can't bind Touch Strip actions on Huion HS611 with xsetwacom. #521

Open I-dont-need-name opened 3 years ago

I-dont-need-name commented 3 years ago

So I installed digimend kernel drivers from here (sudo make dkms_install) and Everything works fine, except for two buttons on the right (I don't really care about those) and touch strip. Xsetwacom list out is:

$ xsetwacom list
HUION Huion Tablet_HS611 stylus         id: 14  type: STYLUS    
HUION Huion Tablet_HS611 Pad pad        id: 15  type: PAD       
HUION Huion Tablet_HS611 Touch Strip pad        id: 16  type: PAD 

I'm trying to bind some keys to AbsWheelUp: xsetwacom set "HUION Huion Tablet_HS611 Touch Strip pad" AbsWheelUp key +Ctrl +Z But touch strip still doesn't react. evtest output is:

evtest (touching from left to right) ``` Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0x256c product 0x6d version 0x111 Input device name: "HUION Huion Tablet_HS611 Touch Strip" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 256 (BTN_0) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 0 Min 0 Max 1 Event code 1 (ABS_Y) Value 0 Min 0 Max 1 Event code 8 (ABS_WHEEL) Value 0 Min 0 Max 7 Resolution 3 Event code 40 (ABS_MISC) Value 0 Min 0 Max 255 Properties: Testing ... (interrupt to exit) Event: time 1614519964.992699, type 3 (EV_ABS), code 40 (ABS_MISC), value 15 Event: time 1614519964.992699, -------------- SYN_REPORT ------------ Event: time 1614519967.162703, type 3 (EV_ABS), code 8 (ABS_WHEEL), value 1 Event: time 1614519967.162703, -------------- SYN_REPORT ------------ Event: time 1614519969.172706, type 3 (EV_ABS), code 8 (ABS_WHEEL), value 2 Event: time 1614519969.172706, -------------- SYN_REPORT ------------ Event: time 1614519970.460703, type 3 (EV_ABS), code 8 (ABS_WHEEL), value 3 Event: time 1614519970.460703, -------------- SYN_REPORT ------------ Event: time 1614519971.628704, type 3 (EV_ABS), code 8 (ABS_WHEEL), value 4 Event: time 1614519971.628704, -------------- SYN_REPORT ------------ Event: time 1614519972.954704, type 3 (EV_ABS), code 8 (ABS_WHEEL), value 5 Event: time 1614519972.954704, -------------- SYN_REPORT ------------ Event: time 1614519974.280706, type 3 (EV_ABS), code 8 (ABS_WHEEL), value 6 Event: time 1614519974.280706, -------------- SYN_REPORT ------------ Event: time 1614519975.750709, type 3 (EV_ABS), code 8 (ABS_WHEEL), value 7 Event: time 1614519975.750709, -------------- SYN_REPORT ------------ Event: time 1614519977.182708, type 3 (EV_ABS), code 40 (ABS_MISC), value 0 Event: time 1614519977.182708, type 3 (EV_ABS), code 8 (ABS_WHEEL), value 0 Event: time 1614519977.182708, -------------- SYN_REPORT ------------ ```

My system is Arch Linux with KDE, kernel 5.10.16

azratul commented 3 years ago

Exactly the same problem here, but I can't get "HUION Huion Tablet_HS611 Keyboard" to work either

dmesg log with digimend-debug on [ 663.523293] usb 2-1.4: new full-speed USB device number 4 using ehci-pci [ 663.622562] usb 2-1.4: New USB device found, idVendor=256c, idProduct=006d, bcdDevice= 1.00 [ 663.622570] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 663.622573] usb 2-1.4: Product: Huion Tablet_HS611 [ 663.622576] usb 2-1.4: Manufacturer: HUION [ 663.650963] hid_uclogic:uclogic_params_huion_init:862: uclogic 0003:256C:006D.0008: pen v2 parameters found [ 663.650971] hid_uclogic:uclogic_probe:224: uclogic 0003:256C:006D.0008: parameters: [ 663.650975] hid_uclogic:uclogic_params_hid_dbg:116: uclogic 0003:256C:006D.0008: .invalid = false [ 663.650978] hid_uclogic:uclogic_params_hid_dbg:118: uclogic 0003:256C:006D.0008: .desc_ptr = 0000000000000000 [ 663.650982] hid_uclogic:uclogic_params_hid_dbg:119: uclogic 0003:256C:006D.0008: .desc_size = 0 [ 663.650985] hid_uclogic:uclogic_params_hid_dbg:120: uclogic 0003:256C:006D.0008: .pen = { [ 663.650988] hid_uclogic:uclogic_params_pen_hid_dbg:59: uclogic 0003:256C:006D.0008: .usage_invalid = false [ 663.650991] hid_uclogic:uclogic_params_pen_hid_dbg:61: uclogic 0003:256C:006D.0008: .desc_ptr = 000000006eaf04e4 [ 663.650994] hid_uclogic:uclogic_params_pen_hid_dbg:62: uclogic 0003:256C:006D.0008: .desc_size = 115 [ 663.650997] hid_uclogic:uclogic_params_pen_hid_dbg:63: uclogic 0003:256C:006D.0008: .id = 8 [ 663.651000] hid_uclogic:uclogic_params_pen_hid_dbg:64: uclogic 0003:256C:006D.0008: .subreport_list = { [ 663.651003] hid_uclogic:uclogic_params_pen_hid_dbg:66: uclogic 0003:256C:006D.0008: {0xe0, 247}, [ 663.651007] hid_uclogic:uclogic_params_pen_hid_dbg:66: uclogic 0003:256C:006D.0008: {0xf0, 248}, [ 663.651010] hid_uclogic:uclogic_params_pen_hid_dbg:66: uclogic 0003:256C:006D.0008: {0xf1, 249} [ 663.651013] hid_uclogic:uclogic_params_pen_hid_dbg:71: uclogic 0003:256C:006D.0008: } [ 663.651016] hid_uclogic:uclogic_params_pen_hid_dbg:72: uclogic 0003:256C:006D.0008: .inrange = none [ 663.651019] hid_uclogic:uclogic_params_pen_hid_dbg:74: uclogic 0003:256C:006D.0008: .fragmented_hires = true [ 663.651021] hid_uclogic:uclogic_params_pen_hid_dbg:76: uclogic 0003:256C:006D.0008: .tilt_y_flipped = true [ 663.651024] hid_uclogic:uclogic_params_hid_dbg:122: uclogic 0003:256C:006D.0008: } [ 663.651027] hid_uclogic:uclogic_params_hid_dbg:123: uclogic 0003:256C:006D.0008: .frame_list = { [ 663.651029] hid_uclogic:uclogic_params_hid_dbg:125: uclogic 0003:256C:006D.0008: { [ 663.651032] hid_uclogic:uclogic_params_frame_hid_dbg:91: uclogic 0003:256C:006D.0008: .desc_ptr = 00000000e8c9c555 [ 663.651035] hid_uclogic:uclogic_params_frame_hid_dbg:92: uclogic 0003:256C:006D.0008: .desc_size = 70 [ 663.651038] hid_uclogic:uclogic_params_frame_hid_dbg:93: uclogic 0003:256C:006D.0008: .id = 247 [ 663.651041] hid_uclogic:uclogic_params_frame_hid_dbg:94: uclogic 0003:256C:006D.0008: .suffix = (null) [ 663.651044] hid_uclogic:uclogic_params_frame_hid_dbg:95: uclogic 0003:256C:006D.0008: .re_lsb = 0 [ 663.651046] hid_uclogic:uclogic_params_frame_hid_dbg:96: uclogic 0003:256C:006D.0008: .dev_id_byte = 0 [ 663.651049] hid_uclogic:uclogic_params_frame_hid_dbg:97: uclogic 0003:256C:006D.0008: .touch_byte = 0 [ 663.651052] hid_uclogic:uclogic_params_frame_hid_dbg:98: uclogic 0003:256C:006D.0008: .touch_max = 0 [ 663.651055] hid_uclogic:uclogic_params_frame_hid_dbg:99: uclogic 0003:256C:006D.0008: .touch_flip_at = 0 [ 663.651058] hid_uclogic:uclogic_params_frame_hid_dbg:101: uclogic 0003:256C:006D.0008: .bitmap_dial_byte = 0 [ 663.651061] hid_uclogic:uclogic_params_hid_dbg:127: uclogic 0003:256C:006D.0008: }, [ 663.651063] hid_uclogic:uclogic_params_hid_dbg:125: uclogic 0003:256C:006D.0008: { [ 663.651065] hid_uclogic:uclogic_params_frame_hid_dbg:91: uclogic 0003:256C:006D.0008: .desc_ptr = 000000004f8682a6 [ 663.651068] hid_uclogic:uclogic_params_frame_hid_dbg:92: uclogic 0003:256C:006D.0008: .desc_size = 79 [ 663.651071] hid_uclogic:uclogic_params_frame_hid_dbg:93: uclogic 0003:256C:006D.0008: .id = 248 [ 663.651074] hid_uclogic:uclogic_params_frame_hid_dbg:94: uclogic 0003:256C:006D.0008: .suffix = Touch Strip [ 663.651077] hid_uclogic:uclogic_params_frame_hid_dbg:95: uclogic 0003:256C:006D.0008: .re_lsb = 0 [ 663.651079] hid_uclogic:uclogic_params_frame_hid_dbg:96: uclogic 0003:256C:006D.0008: .dev_id_byte = 4 [ 663.651082] hid_uclogic:uclogic_params_frame_hid_dbg:97: uclogic 0003:256C:006D.0008: .touch_byte = 5 [ 663.651085] hid_uclogic:uclogic_params_frame_hid_dbg:98: uclogic 0003:256C:006D.0008: .touch_max = 8 [ 663.651087] hid_uclogic:uclogic_params_frame_hid_dbg:99: uclogic 0003:256C:006D.0008: .touch_flip_at = 0 [ 663.651090] hid_uclogic:uclogic_params_frame_hid_dbg:101: uclogic 0003:256C:006D.0008: .bitmap_dial_byte = 0 [ 663.651093] hid_uclogic:uclogic_params_hid_dbg:127: uclogic 0003:256C:006D.0008: }, [ 663.651095] hid_uclogic:uclogic_params_hid_dbg:125: uclogic 0003:256C:006D.0008: { [ 663.651097] hid_uclogic:uclogic_params_frame_hid_dbg:91: uclogic 0003:256C:006D.0008: .desc_ptr = 000000007a92c288 [ 663.651100] hid_uclogic:uclogic_params_frame_hid_dbg:92: uclogic 0003:256C:006D.0008: .desc_size = 83 [ 663.651103] hid_uclogic:uclogic_params_frame_hid_dbg:93: uclogic 0003:256C:006D.0008: .id = 249 [ 663.651106] hid_uclogic:uclogic_params_frame_hid_dbg:94: uclogic 0003:256C:006D.0008: .suffix = Dial [ 663.651108] hid_uclogic:uclogic_params_frame_hid_dbg:95: uclogic 0003:256C:006D.0008: .re_lsb = 0 [ 663.651111] hid_uclogic:uclogic_params_frame_hid_dbg:96: uclogic 0003:256C:006D.0008: .dev_id_byte = 4 [ 663.651113] hid_uclogic:uclogic_params_frame_hid_dbg:97: uclogic 0003:256C:006D.0008: .touch_byte = 0 [ 663.651116] hid_uclogic:uclogic_params_frame_hid_dbg:98: uclogic 0003:256C:006D.0008: .touch_max = 0 [ 663.651119] hid_uclogic:uclogic_params_frame_hid_dbg:99: uclogic 0003:256C:006D.0008: .touch_flip_at = 0 [ 663.651121] hid_uclogic:uclogic_params_frame_hid_dbg:101: uclogic 0003:256C:006D.0008: .bitmap_dial_byte = 5 [ 663.651124] hid_uclogic:uclogic_params_hid_dbg:127: uclogic 0003:256C:006D.0008: } [ 663.651127] hid_uclogic:uclogic_params_hid_dbg:130: uclogic 0003:256C:006D.0008: } [ 663.651620] input: HUION Huion Tablet_HS611 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:256C:006D.0008/input/input37 [ 663.651938] input: HUION Huion Tablet_HS611 Pad as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:256C:006D.0008/input/input38 [ 663.652255] input: HUION Huion Tablet_HS611 Touch Strip as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:256C:006D.0008/input/input39 [ 663.652545] input: HUION Huion Tablet_HS611 Dial as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:256C:006D.0008/input/input40 [ 663.652776] uclogic 0003:256C:006D.0008: input,hiddev97,hidraw2: USB HID v1.11 Keypad [HUION Huion Tablet_HS611] on usb-0000:00:1d.0-1.4/input0 [ 663.663498] hid_uclogic:uclogic_probe:224: uclogic 0003:256C:006D.0009: parameters: [ 663.663503] hid_uclogic:uclogic_params_hid_dbg:116: uclogic 0003:256C:006D.0009: .invalid = false [ 663.663507] hid_uclogic:uclogic_params_hid_dbg:118: uclogic 0003:256C:006D.0009: .desc_ptr = 0000000000000000 [ 663.663511] hid_uclogic:uclogic_params_hid_dbg:119: uclogic 0003:256C:006D.0009: .desc_size = 0 [ 663.663514] hid_uclogic:uclogic_params_hid_dbg:120: uclogic 0003:256C:006D.0009: .pen = { [ 663.663517] hid_uclogic:uclogic_params_pen_hid_dbg:59: uclogic 0003:256C:006D.0009: .usage_invalid = true [ 663.663520] hid_uclogic:uclogic_params_pen_hid_dbg:61: uclogic 0003:256C:006D.0009: .desc_ptr = 0000000000000000 [ 663.663523] hid_uclogic:uclogic_params_pen_hid_dbg:62: uclogic 0003:256C:006D.0009: .desc_size = 0 [ 663.663526] hid_uclogic:uclogic_params_pen_hid_dbg:63: uclogic 0003:256C:006D.0009: .id = 0 [ 663.663529] hid_uclogic:uclogic_params_pen_hid_dbg:64: uclogic 0003:256C:006D.0009: .subreport_list = { [ 663.663532] hid_uclogic:uclogic_params_pen_hid_dbg:66: uclogic 0003:256C:006D.0009: {0x00, 0}, [ 663.663535] hid_uclogic:uclogic_params_pen_hid_dbg:66: uclogic 0003:256C:006D.0009: {0x00, 0}, [ 663.663539] hid_uclogic:uclogic_params_pen_hid_dbg:66: uclogic 0003:256C:006D.0009: {0x00, 0} [ 663.663542] hid_uclogic:uclogic_params_pen_hid_dbg:71: uclogic 0003:256C:006D.0009: } [ 663.663544] hid_uclogic:uclogic_params_pen_hid_dbg:72: uclogic 0003:256C:006D.0009: .inrange = normal [ 663.663547] hid_uclogic:uclogic_params_pen_hid_dbg:74: uclogic 0003:256C:006D.0009: .fragmented_hires = false [ 663.663550] hid_uclogic:uclogic_params_pen_hid_dbg:76: uclogic 0003:256C:006D.0009: .tilt_y_flipped = false [ 663.663552] hid_uclogic:uclogic_params_hid_dbg:122: uclogic 0003:256C:006D.0009: } [ 663.663555] hid_uclogic:uclogic_params_hid_dbg:123: uclogic 0003:256C:006D.0009: .frame_list = { [ 663.663557] hid_uclogic:uclogic_params_hid_dbg:125: uclogic 0003:256C:006D.0009: { [ 663.663560] hid_uclogic:uclogic_params_frame_hid_dbg:91: uclogic 0003:256C:006D.0009: .desc_ptr = 0000000000000000 [ 663.663563] hid_uclogic:uclogic_params_frame_hid_dbg:92: uclogic 0003:256C:006D.0009: .desc_size = 0 [ 663.663566] hid_uclogic:uclogic_params_frame_hid_dbg:93: uclogic 0003:256C:006D.0009: .id = 0 [ 663.663568] hid_uclogic:uclogic_params_frame_hid_dbg:94: uclogic 0003:256C:006D.0009: .suffix = (null) [ 663.663571] hid_uclogic:uclogic_params_frame_hid_dbg:95: uclogic 0003:256C:006D.0009: .re_lsb = 0 [ 663.663574] hid_uclogic:uclogic_params_frame_hid_dbg:96: uclogic 0003:256C:006D.0009: .dev_id_byte = 0 [ 663.663577] hid_uclogic:uclogic_params_frame_hid_dbg:97: uclogic 0003:256C:006D.0009: .touch_byte = 0 [ 663.663580] hid_uclogic:uclogic_params_frame_hid_dbg:98: uclogic 0003:256C:006D.0009: .touch_max = 0 [ 663.663583] hid_uclogic:uclogic_params_frame_hid_dbg:99: uclogic 0003:256C:006D.0009: .touch_flip_at = 0 [ 663.663585] hid_uclogic:uclogic_params_frame_hid_dbg:101: uclogic 0003:256C:006D.0009: .bitmap_dial_byte = 0 [ 663.663588] hid_uclogic:uclogic_params_hid_dbg:127: uclogic 0003:256C:006D.0009: }, [ 663.663591] hid_uclogic:uclogic_params_hid_dbg:125: uclogic 0003:256C:006D.0009: { [ 663.663593] hid_uclogic:uclogic_params_frame_hid_dbg:91: uclogic 0003:256C:006D.0009: .desc_ptr = 0000000000000000 [ 663.663596] hid_uclogic:uclogic_params_frame_hid_dbg:92: uclogic 0003:256C:006D.0009: .desc_size = 0 [ 663.663599] hid_uclogic:uclogic_params_frame_hid_dbg:93: uclogic 0003:256C:006D.0009: .id = 0 [ 663.663601] hid_uclogic:uclogic_params_frame_hid_dbg:94: uclogic 0003:256C:006D.0009: .suffix = (null) [ 663.663604] hid_uclogic:uclogic_params_frame_hid_dbg:95: uclogic 0003:256C:006D.0009: .re_lsb = 0 [ 663.663607] hid_uclogic:uclogic_params_frame_hid_dbg:96: uclogic 0003:256C:006D.0009: .dev_id_byte = 0 [ 663.663609] hid_uclogic:uclogic_params_frame_hid_dbg:97: uclogic 0003:256C:006D.0009: .touch_byte = 0 [ 663.663612] hid_uclogic:uclogic_params_frame_hid_dbg:98: uclogic 0003:256C:006D.0009: .touch_max = 0 [ 663.663615] hid_uclogic:uclogic_params_frame_hid_dbg:99: uclogic 0003:256C:006D.0009: .touch_flip_at = 0 [ 663.663618] hid_uclogic:uclogic_params_frame_hid_dbg:101: uclogic 0003:256C:006D.0009: .bitmap_dial_byte = 0 [ 663.663620] hid_uclogic:uclogic_params_hid_dbg:127: uclogic 0003:256C:006D.0009: }, [ 663.663623] hid_uclogic:uclogic_params_hid_dbg:125: uclogic 0003:256C:006D.0009: { [ 663.663625] hid_uclogic:uclogic_params_frame_hid_dbg:91: uclogic 0003:256C:006D.0009: .desc_ptr = 0000000000000000 [ 663.663628] hid_uclogic:uclogic_params_frame_hid_dbg:92: uclogic 0003:256C:006D.0009: .desc_size = 0 [ 663.663630] hid_uclogic:uclogic_params_frame_hid_dbg:93: uclogic 0003:256C:006D.0009: .id = 0 [ 663.663633] hid_uclogic:uclogic_params_frame_hid_dbg:94: uclogic 0003:256C:006D.0009: .suffix = (null) [ 663.663636] hid_uclogic:uclogic_params_frame_hid_dbg:95: uclogic 0003:256C:006D.0009: .re_lsb = 0 [ 663.663638] hid_uclogic:uclogic_params_frame_hid_dbg:96: uclogic 0003:256C:006D.0009: .dev_id_byte = 0 [ 663.663641] hid_uclogic:uclogic_params_frame_hid_dbg:97: uclogic 0003:256C:006D.0009: .touch_byte = 0 [ 663.663644] hid_uclogic:uclogic_params_frame_hid_dbg:98: uclogic 0003:256C:006D.0009: .touch_max = 0 [ 663.663646] hid_uclogic:uclogic_params_frame_hid_dbg:99: uclogic 0003:256C:006D.0009: .touch_flip_at = 0 [ 663.663649] hid_uclogic:uclogic_params_frame_hid_dbg:101: uclogic 0003:256C:006D.0009: .bitmap_dial_byte = 0 [ 663.663652] hid_uclogic:uclogic_params_hid_dbg:127: uclogic 0003:256C:006D.0009: } [ 663.663654] hid_uclogic:uclogic_params_hid_dbg:130: uclogic 0003:256C:006D.0009: } [ 663.664025] input: HUION Huion Tablet_HS611 Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1/0003:256C:006D.0009/input/input42 [ 663.720212] input: HUION Huion Tablet_HS611 Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1/0003:256C:006D.0009/input/input43 [ 663.720477] uclogic 0003:256C:006D.0009: input,hidraw3: USB HID v1.11 Keyboard [HUION Huion Tablet_HS611] on usb-0000:00:1d.0-1.4/input1

***EDITED: After doing some research, I found out that the problem is with the X11 (with xev) because the kernel recognizes it correctly (with evtest)

Adding more info:

$ libinput debug-events event10 - HUION Huion Tablet_HS611 Touch Strip: is tagged by udev as: Tablet Joystick event10 - HUION Huion Tablet_HS611 Touch Strip: libinput bug: missing tablet capabilities: pen btn-stylus resolution. Ignoring this device. event10 - HUION Huion Tablet_HS611 Touch Strip: device is a tablet event10 - failed to create input device '/dev/input/event10' event11 - HUION Huion Tablet_HS611 Dial: is tagged by udev as: Keyboard Tablet event11 - HUION Huion Tablet_HS611 Dial: libinput bug: missing tablet capabilities: pen btn-stylus resolution. Ignoring this device. event11 - HUION Huion Tablet_HS611 Dial: device is a tablet event11 - failed to create input device '/dev/input/event11' event7 - HUION Huion Tablet_HS611 Keyboard: is tagged by udev as: Keyboard Tablet event7 - HUION Huion Tablet_HS611 Keyboard: libinput bug: missing tablet capabilities: xy pen btn-stylus resolution. Ignoring this device. event7 - HUION Huion Tablet_HS611 Keyboard: device is a tablet

Arch Linux, Kernel 5.11.5-arch1-1 w/ bspwm

Brandon-Beck commented 3 years ago

I believe this, and a few other reports are all due to libinput not liking something about the devices we create, and deciding to ignore it.

event10 - HUION Huion Tablet_HS611 Touch Strip: libinput bug: missing tablet capabilities: pen btn-stylus resolution. Ignoring this device.

The touch-strip, and keyboard (2 buttons on the right) are not themselves full-blown tablets, and thus probably don't have/need the pen, btn-stylus, or resolution capabilities alone. But it seems libinput thinks they are and thus that they need it. Since they don't provide it, it marks it as a buggy device and discards their input.

Output of libinput record makes me think the driver is otherwise functioning, its just libinput isn't happy and decides to throw away the bugged device/driver's events. I'm not sure if your supposed to remove the ID_INPUT_TABLET property or set the bits for the pen, btn-stylus and add the resolution.... I'd hope the former as the latter doesn't make sense to me for a virtual keyboard and scroll device, but maybe its required for a tablet device group? (idk, not a hardware/driver dev, just guessing)

Basing guess on what I understood from https://wayland.freedesktop.org/libinput/doc/1.12.0/tablet-debugging.html

libinput record - HUION Huion Tablet_HS611 Keyboard. First pressed, file button (second rightmost button). Then pressed the rightmost button (idk, some window or workspace size button) ``` # libinput record version: 1 ndevices: 1 libinput: version: "1.18.1" git: "unknown" system: kernel: "5.13.13-arch1-1" dmi: "dmi:bvnLENOVO:bvrR12ET57W(1.27):bd11/24/2020:br1.27:efr1.27:svnLENOVO:pn20NJ0007US:pvrThinkPadT495:skuLENOVO_MT_20NJ_BU_Think_FM_ThinkPadT495:rvnLENOVO:rn20NJ0007US:rvrNotDefined:cvnLENOVO:ct10:cvrNone:" devices: - node: /dev/input/event23 evdev: # Name: HUION Huion Tablet_HS611 Keyboard # ID: bus 0x3 vendor 0x256c product 0x6d version 0x111 # Supported Events: # Event type 0 (EV_SYN) # Event type 1 (EV_KEY) # Event code 1 (KEY_ESC) # Event code 2 (KEY_1) # Event code 3 (KEY_2) # Event code 4 (KEY_3) # Event code 5 (KEY_4) # Event code 6 (KEY_5) # Event code 7 (KEY_6) # Event code 8 (KEY_7) # Event code 9 (KEY_8) # Event code 10 (KEY_9) # Event code 11 (KEY_0) # Event code 12 (KEY_MINUS) # Event code 13 (KEY_EQUAL) # Event code 14 (KEY_BACKSPACE) # Event code 15 (KEY_TAB) # Event code 16 (KEY_Q) # Event code 17 (KEY_W) # Event code 18 (KEY_E) # Event code 19 (KEY_R) # Event code 20 (KEY_T) # Event code 21 (KEY_Y) # Event code 22 (KEY_U) # Event code 23 (KEY_I) # Event code 24 (KEY_O) # Event code 25 (KEY_P) # Event code 26 (KEY_LEFTBRACE) # Event code 27 (KEY_RIGHTBRACE) # Event code 28 (KEY_ENTER) # Event code 29 (KEY_LEFTCTRL) # Event code 30 (KEY_A) # Event code 31 (KEY_S) # Event code 32 (KEY_D) # Event code 33 (KEY_F) # Event code 34 (KEY_G) # Event code 35 (KEY_H) # Event code 36 (KEY_J) # Event code 37 (KEY_K) # Event code 38 (KEY_L) # Event code 39 (KEY_SEMICOLON) # Event code 40 (KEY_APOSTROPHE) # Event code 41 (KEY_GRAVE) # Event code 42 (KEY_LEFTSHIFT) # Event code 43 (KEY_BACKSLASH) # Event code 44 (KEY_Z) # Event code 45 (KEY_X) # Event code 46 (KEY_C) # Event code 47 (KEY_V) # Event code 48 (KEY_B) # Event code 49 (KEY_N) # Event code 50 (KEY_M) # Event code 51 (KEY_COMMA) # Event code 52 (KEY_DOT) # Event code 53 (KEY_SLASH) # Event code 54 (KEY_RIGHTSHIFT) # Event code 55 (KEY_KPASTERISK) # Event code 56 (KEY_LEFTALT) # Event code 57 (KEY_SPACE) # Event code 58 (KEY_CAPSLOCK) # Event code 59 (KEY_F1) # Event code 60 (KEY_F2) # Event code 61 (KEY_F3) # Event code 62 (KEY_F4) # Event code 63 (KEY_F5) # Event code 64 (KEY_F6) # Event code 65 (KEY_F7) # Event code 66 (KEY_F8) # Event code 67 (KEY_F9) # Event code 68 (KEY_F10) # Event code 69 (KEY_NUMLOCK) # Event code 70 (KEY_SCROLLLOCK) # Event code 71 (KEY_KP7) # Event code 72 (KEY_KP8) # Event code 73 (KEY_KP9) # Event code 74 (KEY_KPMINUS) # Event code 75 (KEY_KP4) # Event code 76 (KEY_KP5) # Event code 77 (KEY_KP6) # Event code 78 (KEY_KPPLUS) # Event code 79 (KEY_KP1) # Event code 80 (KEY_KP2) # Event code 81 (KEY_KP3) # Event code 82 (KEY_KP0) # Event code 83 (KEY_KPDOT) # Event code 85 (KEY_ZENKAKUHANKAKU) # Event code 86 (KEY_102ND) # Event code 87 (KEY_F11) # Event code 88 (KEY_F12) # Event code 89 (KEY_RO) # Event code 90 (KEY_KATAKANA) # Event code 91 (KEY_HIRAGANA) # Event code 92 (KEY_HENKAN) # Event code 93 (KEY_KATAKANAHIRAGANA) # Event code 94 (KEY_MUHENKAN) # Event code 95 (KEY_KPJPCOMMA) # Event code 96 (KEY_KPENTER) # Event code 97 (KEY_RIGHTCTRL) # Event code 98 (KEY_KPSLASH) # Event code 99 (KEY_SYSRQ) # Event code 100 (KEY_RIGHTALT) # Event code 102 (KEY_HOME) # Event code 103 (KEY_UP) # Event code 104 (KEY_PAGEUP) # Event code 105 (KEY_LEFT) # Event code 106 (KEY_RIGHT) # Event code 107 (KEY_END) # Event code 108 (KEY_DOWN) # Event code 109 (KEY_PAGEDOWN) # Event code 110 (KEY_INSERT) # Event code 111 (KEY_DELETE) # Event code 113 (KEY_MUTE) # Event code 114 (KEY_VOLUMEDOWN) # Event code 115 (KEY_VOLUMEUP) # Event code 116 (KEY_POWER) # Event code 117 (KEY_KPEQUAL) # Event code 119 (KEY_PAUSE) # Event code 121 (KEY_KPCOMMA) # Event code 122 (KEY_HANGEUL) # Event code 123 (KEY_HANJA) # Event code 124 (KEY_YEN) # Event code 125 (KEY_LEFTMETA) # Event code 126 (KEY_RIGHTMETA) # Event code 127 (KEY_COMPOSE) # Event code 128 (KEY_STOP) # Event code 129 (KEY_AGAIN) # Event code 130 (KEY_PROPS) # Event code 131 (KEY_UNDO) # Event code 132 (KEY_FRONT) # Event code 133 (KEY_COPY) # Event code 134 (KEY_OPEN) # Event code 135 (KEY_PASTE) # Event code 136 (KEY_FIND) # Event code 137 (KEY_CUT) # Event code 138 (KEY_HELP) # Event code 140 (KEY_CALC) # Event code 142 (KEY_SLEEP) # Event code 150 (KEY_WWW) # Event code 152 (KEY_COFFEE) # Event code 158 (KEY_BACK) # Event code 159 (KEY_FORWARD) # Event code 161 (KEY_EJECTCD) # Event code 163 (KEY_NEXTSONG) # Event code 164 (KEY_PLAYPAUSE) # Event code 165 (KEY_PREVIOUSSONG) # Event code 166 (KEY_STOPCD) # Event code 173 (KEY_REFRESH) # Event code 176 (KEY_EDIT) # Event code 177 (KEY_SCROLLUP) # Event code 178 (KEY_SCROLLDOWN) # Event code 179 (KEY_KPLEFTPAREN) # Event code 180 (KEY_KPRIGHTPAREN) # Event code 183 (KEY_F13) # Event code 184 (KEY_F14) # Event code 185 (KEY_F15) # Event code 186 (KEY_F16) # Event code 187 (KEY_F17) # Event code 188 (KEY_F18) # Event code 189 (KEY_F19) # Event code 190 (KEY_F20) # Event code 191 (KEY_F21) # Event code 192 (KEY_F22) # Event code 193 (KEY_F23) # Event code 194 (KEY_F24) # Event code 240 (KEY_UNKNOWN) # Event type 4 (EV_MSC) # Event code 4 (MSC_SCAN) # Event type 20 (EV_REP) # Event code 0 (REP_DELAY) # Event code 1 (REP_PERIOD) # Properties: name: "HUION Huion Tablet_HS611 Keyboard" id: [3, 9580, 109, 273] codes: 0: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] # EV_SYN 1: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 113, 114, 115, 116, 117, 119, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 140, 142, 150, 152, 158, 159, 161, 163, 164, 165, 166, 173, 176, 177, 178, 179, 180, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 240] # EV_KEY 4: [4] # EV_MSC 20: [0, 1] # EV_REP properties: [] hid: [ 0x05, 0x0d, 0x09, 0x02, 0xa1, 0x01, 0x85, 0x0a, 0x09, 0x20, 0xa1, 0x00, 0x09, 0x42, 0x09, 0x44, 0x09, 0x45, 0x09, 0x3c, 0x15, 0x00, 0x25, 0x01, 0x75, 0x01, 0x95, 0x06, 0x81, 0x02, 0x09, 0x32, 0x75, 0x01, 0x95, 0x01, 0x81, 0x02, 0x81, 0x03, 0x05, 0x01, 0x09, 0x30, 0x09, 0x31, 0x55, 0x0d, 0x65, 0x33, 0x26, 0xff, 0x7f, 0x35, 0x00, 0x46, 0x00, 0x08, 0x75, 0x10, 0x95, 0x02, 0x81, 0x02, 0x05, 0x0d, 0x09, 0x30, 0x26, 0xff, 0x1f, 0x75, 0x10, 0x95, 0x01, 0x81, 0x02, 0x09, 0x3d, 0x09, 0x3e, 0x15, 0x81, 0x25, 0x7f, 0x75, 0x08, 0x95, 0x02, 0x81, 0x02, 0xc0, 0xc0, 0x05, 0x01, 0x09, 0x06, 0xa1, 0x01, 0x85, 0x03, 0x05, 0x07, 0x19, 0xe0, 0x29, 0xe7, 0x15, 0x00, 0x25, 0x01, 0x75, 0x01, 0x95, 0x08, 0x81, 0x02, 0x05, 0x07, 0x19, 0x00, 0x29, 0xff, 0x26, 0xff, 0x00, 0x75, 0x08, 0x95, 0x0a, 0x81, 0x00, 0xc0, 0x05, 0x0c, 0x09, 0x01, 0xa1, 0x01, 0x85, 0x01, 0x05, 0x0c, 0x19, 0x00, 0x2a, 0x80, 0x03, 0x15, 0x00, 0x26, 0x80, 0x03, 0x75, 0x10, 0x95, 0x01, 0x81, 0x00, 0xc0 ] udev: properties: - ID_INPUT=1 - ID_INPUT_KEY=1 - ID_INPUT_KEYBOARD=1 - ID_INPUT_TABLET=1 - LIBINPUT_DEVICE_GROUP=3/256c/6d:usb-0000:06:00.3-2 quirks: events: # Current time is 12:14:38 - evdev: - [ 0, 0, 4, 4, 30] # EV_MSC / MSC_SCAN 30 (obfuscated) - [ 0, 0, 1, 125, 1] # EV_KEY / KEY_LEFTMETA 1 - [ 0, 0, 4, 4, 30] # EV_MSC / MSC_SCAN 30 (obfuscated) - [ 0, 0, 1, 15, 1] # EV_KEY / KEY_TAB 1 - [ 0, 0, 0, 0, 0] # ------------ SYN_REPORT (0) ---------- +0ms - evdev: - [ 0, 112540, 4, 4, 30] # EV_MSC / MSC_SCAN 30 (obfuscated) - [ 0, 112540, 1, 125, 0] # EV_KEY / KEY_LEFTMETA 0 - [ 0, 112540, 4, 4, 30] # EV_MSC / MSC_SCAN 30 (obfuscated) - [ 0, 112540, 1, 15, 0] # EV_KEY / KEY_TAB 0 - [ 0, 112540, 0, 0, 0] # ------------ SYN_REPORT (0) ---------- +112ms # Current time is 12:14:40 # Current time is 12:14:49 - evdev: - [ 9, 832464, 4, 4, 30] # EV_MSC / MSC_SCAN 30 (obfuscated) - [ 9, 832464, 1, 125, 1] # EV_KEY / KEY_LEFTMETA 1 - [ 9, 832464, 4, 4, 30] # EV_MSC / MSC_SCAN 30 (obfuscated) - [ 9, 832464, 1, 30, 1] # EV_KEY / KEY_A 1 (obfuscated) - [ 9, 832464, 0, 0, 0] # ------------ SYN_REPORT (0) ---------- +9720ms - evdev: - [ 9, 908013, 4, 4, 30] # EV_MSC / MSC_SCAN 30 (obfuscated) - [ 9, 908013, 1, 125, 0] # EV_KEY / KEY_LEFTMETA 0 - [ 9, 908013, 4, 4, 30] # EV_MSC / MSC_SCAN 30 (obfuscated) - [ 9, 908013, 1, 30, 0] # EV_KEY / KEY_A 0 (obfuscated) - [ 9, 908013, 0, 0, 0] # ------------ SYN_REPORT (0) ---------- +76ms # Current time is 12:14:50 ```

Seemingly related #536

I-dont-need-name commented 3 years ago

I believe this, and a few other reports are all due to libinput not liking something about the devices we create, and deciding to ignore it.

I managed to solve this by adding ID_INPUT_TABLET_PAD=1 and then libinput doesn't seem to give any errors, but it still doesn't work.

albfan commented 2 years ago

Hi, I just check strip events (looks there're 8 segments) and they are exposed as combinations of buttons.

last buttons from pad are 8 and 9, those are shown to in strip, and then combining 8,9,10,and 11 it represents this 8 segments:

https://user-images.githubusercontent.com/220968/151236282-2bea8d76-4973-46c4-9922-8a1b76bbcddb.mp4

that gesture is recorded in:

sudo libinput record /dev/input/event18 huion-hs611-strip.yml
# libinput record
version: 1
ndevices: 1
libinput:
  version: "1.19.3"
  git: "unknown"
system:
os: "fedora:35"
kernel: "5.15.16-200.fc35.x86_64"
dmi: "dmi:bvnLENOVO:bvrN27ET41W(1.27):bd10/26/2020:br1.27:efr1.15:svnLENOVO:pn20LAS3NJ0Y:pvrThinkPadT580:rvnLENOVO:rn20LAS3NJ0Y:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20LA_BU_Think_FM_ThinkPadT580:"
devices:
- node: /dev/input/event18
  evdev:
    # Name: HUION Huion Tablet_HS611 Pad
    # ID: bus 0x3 vendor 0x256c product 0x6d version 0x111
    # Size in mm: unknown, missing resolution
    # Supported Events:
    # Event type 0 (EV_SYN)
    # Event type 1 (EV_KEY)
    #   Event code 256 (BTN_0)
    #   Event code 257 (BTN_1)
    #   Event code 258 (BTN_2)
    #   Event code 259 (BTN_3)
    #   Event code 260 (BTN_4)
    #   Event code 261 (BTN_5)
    #   Event code 262 (BTN_6)
    #   Event code 263 (BTN_7)
    #   Event code 264 (BTN_8)
    #   Event code 265 (BTN_9)
    #   Event code 304 (BTN_SOUTH)
    #   Event code 305 (BTN_EAST)
    #   Event code 331 (BTN_STYLUS)
    # Event type 3 (EV_ABS)
    #   Event code 0 (ABS_X)
    #       Value           0
    #       Min             0
    #       Max             1
    #       Fuzz            0
    #       Flat            0
    #       Resolution      0
    #   Event code 1 (ABS_Y)
    #       Value           0
    #       Min             0
    #       Max             1
    #       Fuzz            0
    #       Flat            0
    #       Resolution      0
    # Event type 4 (EV_MSC)
    #   Event code 4 (MSC_SCAN)
    # Properties:
    name: "HUION Huion Tablet_HS611 Pad"
    id: [3, 9580, 109, 273]
    codes:
      0: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] # EV_SYN
      1: [256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 304, 305, 331] # EV_KEY
      3: [0, 1] # EV_ABS
      4: [4] # EV_MSC
    absinfo:
      0: [0, 1, 0, 0, 0]
      1: [0, 1, 0, 0, 0]
    properties: []
  hid: [
    0x05, 0x0d, 0x09, 0x02, 0xa1, 0x01, 0x85, 0x08, 0x09, 0x20, 0xa0, 0x14, 0x25, 0x01, 0x75, 0x01, 
    0x09, 0x42, 0x09, 0x44, 0x09, 0x46, 0x95, 0x03, 0x81, 0x02, 0x95, 0x03, 0x81, 0x03, 0x09, 0x32, 
    0x95, 0x01, 0x81, 0x02, 0x95, 0x01, 0x81, 0x03, 0x95, 0x01, 0xa4, 0x05, 0x01, 0x65, 0x13, 0x55, 
    0xfd, 0x75, 0x18, 0x34, 0x09, 0x30, 0x27, 0xe0, 0xc9, 0x00, 0x00, 0x47, 0xbd, 0x27, 0x00, 0x00, 
    0x81, 0x02, 0x09, 0x31, 0x27, 0x2c, 0x7e, 0x00, 0x00, 0x47, 0xd6, 0x18, 0x00, 0x00, 0x81, 0x02, 
    0xb4, 0x09, 0x30, 0x75, 0x10, 0x27, 0xff, 0x1f, 0x00, 0x00, 0x81, 0x02, 0x81, 0x03, 0xc0, 0xc0, 
    0x05, 0x01, 0x09, 0x07, 0xa1, 0x01, 0x85, 0xf7, 0x14, 0x25, 0x01, 0x75, 0x01, 0x05, 0x0d, 0x09, 
    0x39, 0xa0, 0x09, 0x44, 0x95, 0x01, 0x81, 0x02, 0x05, 0x01, 0x09, 0x30, 0x09, 0x31, 0x95, 0x02, 
    0x81, 0x02, 0x95, 0x15, 0x81, 0x01, 0x05, 0x09, 0x19, 0x01, 0x29, 0x0a, 0x95, 0x0a, 0x81, 0x02, 
    0xc0, 0x05, 0x01, 0x09, 0x05, 0xa0, 0x05, 0x09, 0x19, 0x01, 0x29, 0x02, 0x95, 0x02, 0x81, 0x02, 
    0x95, 0x34, 0x81, 0x01, 0xc0, 0xc0
  ]
  udev:
    properties:
    - ID_INPUT=1
    - ID_INPUT_TABLET=1
    - ID_INPUT_TABLET_PAD=1
    - LIBINPUT_DEVICE_GROUP=3/256c/6d:usb-0000:00:14.0-1
  quirks:
  events:
  # Current time is 20:40:46
  - evdev:
    - [  0,      0,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  0,      0,   1, 264,       1] # EV_KEY / BTN_8                     1
    - [  0,      0,   0,   0,       0] # ------------ SYN_REPORT (0) ---------- +0ms
  # Current time is 20:40:50
  - evdev:
    - [  0, 785992,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  0, 785992,   1, 264,       0] # EV_KEY / BTN_8                     0
    - [  0, 785992,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  0, 785992,   1, 265,       1] # EV_KEY / BTN_9                     1
    - [  0, 785992,   0,   0,       0] # ------------ SYN_REPORT (0) ---------- +785ms
  - evdev:
    - [  1, 167635,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  1, 167635,   1, 264,       1] # EV_KEY / BTN_8                     1
    - [  1, 167635,   0,   0,       0] # ------------ SYN_REPORT (0) ---------- +382ms
  - evdev:
    - [  1, 512033,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  1, 512033,   1, 264,       0] # EV_KEY / BTN_8                     0
    - [  1, 512033,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  1, 512033,   1, 265,       0] # EV_KEY / BTN_9                     0
    - [  1, 512033,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  1, 512033,   1, 304,       1] # EV_KEY / BTN_SOUTH                 1
    - [  1, 512033,   0,   0,       0] # ------------ SYN_REPORT (0) ---------- +345ms
  - evdev:
    - [  1, 780035,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  1, 780035,   1, 264,       1] # EV_KEY / BTN_8                     1
    - [  1, 780035,   0,   0,       0] # ------------ SYN_REPORT (0) ---------- +268ms
  - evdev:
    - [  1, 972040,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  1, 972040,   1, 264,       0] # EV_KEY / BTN_8                     0
    - [  1, 972040,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  1, 972040,   1, 265,       1] # EV_KEY / BTN_9                     1
    - [  1, 972040,   0,   0,       0] # ------------ SYN_REPORT (0) ---------- +192ms
  - evdev:
    - [  2, 164049,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  2, 164049,   1, 264,       1] # EV_KEY / BTN_8                     1
    - [  2, 164049,   0,   0,       0] # ------------ SYN_REPORT (0) ---------- +192ms
  - evdev:
    - [  2, 354048,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  2, 354048,   1, 264,       0] # EV_KEY / BTN_8                     0
    - [  2, 354048,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  2, 354048,   1, 265,       0] # EV_KEY / BTN_9                     0
    - [  2, 354048,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  2, 354048,   1, 304,       0] # EV_KEY / BTN_SOUTH                 0
    - [  2, 354048,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  2, 354048,   1, 305,       1] # EV_KEY / BTN_EAST                  1
    - [  2, 354048,   0,   0,       0] # ------------ SYN_REPORT (0) ---------- +190ms
  - evdev:
    - [  2, 660054,   4,   4,      30] # EV_MSC / MSC_SCAN                 30 (obfuscated)
    - [  2, 660054,   1, 305,       0] # EV_KEY / BTN_EAST                  0
    - [  2, 660054,   0,   0,       0] # ------------ SYN_REPORT (0) ---------- +306ms
  # Current time is 20:40:55
albfan commented 2 years ago

about two upper right buttons:

$ sudo libinput list-devices
event19 - HUION Huion Tablet_HS611 Keyboard: libinput bug: missing tablet capabilities: xy pen btn-stylus resolution. Ignoring this device.

I checked with evtest and this is where those buttons are reported (as Alt+tab and Super+D) which are shortcut on windows for change window and show desktop

$ sudo evtest /dev/input/event19
Event: time 1643227147.441050, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e3
Event: time 1643227147.441050, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 1
Event: time 1643227147.441050, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002b
Event: time 1643227147.441050, type 1 (EV_KEY), code 15 (KEY_TAB), value 1
Event: time 1643227147.441050, -------------- SYN_REPORT ------------
Event: time 1643227147.587013, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e3
Event: time 1643227147.587013, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 0
Event: time 1643227147.587013, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002b
Event: time 1643227147.587013, type 1 (EV_KEY), code 15 (KEY_TAB), value 0
Event: time 1643227147.587013, -------------- SYN_REPORT ------------

Event: time 1643227149.415181, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e3
Event: time 1643227149.415181, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 1
Event: time 1643227149.415181, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70007
Event: time 1643227149.415181, type 1 (EV_KEY), code 32 (KEY_D), value 1
Event: time 1643227149.415181, -------------- SYN_REPORT ------------
Event: time 1643227149.591051, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e3
Event: time 1643227149.591051, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 0
Event: time 1643227149.591051, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70007
Event: time 1643227149.591051, type 1 (EV_KEY), code 32 (KEY_D), value 0
Event: time 1643227149.591051, -------------- SYN_REPORT ------------
albfan commented 2 years ago

To compare, I get this reports of what should be a valid report from a strip (not generated with my tabler or my environment

libinput:

-event1   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED            Power Button                      seat0 default group2  cap:k
-event3   DEVICE_ADDED            Wacom Cintiq 12WX Pen             seat0 default group3  cap:T  size 265x167mm calib
-event5   DEVICE_ADDED            Wacom Cintiq 12WX Pad             seat0 default group3  cap:P buttons:10 strips:2 rings:0 mode groups:1
-event2   DEVICE_ADDED            PixArt USB Optical Mouse          seat0 default group4  cap:p left scroll-nat scroll-button
-event4   DEVICE_ADDED            HID 046a:0011                     seat0 default group5  cap:k
-event5   TABLET_PAD_STRIP        +0.000s   strip 0 position 1.00 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.162s   strip 0 position 0.92 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.242s   strip 0 position 0.83 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.262s   strip 0 position 0.75 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.302s   strip 0 position 0.67 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.402s   strip 0 position 0.58 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.482s   strip 0 position 0.50 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.502s   strip 0 position 0.42 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.602s   strip 0 position 0.33 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.642s   strip 0 position 0.25 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.722s   strip 0 position 0.17 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.763s   strip 0 position 0.08 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +0.823s   strip 0 position 0.00 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.205s   strip 0 position 0.08 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.225s   strip 0 position 0.17 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.286s   strip 0 position 0.25 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.306s   strip 0 position 0.33 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.386s   strip 0 position 0.42 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.426s   strip 0 position 0.50 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.506s   strip 0 position 0.58 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.527s   strip 0 position 0.67 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.627s   strip 0 position 0.75 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.647s   strip 0 position 0.83 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.728s   strip 0 position 0.92 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.808s   strip 0 position 1.00 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.867s   strip 0 position -1.00 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +1.988s   strip 0 position 1.00 (source finger) (mode 0)
 event5   TABLET_PAD_STRIP        +2.008s   strip 0 position -1.00 (source finger) (mode 0)

or evdev:

# EVEMU 1.3
# Kernel: 5.15.16-200.fc35.x86_64
# DMI: dmi:bvnAmericanMegatrendsInc.:bvrP3.60:bd07/31/2019:br5.14:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnB450MPro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
# Input device name: "Wacom Cintiq 12WX Pad"
# Input device ID: bus 0x03 vendor 0x56a product 0xc6 version 0x100
# 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 256 (BTN_0)
#     Event code 257 (BTN_1)
#     Event code 258 (BTN_2)
#     Event code 259 (BTN_3)
#     Event code 260 (BTN_4)
#     Event code 261 (BTN_5)
#     Event code 262 (BTN_6)
#     Event code 263 (BTN_7)
#     Event code 264 (BTN_8)
#     Event code 265 (BTN_9)
#     Event code 331 (BTN_STYLUS)
#   Event type 3 (EV_ABS)
#     Event code 0 (ABS_X)
#       Value        0
#       Min          0
#       Max          1
#       Fuzz         0
#       Flat         0
#       Resolution   0
#     Event code 1 (ABS_Y)
#       Value        0
#       Min          0
#       Max          1
#       Fuzz         0
#       Flat         0
#       Resolution   0
#     Event code 3 (ABS_RX)
#       Value        0
#       Min          0
#       Max       4096
#       Fuzz         0
#       Flat         0
#       Resolution   0
#     Event code 4 (ABS_RY)
#       Value        0
#       Min          0
#       Max       4096
#       Fuzz         0
#       Flat         0
#       Resolution   0
#     Event code 40 (ABS_MISC)
#       Value        0
#       Min          0
#       Max          0
#       Fuzz         0
#       Flat         0
#       Resolution   0
# Properties:
N: Wacom Cintiq 12WX Pad
I: 0003 056a 00c6 0100
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 ff 03 00 00 00 00 00 00
B: 01 00 08 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 1b 00 00 00 00 01 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 1 0 0 0
A: 01 0 1 0 0 0
A: 03 0 4096 0 0 0
A: 04 0 4096 0 0 0
A: 28 0 0 0 0 0
################################
#      Waiting for events      #
################################
E: 0.000001 0003 0003 4096  # EV_ABS / ABS_RX               4096
E: 0.000001 0003 0028 0015  # EV_ABS / ABS_MISC             15
E: 0.000001 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +0ms
E: 0.201006 0003 0003 2048  # EV_ABS / ABS_RX               2048
E: 0.201006 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +201ms
E: 0.241008 0003 0003 1024  # EV_ABS / ABS_RX               1024
E: 0.241008 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +40ms
E: 0.281029 0003 0003 0512  # EV_ABS / ABS_RX               512
E: 0.281029 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +40ms
E: 0.341034 0003 0003 0256  # EV_ABS / ABS_RX               256
E: 0.341034 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +60ms
E: 0.401041 0003 0003 0128  # EV_ABS / ABS_RX               128
E: 0.401041 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +60ms
E: 0.501041 0003 0003 0064  # EV_ABS / ABS_RX               64
E: 0.501041 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +100ms
E: 0.561062 0003 0003 0032  # EV_ABS / ABS_RX               32
E: 0.561062 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +60ms
E: 0.621070 0003 0003 0016  # EV_ABS / ABS_RX               16
E: 0.621070 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +60ms
E: 0.682078 0003 0003 0008  # EV_ABS / ABS_RX               8
E: 0.682078 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +61ms
E: 0.762088 0003 0003 0004  # EV_ABS / ABS_RX               4
E: 0.762088 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +80ms
E: 0.823095 0003 0003 0002  # EV_ABS / ABS_RX               2
E: 0.823095 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +61ms
E: 0.883090 0003 0003 0001  # EV_ABS / ABS_RX               1
E: 0.883090 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +60ms
E: 1.330169 0003 0003 0000  # EV_ABS / ABS_RX               0
E: 1.330169 0003 0028 0000  # EV_ABS / ABS_MISC             0
E: 1.330169 0000 0000 0000  # ------------ SYN_REPORT (0) ---------- +447ms