View Single Post
Old 09-10-2024, 04:29 PM   #30
trence
Connoisseur
trence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enough
 
Posts: 72
Karma: 548
Join Date: Nov 2018
Device: Likebook Mars
When I attempt to run bluetoothctl from SSH, I get this:

[root@kobo ~]# bluetoothctl
Waiting to connect to bluetoothd...

And it does not change. My on.sh looks like so:

#!/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

My kobo install is in the typical .adds location

Edit: Unsure of why I show a space between the c and the t in Objects, as I don't have one in the file, or when I paste it

When I run each command in on.sh via SSH:

[root@kobo ~]# insmod /drivers/mx6sll-ntx/wifi/sdio_bt_pwr.ko
[root@kobo ~]# insmod ./uhid/uhid.ko
insmod: can't insert './uhid/uhid.ko': No such file or directory
[root@kobo ~]# /sbin/hciattach -p ttymxc1 any 1500000 flow -t 20
Device setup complete
1991
[root@kobo ~]# dbus-send --system --dest=org.bluez --print-reply / org.freedes
ktop.DBus.ObjectManager.GetManagedObjects
method return sender=:1.4 -> dest=:1.3 reply_serial=2
array [
dict entry(
object path "/org/bluez"
array [
dict entry(
string "org.freedesktop.DBus.Introspectable"
array [
]
)
dict entry(
string "org.bluez.AgentManager1"
array [
]
)
dict entry(
string "org.bluez.ProfileManager1"
array [
]
)
]
)
]
[root@kobo ~]# hciconfig hci0 up
Can't init device hci0: Connection timed out (110)

Last edited by trence; 09-10-2024 at 04:38 PM.
trence is offline   Reply With Quote