Connoisseur
Posts: 79
Karma: 24492
Join Date: Jul 2013
Location: France
Device: Kindle 4, PBk Lux 2, PBk Lux 3, K Aura, K Libra H2O, K Libra2
|
Hello,
I bought thisTiktok ring https://www.amazon.fr/dp/B09YHMGY8P?...roduct_details for my Libra 2, I patched kobo-libra2-uhid-module using the guide https://github.com/tylpk1216/kobo-libra2-uhid-module but the ring still not works in my case  .
For those interested on, here the evtest result from my PC:
Code:
Input device ID: bus 0x5 vendor 0x5ac product 0x22c version 0x11b
Input device name: "D01"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 1 (KEY_ESC)
Event code 114 (KEY_VOLUMEDOWN)
Event code 115 (KEY_VOLUMEUP)
Event code 116 (KEY_POWER)
Event code 139 (KEY_MENU)
Event code 172 (KEY_HOMEPAGE)
Event code 320 (BTN_TOOL_PEN)
Event code 330 (BTN_TOUCH)
Event code 374 (KEY_KEYBOARD)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 1904
Min 0
Max 4095
Event code 1 (ABS_Y)
Value 1904
Min 0
Max 4095
Event code 40 (ABS_MISC)
Value 1
Min 0
Max 1
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)
#############################################################################
Switch NEXT closed clip side
###########################
Event: time 1673767852.727950, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1673767852.727950, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1673767852.727950, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1673767852.727950, type 3 (EV_ABS), code 1 (ABS_Y), value 3200
Event: time 1673767852.727950, -------------- SYN_REPORT ------------
Event: time 1673767852.728038, type 3 (EV_ABS), code 1 (ABS_Y), value 2600
Event: time 1673767852.728038, -------------- SYN_REPORT ------------
Event: time 1673767852.728130, type 3 (EV_ABS), code 1 (ABS_Y), value 2300
Event: time 1673767852.728130, -------------- SYN_REPORT ------------
Event: time 1673767852.741218, type 3 (EV_ABS), code 1 (ABS_Y), value 2000
Event: time 1673767852.741218, -------------- SYN_REPORT ------------
Event: time 1673767852.771245, type 3 (EV_ABS), code 1 (ABS_Y), value 1700
Event: time 1673767852.771245, -------------- SYN_REPORT ------------
Event: time 1673767852.801314, type 3 (EV_ABS), code 1 (ABS_Y), value 1400
Event: time 1673767852.801314, -------------- SYN_REPORT ------------
Event: time 1673767852.831417, type 3 (EV_ABS), code 1 (ABS_Y), value 1100
Event: time 1673767852.831417, -------------- SYN_REPORT ------------
Event: time 1673767852.861428, type 3 (EV_ABS), code 1 (ABS_Y), value 800
Event: time 1673767852.861428, -------------- SYN_REPORT ------------
Event: time 1673767852.891383, type 3 (EV_ABS), code 1 (ABS_Y), value 500
Event: time 1673767852.891383, -------------- SYN_REPORT ------------
Event: time 1673767852.921399, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1673767852.921399, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1673767852.921399, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1673767852.921399, type 3 (EV_ABS), code 1 (ABS_Y), value 200
Event: time 1673767852.921399, -------------- SYN_REPORT ------------
#############################################################################
Switch NEXT opened clip side
###########################
Event: time 1673767988.794856, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1673767988.794856, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1673767988.794856, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1673767988.794856, type 3 (EV_ABS), code 1 (ABS_Y), value 1012
Event: time 1673767988.794856, -------------- SYN_REPORT ------------
Event: time 1673767988.794985, type 3 (EV_ABS), code 1 (ABS_Y), value 1100
Event: time 1673767988.794985, -------------- SYN_REPORT ------------
Event: time 1673767988.795188, type 3 (EV_ABS), code 1 (ABS_Y), value 1400
Event: time 1673767988.795188, -------------- SYN_REPORT ------------
Event: time 1673767988.809090, type 3 (EV_ABS), code 1 (ABS_Y), value 1700
Event: time 1673767988.809090, -------------- SYN_REPORT ------------
Event: time 1673767988.839143, type 3 (EV_ABS), code 1 (ABS_Y), value 2000
Event: time 1673767988.839143, -------------- SYN_REPORT ------------
Event: time 1673767988.869207, type 3 (EV_ABS), code 1 (ABS_Y), value 2300
Event: time 1673767988.869207, -------------- SYN_REPORT ------------
Event: time 1673767988.899142, type 3 (EV_ABS), code 1 (ABS_Y), value 2600
Event: time 1673767988.899142, -------------- SYN_REPORT ------------
Event: time 1673767988.929105, type 3 (EV_ABS), code 1 (ABS_Y), value 2900
Event: time 1673767988.929105, -------------- SYN_REPORT ------------
Event: time 1673767988.959090, type 3 (EV_ABS), code 1 (ABS_Y), value 3200
Event: time 1673767988.959090, -------------- SYN_REPORT ------------
Event: time 1673767988.989242, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1673767988.989242, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1673767988.989242, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1673767988.989242, type 3 (EV_ABS), code 1 (ABS_Y), value 3500
Event: time 1673767988.989242, -------------- SYN_REPORT ------------
#############################################################################
Middle switch
###########################
Event: time 1673768034.234654, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1673768034.234654, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1673768034.234654, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 1
Event: time 1673768034.234654, type 3 (EV_ABS), code 1 (ABS_Y), value 1904
Event: time 1673768034.234654, -------------- SYN_REPORT ------------
Event: time 1673768034.234682, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1673768034.234682, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1673768034.234682, type 1 (EV_KEY), code 320 (BTN_TOOL_PEN), value 0
Event: time 1673768034.234682, -------------- SYN_REPORT ------------
Here the config file on my Kobo:
Code:
prevPage EV_ABS ABS_Y 3500
nextPage EV_ABS ABS_Y 200
I try to go deeper in order to understand the problem...
|