03-04-2022, 10:49 PM | #1 |
Junior Member
Posts: 4
Karma: 37912
Join Date: Mar 2022
Device: Kobo Libra 2
|
Bluetooth page turning for Kobo eReaders
Hi everyone,
I've written a little plugin (using the wonderful NickelHook) for Kobo eReaders that allows the use of arbitrary Bluetooth devices for turning pages. I've been using it with a Kobo Libra 2 and an 8BitDo Zero 2 controller, but I think it should work with other Bluetooth-capable Kobo eReaders, and you can configure which Bluetooth input events trigger page turning. Device configuration is unfortunately quite manual. You need to find the Linux input events you want to use as triggers and put them in a configuration file, but that at least only needs to be done once per device. The code is here: https://github.com/tsowell/kobo-btpt Installation and usage instructions are in the README, and you can grab a pre-built KoboRoot.tgz from the releases page: https://github.com/tsowell/kobo-btpt/releases If anyone gets a chance to try it out, let me know how it goes. PRs are also welcome. -- Tom |
03-12-2022, 01:24 AM | #2 |
Night Owl
Posts: 36
Karma: 100000
Join Date: Aug 2013
Device: Kindle 3; Kindle Voyage
|
I test successfully on my Sage but it doesn't work on Libra 2 (same installation step).
|
Advert | |
|
03-13-2022, 06:13 AM | #3 | |
Absentminded Reader
Posts: 1,293
Karma: 7386033
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
Quote:
I suspect the cheap device was at fault. How long do devices stay paired using your utility? |
|
03-13-2022, 11:16 PM | #4 | |
Enthusiast
Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
|
Quote:
|
|
03-14-2022, 05:55 AM | #5 |
Junior Member
Posts: 4
Karma: 37912
Join Date: Mar 2022
Device: Kobo Libra 2
|
|
Advert | |
|
03-14-2022, 06:20 AM | #6 | |
Junior Member
Posts: 4
Karma: 37912
Join Date: Mar 2022
Device: Kobo Libra 2
|
Quote:
tylpk's solution (toggling the "Force Wi-Fi On" setting) should also work if your Bluetooth device already works with Kobo. I'm actually not sure how my code will work with devices that can already turn pages... I think you would get duplicate page turn events. If you only want to make use of the Bluetooth keep-alive feature, you could try specifying a bogus method in the device configuration file - instead of "nextPage" and "prevPage", use "noOp", for example. |
|
03-23-2022, 11:58 PM | #7 |
Member
Posts: 24
Karma: 11674
Join Date: Jul 2011
Device: Kindle Voyage, Kobo Clara HD, Kobo Forma, Kobo Libra H2O, Kobo Libra2
|
I used Libra2 and 8bitdo zero 2 gamepad successfully.
The profile just copy the sample from GitHub readme A few problems that may be encountered 1. After creating a profile, you need to restart the device once more. 2. Zero2 gamepad has multiple operating modes, please make sure it is in xinput mode. |
04-01-2022, 01:32 PM | #8 | |
Night Owl
Posts: 36
Karma: 100000
Join Date: Aug 2013
Device: Kindle 3; Kindle Voyage
|
Quote:
Code:
Apr 1 23:18:52 nickel: (BluetoothPageTurner) checking /proc/bus/input/devices for new devices Apr 1 23:18:52 nickel: (BluetoothPageTurner) skipping Bus=0019 Vendor=0001 Product=0001 Version=0100 Apr 1 23:18:52 nickel: (BluetoothPageTurner) skipping Bus=0018 Vendor=001b Product=0000 Version=0000 Apr 1 23:18:52 nickel: (BluetoothPageTurner) skipping Bus=0018 Vendor=0000 Product=0000 Version=0000 Apr 1 23:18:52 nickel: (BluetoothPageTurner) found Bus=0005 Vendor=05ac Product=022c Version=011b Apr 1 23:18:52 nickel: (BluetoothPageTurner) acquired device event3: bc2f3ddfcff2 Apr 1 23:18:52 nickel: (BluetoothPageTurner) devices scanned |
|
04-02-2022, 12:51 PM | #9 |
Night Owl
Posts: 36
Karma: 100000
Join Date: Aug 2013
Device: Kindle 3; Kindle Voyage
|
I see an error in the log:
Code:
Apr 2 22:45:35 bluetoothd[1441]: src/service.c:service_accept() input-hog profile accept failed for BC:2F:3D:DF:CF:F2 I guess the issue is related to bluez kernel? |
04-03-2022, 08:23 PM | #10 | |
Enthusiast
Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
|
Quote:
I buy another bluetooth device (mouse) and use this good kobo-btpt to set up my bluetooth mouse. Although my cheap mouse sends event twice when I press the key. I can use my mouse to turn page finally. https://youtu.be/trhdWDTAbKA |
|
04-07-2022, 10:12 AM | #11 |
Enthusiast
Posts: 25
Karma: 80
Join Date: Apr 2019
Device: Kindle Paperwhite3, Hisense A5, HyRead Gaze Pocket, Kobo Elipsa
|
I checked the kernel config. It seems that Kobo Libra 2 disables many items that Elipsa has.
|
04-07-2022, 06:16 PM | #12 | |
Groupie
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
|
Quote:
Also can you please share the configuration you did? What device did you use? Last edited by CyberPaul; 04-07-2022 at 06:28 PM. |
|
04-08-2022, 04:16 AM | #13 |
Night Owl
Posts: 36
Karma: 100000
Join Date: Aug 2013
Device: Kindle 3; Kindle Voyage
|
|
04-08-2022, 04:18 AM | #14 | |
Night Owl
Posts: 36
Karma: 100000
Join Date: Aug 2013
Device: Kindle 3; Kindle Voyage
|
Quote:
I test on Logitech R500 and a Tiktok bluetooth button. |
|
04-08-2022, 08:42 AM | #15 |
Groupie
Posts: 159
Karma: 1000
Join Date: Aug 2016
Device: Kindle Voyage - Tolino Vision 4 HD - Kobo Sage
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessories New hand stick Bluetooth for turning page! | guitu | Amazon Kindle | 16 | 07-23-2021 01:20 AM |
Kobo Clara HD - Quick page turning | Rarronno | Kobo Reader | 7 | 09-06-2019 02:26 AM |
Bluetooth Page Turning | hismaimai8888 | General Discussions | 2 | 11-25-2018 12:37 PM |
Bluetooth Page Turning | copaw | General Discussions | 14 | 11-17-2015 03:09 PM |
Kobo app page turning animation?? | morgan freeman | Android Devices | 0 | 03-24-2013 12:15 AM |