View Single Post
Old 05-06-2025, 01:32 AM   #244
akadaedalus
Enthusiast
akadaedalus began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jun 2008
Device: Kobo Libra 2, Sony PRS-500
Quote:
Originally Posted by sios00 View Post

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]#
What do you get when you do "file uhid.ko"? You may have not ended up with the ARM format. Also I have found that you need to build as much of the whole kernel as possible before building the individual module.

Quote:
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!)
What you might try to do is run "lsmod" before you connect the device in Linux, then "lsmod" afterward. It may give you a clue on what module you need. That's how I figured out I needed hid-apple. Apple-style keyboards may be pretty common for iOS shutters.
akadaedalus is offline   Reply With Quote