I also have a device whose Bluetooth name is Beauty-R1, but the model number is DY10 and it has 9 buttons in total. I've attached what it looks like to this comment.
The arrow buttons work as a mouse on my Android phone (there's a icon and it can swipe).
My Kobo Libra 2 can connect to it via Bluetooth, but it doesn't appear in my Kobo's /dev/input folder.
Can anyone give any advice or suggestions on things to try? Thank you!
# Building KO
I thought maybe I would need to build more .ko files for the kernel, based on this link
https://github.com/tylpk1216/kobo-libra2-uhid-module, but I can't seem to be able to insmod any of the .ko files I have built on my own. The uhid.ko file from the GitHub link can be insmod though.
I am using Ubuntu WSL on Windows to do the building.
This is what happens if I try to load a .ko file that I have built:
Code:
[root@kobo kobo-libra2-uhid-module]# insmod uhid.ko
insmod: can't insert 'uhid.ko': invalid module format
[root@kobo kobo-libra2-uhid-module]#
This is the details of my Kobo Libra 2:
Code:
[root@kobo kobo-libra2-uhid-module]# uname -a
Linux kobo 4.1.15-00867-gf1ef3c8 #103 SMP PREEMPT Tue Oct 1 06:24:23 Asia 2024 armv7l GNU/Linux
[root@kobo kobo-libra2-uhid-module]# cat /proc/version
Linux version 4.1.15-00867-gf1ef3c8 (gallen@c0812810309b) (gcc version 5.3.0 (GCC) ) #103 SMP PREEMPT Tue Oct 1 06:24:23 Asia 2024
I tried building using linux-4.1.15.tar.gz, gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf.tar.xz, and gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz but the files built using all those all show "insmod: can't insert 'uhid.ko': invalid module format".
# Evtest output
I've uploaded some evtest output for the various buttons, sorry it's an image as I had to boot Ubuntu from USB in order for the Bluetooth Beauty-R1 to be detected (VM didn't work!)
I also uploaded an image of the udevadm info of the device.