|
|
#91 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2026
Device: Kobo Elipsa 2E
|
Hi, unfortunately I don't own a Sage - but i can confirm that i have managed to get this amazing plugin working on my Elipsa 2E. I'm not sure which cpu the Sage has, but the one in mine isn't fully supported yet so i believe it's more than worth a try - this plugin is truly a game changer!
|
|
|
|
|
|
#92 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Dec 2012
Device: kindle
|
It doesn't work for me on Sage, unfortunately.
|
|
|
|
|
|
#93 |
|
Hija del sol luminoso ☀️
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 2754
Join Date: Feb 2017
Location: Chile
Device: Kindle Voyage, Kobo Sage, TCL Nxtpaper 11 Plus, Palma 2c Pro
|
Also not working for me on Sage. After all my tinkering with this and other bluetooth plugins, BT stopped working on my stock reader too!
|
|
|
|
|
|
#94 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,816
Karma: 731691
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O, Kobo Libra 2
|
|
|
|
|
|
|
#96 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2025
Location: Alaska
Device: Kobo Libra 2
|
After using this plugin more consistently on my Libra 2 lately, I have come across an issue. I use KOReader v2025.10-142-g7c33042ae_2026-02-18 (nightly version) and main branch of bluetooth.koplugin (commit 7d4a707).
The event map file (button mappings) are remembered. I can see the file, and settings are loaded within the bluetooth menu when I go view them. However, when I connect my 8BitDo Micro to my Libra 2, these mappings aren't applied. I can't get them to load. However, there's an easy workaround for now. If I start the simple guided setup and map a single button (I press ‘A’ on the controller and map it to “next page”), and click finish and save, it loads it and the rest of the existing mapping. I notice this happens consistently. Even if I don't leave KOReader, I have to do the simple guided setup to get it to actually load my keymap properly anytime I want to reconnect and use the controller. I took a cursory glance at the Lua code, but I am not familiar with Lua or the codebase, both for the plugin and KOReader itself. Haven't gotten around to looking at it more, but wanted to report here for others reading this thread in the meantime. I should probably write a bug report, too. |
|
|
|
|
|
#97 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2012
Device: kindle
|
Hi, if you mean the plugin published in this thread, no, no luck. But if you mean to get a BT HID device connected and being able to use it to turn pages or trigger other events in Kobo Sage, yes! My current solution is a bit convoluted but I'm working on a new one I've tested on other devices but not on Sage yet. Please reply if you want me to explain my original setup or if you're willing to wait a few days until I test the new solution on my Sage.
|
|
|
|
|
|
#98 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2012
Device: kindle
|
Hola, I just saw a prior message from somebody's not being able to get it to work in Sage. I got it working, the way I did it originally is quite complex, I'm finishing testing a new way to do it and I'll post this method in a few days. There is still a cumbersome part because KOReader start script for the Sage does try to kill BT with "extreme prejudice" as some developer said. You have to modify this script to eliminate those lines of code and also to wire up the event system. Those changes can't be done in a simpler way that I know of. But the mapping of the device's keys to actions in KOReader will be quite easy enough if my idea works on the Sage - it has worked on other readers so I'm quite optimistic. As I said I'll let you know in a while.
|
|
|
|
|
|
#99 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2012
Device: kindle
|
My procedure to use a BT HID device with Kobo Sage KOReader
Only for Kobo Sage
Tested on KOReader 2026.03 Follow these steps: - Open .adds/koreader/koreader.sh - Search for comment # If bluetooth is enabled, kill it - Comment or delete both ifs below that, one refers to sunxi the other to nxp e.g. Code:
# If bluetooth is enabled, kill it.
# if [ -e "/sys/devices/platform/bt/rfkill/rfkill0/state" ]; then
# # That's on sunxi, at least
# IFS= read -r bt_state <"/sys/devices/platform/bt/rfkill/rfkill0/state"
# if [ "${bt_state}" = "1" ]; then
# echo "0" >"/sys/devices/platform/bt/rfkill/rfkill0/state"
# # Power the chip down
# ./luajit frontend/device/kobo/ntx_io.lua 126 0
# fi
# fi
# if grep -q "^sdio_bt_pwr " "/proc/modules"; then
# # And that's on NXP SoCs
# rmmod sdio_bt_pwr
# fi
Again comment or delete both bluetoothd and bluealsa (not 100% sure about this last one but better safe than sorry) e.g. Code:
killall -q -TERM nickel hindenburg sickel fickel strickel fontickel adobehost foxitpdf iink dhcpcd-dbus dhcpcd fmon nanoclock.lua # bluealsa bluetoothd - Now open .adds/koreader/frontend/device/kobo/device.lua - Search for Code:
self.input:open("fake_events")
Code:
local success1, event3res = pcall(function()
self.input:open("/dev/input/event3")
end)
- Now you will be able to pair and connect your bt device and open KOReader with it enabled. As many people have said if you open KOReader with bluetooth enabled, when you exit the system will crash. That has to do with the way the drivers are written and there is no way to prevent it. Remember to exit KOReader by rebooting the reader. - To test and get the keycodes open tools -> more tools -> terminal emulator -> open terminal session - Inside the terminal type Code:
evtest /dev/input/event3 Code:
Event: time 1675505630.867333, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70051 - Now the manual decoding part. + Part one: 7 means keyboard page and 0051 is the usage id. look that up in https://usb.org/sites/default/files/hut1_21.pdf and you'll see page 0x07 usage id 51 is Keyboard DownArrow + Part two: look for down arrow either on evtest's initial listing or in https://github.com/torvalds/linux/bl...-event-codes.h either way you'll find it corresponds to keycode 108. That last code is what we need for the final config in KOReader, I'll keep using the example but you have to use the value you found. - Create or modify .adds/koreader/settings/event_map.lua + If the file already exists and it already maps 108 to a string you'll have to change the string to "RPgFwd" (or "RPgBack" if you're mapping the "go back" key/button) + If the file exists but it doesn't have a line with 108 then you'll have to insert a line like [108] = "RPgFwd", + Finally if there is no event_map.lua file in settings, create one and type this inside: Code:
return {
[108] = "RPgBack",
[103] = "RPgFwd",
}
Not simple but it works. Unfortunatelly the feature that would have made everything easier, at least for finding the keycode, aparently isn't available in KOReader for Kobo That's it. Last edited by daBigR--; 04-03-2026 at 11:43 AM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bluetooth page turning for Kobo eReaders | tsowell | Kobo Reader | 258 | 02-27-2026 11:29 AM |
| A Wi-Fi remote control page turner for Kobo e-readers | sublipri | Kobo Reader | 48 | 01-13-2025 03:25 AM |
| Accessories Bluetooth page turner on Oasis? | iamagloworm | Amazon Kindle | 4 | 06-03-2024 03:28 PM |
| Libra 2 Is there a Bluetooth page turner for Libra2? | windirt | Kobo Reader | 22 | 12-12-2021 10:25 PM |
| Bluetooth page turner for Android tablets? | DaveGa | Android Devices | 1 | 11-28-2018 04:38 PM |