09-10-2024, 04:51 PM | #31 |
Connoisseur
Posts: 72
Karma: 548
Join Date: Nov 2018
Device: Likebook Mars
|
FWIW,
I swapped back to the first version, and no issues. The on.sh on both of them are identical |
09-10-2024, 07:41 PM | #32 |
Connoisseur
Posts: 94
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
|
Ahh, it looks like the on.sh modifications for Libra devices are not applied. You may have overwritten them when you were upgrading to the new version. Can you refer to @enji’s comment above?
You need`rtk_hciattach` instead of `hciattach on Libra devices. Sounds like you have your previous on.sh Script as a back up, you can refer to that for the right commands. Bluetoothctl is not responding because Bluetooth is not properly up yet. Uhid.ko is not found because it’s not being run from the right directory. Both of these points will be non-issues once you have the fixed on.sh in there. Let me know how it goes! |
Advert | |
|
09-10-2024, 08:42 PM | #33 |
Connoisseur
Posts: 72
Karma: 548
Join Date: Nov 2018
Device: Likebook Mars
|
I'm sorry for the confusing word salad above. What I meant to say is the On.sh is line for line the same in both the working version (v1) and this newest one that gives the error (v3). This includes the change for the Libra 2.
#!/bin/bash cd "$(dirname "$0")" insmod /drivers/mx6sll-ntx/wifi/sdio_bt_pwr.ko insmod ./uhid/uhid.ko /sbin/rtk_hciattach -s 115200 ttymxc1 rtk_h5 dbus-send --system --dest=org.bluez --print-reply / org.freedesktop.DBus.ObjectManager.GetManagedObjec ts hciconfig hci0 up |
09-10-2024, 10:00 PM | #34 |
Connoisseur
Posts: 94
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
|
Ok, I’m not sure what’s happening at this point, and the code is lacking in log generation to help. Are you ensuring you turn on WiFi manually? The new version is expecting you to turn WiFi on by yourself. Although I have implemented a basic method of checking whether it’s on or not, maybe there are differences in between devices.
Can you execute “iwconfig” on the terminal emulator when WiFi is off and show me the result? If you run iwconfig on the emulator and wifi is turned off, the message should not include the text ESSID. If it does, then the way I detect WiFi is incorrect. If this doesn’t yield any results, I’ll provide a version of the code that produces an excess amount of logs so that we can see more clearly. |
09-10-2024, 10:47 PM | #35 |
Connoisseur
Posts: 72
Karma: 548
Join Date: Nov 2018
Device: Likebook Mars
|
The message it gives is:
lo no wireless extensions |
Advert | |
|
09-14-2024, 07:03 PM | #36 |
Junior Member
Posts: 1
Karma: 10
Join Date: Sep 2024
Device: Kobo Clara BW
|
Hi, this looks really cool !
I'm trying to get it to work on my Clara BW. I got the 'No result from the Bluetooth script' error so I tried running it manually, via SSH. Output of running on.sh: Code:
# pwd /mnt/onboard/.adds/koreader/plugins/bluetooth.koplugin # ash ./on.sh insmod: can't insert '/drivers/mx6sll-ntx/wifi/sdio_bt_pwr.ko': No such file or directory insmod: can't insert './uhid/uhid.ko': invalid module format Realtek Bluetooth ERROR: Can't open serial port, 2, No such file or directory Realtek Bluetooth ERROR: Can't initialize device 2, No such file or directory Error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) Can't open HCI socket.: Address family not supported by protocol Code:
# pwd && ls /drivers/mt8113t-ntx/mt66xx wlan_drv_gen4m.ko wmt_cdev_bt.ko wmt_chrdev_wifi.ko wmt_drv.ko I don't know if these are equivalent, but I tried the following: Code:
# insmod /drivers/mt8113t-ntx/mt66xx/wmt_cdev_bt.ko insmod: can't insert '/drivers/mt8113t-ntx/mt66xx/wmt_cdev_bt.ko': File exists Anyways, if you could point me in the right direction (or tell me there's no easy solution) that would be greatly appreciated.. Thank you! |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A Wi-Fi remote control page turner for Kobo e-readers | sublipri | Kobo Reader | 44 | 09-11-2024 04:41 PM |
Bluetooth page turning for Kobo eReaders | tsowell | Kobo Reader | 195 | 09-07-2024 05:09 PM |
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 |