Hey Guys!
First off, a noob here and would like to thank you all for the useful posts, tweaks, tricks and all. Especially the devs.
Second, apologies if this comes across as spam/irrelevant, but I felt my experience with this issue may help in some way. The problem is resolved in my case (took approx 1.5 hrs of meddling).
I’ve been using OSMC on my RPi3 over a month now using a wired keyboard. Got my hands on an Apple Magic Keyboard yesterday and paired it with my RPi3. Since then, every reboot required me to connect my wired keyboard to the Pi to enable bluetooth and manually pair the Magic Keyboard. I’ve tried (in the same order):
-
ssh-ing into the Pi to enable bluetooth using
connmanctl enable bluetooth
, but it gave me “Error bluetooth: Method “SetProperty” with signature “sv” on interface “net.connman.Technology” doesn’t exist” -
Tried
sudo bluetoothctl
, but the terminal becomes unresponsive and I’m forced to use “ctrl+c” to quit bluetoothctl. -
Tried running the update as suggested here through My OSMC->Updater, but it comes back with no updates available.
-
Ran
sudo apt-get update
andsudo apt-get dist-upgrade
. That didn’t help either. -
Tried @Kent_Martin’s technique. Now the bluetooth is enabled in My OSMC > Network, but does not connect to the paired Magic Keyboard automatically.
-
Tried
$ sudo bluetoothctl [bluetooth]# agent on [bluetooth]# default-agent [bluetooth]# scan on
It found the keyboard
[bluetooth]# pair xx:xx:xx:xx:xx:xx
Gave an error and did not pair. Switched off and on the keyboard and tried again. Did not work. Rebooted the Pi and repeated the commands, it paired.
[bluetooth]# trust xx:xx:xx:xx:xx:xx [bluetooth]# exit
And now it works. Each time OSMC starts, there’s a wait time of 3-7 seconds before the keyboard is responsive.