View Single Post
Old 08-14-2024, 09:53 AM   #4
trence
Connoisseur
trence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enough
 
Posts: 72
Karma: 548
Join Date: Nov 2018
Device: Likebook Mars
Quote:
Originally Posted by lumping-sugar66 View Post
Check the devices currently available in your system first:
Code:
ls /dev/input/
And connect your bluetooth device and do it again, and see the difference.
Code:
ls /dev/input/
If you get a /dev/input/event3 that wasn't there before, that's your device. After the device is there, you can do

and press on the bluetooth page turner buttons, see if your event stream detects these events.

If your event list doesn't change after you pair/connect your device, uhid.ko may be required and not have applied. You can cd into the bluetooth.koplugin folder and do

and retry the connection with the bluetooth clicker again. If you still don't see the event, it's likely that your device is trying to identify itself as a weird device and may not be compatible.

If your event is mapped to a different location, modify main.lua to match yours.

Be sure to check device.lua.patch for what's being done. the addition needs to go into your devices' configuration. For me that's Clara 2E but yours could be different. device.lua is full of all devices and specific configurations for each.

I also realized a slight mistake in my code. The line at https://github.com/onatbas/bluetooth...5/main.lua#L61
has a hardcoded path and assumes that KOReader is installed under "/mnt/onboard/.adds/koreader/". This may not be the right location for your installation, so change that your path as well.

I am exposing myself as a rookie even further, but I've not used telnet with the kobo before. I'm familiar with telnet and Linux, but not with Kobo. Is there a specific package from this link that I would launch from NickelMenu

https://www.mobileread.com/forums/sh...d.php?t=254214
trence is offline   Reply With Quote