1

I've created an image for the RaspberryPi3 with Yocto Jethro (rpi-basic-image) and Ubuntu 14.04. I've included bluez5 and bluetooth in the DISTRO_FEATURES variable.

        DISTRO_FEATURES_append += " bluez5 bluetooth wifi"

In the IMAGE_INSTALL variable I've included bluez5 and linux-firmware-brcm43430:

        IMAGE_INSTALL_append += " linux-firmware-brcm43430 bluez5 i2c-tools python-smbus bridge-utils hostapd dhcp-server iptables wpa-supplicant wiringpi rpio rpi-gpio"

My image works. I also can start my wlan. Now I try with the command hciconfig but it does not delivers any device.

        root@raspberrypi3:~# hciconfig
        root@raspberrypi3:~#

Neither do hcitool dev

        root@raspberrypi3:~# hcitool dev
        Devices:
        root@raspberrypi3:~#

And if I type bluetoothctl then I get the command-line [bluetooth]#, but my key-board does not respond any more. I've to get it back with "CTRL C".

        root@raspberrypi3:~# bluetoothctl
        [bluetooth]#

Do you have any idea what I'm missing to get my bluetooth to work?

Thank you.

nrh
  • 43
  • 1
  • 2
  • 6

1 Answers1

1

The problem can be solved by adding this two variables in the configuration file :

DISTRO_FEATURES_append += " bluez5 bluetooth wifi systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"

Build your image and start the Bluetooth daemon manually:

systemctl start bluetooth
nrh
  • 43
  • 1
  • 2
  • 6
  • Take note that this 'fix' will migrate the entire boot subsystem to systemd. Beware it might have serious side effects. – Ariel M. Mar 19 '19 at 23:02