View Single Post
Old 04-26-2025, 06:07 AM   #237
sios00
Enthusiast
sios00 began at the beginning.
 
Posts: 31
Karma: 10
Join Date: May 2022
Device: Kobo Libra 2
Beauty-R1 - Need help!

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.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-04-26 173842.png
Views:	37
Size:	70.9 KB
ID:	215273   Click image for larger version

Name:	videorecorderbutton.jpg
Views:	42
Size:	140.0 KB
ID:	215274   Click image for larger version

Name:	udevadm info.jpg
Views:	38
Size:	94.1 KB
ID:	215275   Click image for larger version

Name:	homebutton.png
Views:	32
Size:	994.1 KB
ID:	215276   Click image for larger version

Name:	camerabutton.png
Views:	26
Size:	675.7 KB
ID:	215277   Click image for larger version

Name:	downarrowbutton.jpg
Views:	33
Size:	145.1 KB
ID:	215278   Click image for larger version

Name:	uparrowbutton.jpg
Views:	30
Size:	125.7 KB
ID:	215279   Click image for larger version

Name:	rightarrowbutton.jpg
Views:	31
Size:	141.0 KB
ID:	215280   Click image for larger version

Name:	leftarrowbutton.jpg
Views:	28
Size:	120.8 KB
ID:	215281   Click image for larger version

Name:	middleheartbutton.jpg
Views:	30
Size:	138.4 KB
ID:	215282  

Last edited by sios00; 04-26-2025 at 06:29 AM.
sios00 is offline   Reply With Quote