AnsweredAssumed Answered

bluetoothctl is not working with 8MMINILPD4-EVK

Question asked by Takashi Kashiwagi on Apr 17, 2019
Latest reply on Aug 11, 2019 by Takashi Kashiwagi

Hi everyone.


Do I need any special settings to use Bluetooth on 8MMINILPD4-EVK?


I bought 8MMINILPD4-EVK last week, and I bitbaked "fsl-image-qt5-validation-imx" (4.14-sumo). 

I did some functional checks, but I noticed that bluetoothctl returns "No default controller available".

root@imx8mmevk:~# bluetoothctl
Agent registered
[bluetooth]# devices
No default controller available
[bluetooth]# scan on
No default controller available
[bluetooth]# power on
No default controller available
[bluetooth]# version
Version 5.49
[bluetooth]# quit


I think that some settings are missing, does anyone know correct settings?



-- more information --

I checked dmseg, The HCI manager looks fine, but hciconfig can not find the device.

root@imx8mmevk:~# dmesg | grep "Bluetooth"
[ 0.874063] Bluetooth: Core ver 2.22
[ 0.881586] Bluetooth: HCI device and connection manager initialized
[ 0.887969] Bluetooth: HCI socket layer initialized
[ 0.892866] Bluetooth: L2CAP socket layer initialized
[ 0.897954] Bluetooth: SCO socket layer initialized
[ 2.027685] Bluetooth: HCI UART driver ver 2.3
[ 2.032149] Bluetooth: HCI UART protocol H4 registered
[ 2.037297] Bluetooth: HCI UART protocol BCSP registered
[ 2.042617] Bluetooth: HCI UART protocol ATH3K registered
[ 2.048024] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.054441] Bluetooth: HCI UART protocol Broadcom registered
[ 2.060112] Bluetooth: HCI UART protocol QCA registered
[ 2.752373] Bluetooth: RFCOMM TTY layer initialized
[ 2.752385] Bluetooth: RFCOMM socket layer initialized
[ 2.752401] Bluetooth: RFCOMM ver 1.11
[ 2.752407] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.752410] Bluetooth: BNEP filters: protocol multicast
[ 2.752415] Bluetooth: BNEP socket layer initialized
[ 2.752418] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.752423] Bluetooth: HIDP socket layer initialized
root@imx8mmevk:~# hciconfig
root@imx8mmevk:~# hci
hciattach hcidump hcisecfilter
hciconfig hcieventmask hcitool
root@imx8mmevk:~# sudo hciconfig hci0 up
Can't get device info: No such device


Best Regards,