Getting BT on the Pi in an operational state is a little complex, due to the need to replace BlueZ. Itâs going to take quite some time to get it working properly.
after boot:
root@osmc:~# /etc/rc.d/bluetooth restart
-bash: /etc/rc.d/bluetooth: No such file or directory
root@osmc:~# systemctl status bluetooth.service
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Drop-In: /etc/systemd/system/bluetooth.service.d
`-local.conf
Active: inactive (dead)
Docs: man:bluetoothd(8)
Warning: Unit file changed on disk, âsystemctl daemon-reloadâ recommended.
And after restart of Service:
root@osmc:~# systemctl status bluetooth.service
bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Drop-In: /etc/systemd/system/bluetooth.service.d -local.conf Active: active (running) since Fri 2016-03-04 19:20:27 CET; 2s ago Docs: man:bluetoothd(8) Main PID: 1872 (bluetoothd) Status: "Running" CGroup: /system.slice/bluetooth.service -1872 /usr/lib/bluetooth/bluetoothd
Mar 04 19:20:27 osmc bluetoothd[1872]: Bluetooth daemon 5.23
Mar 04 19:20:27 osmc bluetoothd[1872]: Starting SDP server
Mar 04 19:20:27 osmc bluetoothd[1872]: Bluetooth management interface 1.10 initialized
Here is what I found in journal:
Mar 04 19:02:50 osmc hciattach[309]: Initialization timed out.
Mar 04 19:02:50 osmc hciattach[309]: bcm43xx_init
Mar 04 19:02:50 osmc systemd[1]: hciuart.service: control process exited, code=exited status=1
Mar 04 19:02:50 osmc systemd[1]: Failed to start Configure Bluetooth Modems connected by UART.
Mar 04 19:02:50 osmc systemd[1]: Unit hciuart.service entered failed state.
Whatâs different thatâs stopping Bluetooth working on OSMC?
Iâve read Rasbian comes with bluetooth working using bluetooth-pi package. Can that package not be used?
Supporting the Pi 3âs built in bluetooth in OSMC will require quite a bit of work, however it is being worked on.
Remember that the bluetooth driver was not even finished at the time the Pi foundation released the hardware to the public, so these things take a little time.