Quote:
Originally Posted by enji
I got bluetooth working on a Libra 2 by using `rtk_hciattach` instead of `hciattach`.
Along with the rest of the instructions on github, the plugin works great after just tweaking the on/off scripts:
- In bluetooth.koplugin/on.sh, changed `/sbin/hciattach -p ttymxc1 any 1500000 flow -t 20` to `/sbin/rtk_hciattach -s 115200 ttymxc1 rtk_h5`. The different parameters are what dmesg showed when watching Nickel enable bluetooth.
- In bluetooth.koplugin/off.sh, changed `pkill hciattach` to `pkill rtk_hciattach`
No need to remove the bluetoothd kill command from the KOReader startup script or reconnect to the clicker in Nickel.
Thank you for creating this! I've been using it for a few days, and it works perfectly with bluetooth on/off and Restart KOReader commands mapped to gestures.
|
Wow thank you for the contribution and testing this. I'll be sure to add this to the repository as a workaround for Libra!
Quote:
Originally Posted by trence
This is my device.patch.lua, does this look correct?
|
Oh, I think that's my unclear instructions that got you again. The *.patch file was just me documenting the changes that need to be applied to the actual internal KOReader files.
The file you want to modify is at :
koreader/frontend/device/kobo/device.lua
This is outside of the plugin's folder structure.