Bluetooth not working in rpb-*-image


What’s the different between debian and rpb image for bluetooth? Bluetooth is not working in rpb image but works fine in the debian image. bluetoothctl returns no controller in the rpb image. I tried using the debian boot image with rpb rootfs image but they are not compatible (network is not working at all).

Thanks in advance for any feedback.



how did you build/install the OE rpb image? For me , it’s working fine, using the released images in the 17.09 release:

root@dragonboard-410c:~# hciconfig -a
hci0:   Type: Primary  Bus: Unknown
        BD Address: 02:00:18:46:22:29  ACL MTU: 1024:7  SCO MTU: 50:8
        RX bytes:0 acl:0 sco:0 events:34 errors:0
        TX bytes:0 acl:0 sco:0 commands:33 errors:0
        Features: 0xff 0xfe 0x8f 0xfe 0xd8 0x3f 0x5b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF 
        Link mode: SLAVE ACCEPT 

root@dragonboard-410c:~# bluetoothctl 
[NEW] Controller 02:00:18:46:22:29 dragonboard-410c [default]

$ repo init -u -b pyro
$ repo sync
$ source setup-environment
$ bitbake rpb-desktop-image (we included xfce-base package + networkmanager instead of openbox)

To flash the rootfs image:
$ gunzip rpb-desktop-image-dragonboard-410c-timestamp-.ext4.gz
$sudo fastboot flash boot bootimage.img
$ sudo fastboot flash rootfs rpb-desktop-image-dragonboard-410c-timestamp-.ext4
$ sudo fastboot reboot

what is returned by hciconfig -a ? Could you please try to update the second stage bootloader (LK/aboot part) ?

BT is functional after updating the bootloader files with dragonboard410c_bootloader_emmc_linux-88. BT can be powered on and scan devices with bluetoothctl.