View Single Post
Old 12-08-2024, 03:08 PM   #225
sios00
Enthusiast
sios00 began at the beginning.
 
Posts: 31
Karma: 10
Join Date: May 2022
Device: Kobo Libra 2
How to use this? JX-05Pro

Is there a solution to using this remote? What event codes should I use, or what config to use?

I have a similar device as @@shamalox, but mine is the JX-05Pro version, which comes with a clip to clip to the Kobo screen. Link: https://nl.aliexpress.com/item/10050...yAdapt=glo2nld

I have installed https://github.com/tylpk1216/kobo-libra2-uhid-module , but I am stuck trying to find out what are the event codes to use. My Ubuntu VM on VMware on my Windows 11 PC is unable to detect this device and doesn't show up on /dev/input, but I know the remote works because it can scroll on my Android phone on Instagram.

Evtest on the Kobo also doesn't seem to be able to detect the device on /dev/input.

Thank you!

Quote:
Originally Posted by Renate View Post
Sorry, I got confused when I tried to unzip on top of a attrib +r file.

This thing thinks it's a digitizer. That's wacky.

Code:
05 0c    Usage page (Consumer)
09 01    Usage (Consumer control)
a1 01    Collection (Application)

85 03    Report id (3)

15 00    Logical minimum (0)
25 01    Logical maximum (1)
75 01    Report size (1)
95 0b    Report count (11)
09 ea    Usage (Volume decrement)
09 e9    Usage (Volume increment)
09 30    Usage (Power)
0a ae 01 Usage (AL Keyboard layout)
0a 23 02 Usage (AC Home)
81 02    Input (Variable, Absolute)

95 01    Report count (1)
75 0d    Report size (13)
81 03    Input (Constant, Variable)

c0       End collection

05 0d    Usage page (Digitizer)
09 01    Usage (Digitizer)
a1 01    Collection (Application)

85 02    Report id (2)

09 20    Usage (Stylus)
a1 02    Collection (Logical)

09 42    Usage (Tip switch)
15 00    Logical minimum (0)
25 01    Logical maximum (1)
75 01    Report size (1)
95 01    Report count (1)
81 02    Input (Variable, Absolute)

09 32    Usage (In range)
81 02    Input (Variable, Absolute)

95 06    Report count (6)
81 03    Input (Constant, Variable)

75 08    Report size (8)
09 51    Usage (Contact identifier)
95 01    Report count (1)
81 02    Input (Variable, Absolute)

05 01    Usage page (Desktop)
26 ff 0f Logical maximum (4095)
75 10    Report size (16)
55 0e    Unit exponent (-2)
65 33    Unit (in³)
09 30    Usage (X)
35 00    Physical minimum (0)
46 b5 04 Physical maximum (1205)
81 02    Input (Variable, Absolute)

46 8a 03 Physical maximum (906)
09 31    Usage (Y)
81 02    Input (Variable, Absolute)

c0       End collection

05 0d    Usage page (Digitizer)
09 54    Usage (Contact count)
95 01    Report count (1)
75 08    Report size (8)
81 02    Input (Variable, Absolute)

85 08    Report id (8)

09 55    Usage (Contact count maximum)
25 05    Logical maximum (5)
b1 02    Feature (Variable, Absolute)

c0       End collection
Edit: Cleaned up parsing of units.
sios00 is offline   Reply With Quote