![]() |
#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 |
![]() |
![]() |
![]() |
#32 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
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! |
![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#34 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 92
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. |
![]() |
![]() |
![]() |
#35 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 72
Karma: 548
Join Date: Nov 2018
Device: Likebook Mars
|
The message it gives is:
lo no wireless extensions |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A Wi-Fi remote control page turner for Kobo e-readers | sublipri | Kobo Reader | 43 | Yesterday 07:28 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 |