Cannot run bluetoothd on imx6ul

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot run bluetoothd on imx6ul

775 Views
tsung-chihwang
Contributor III

Hi,

My current Linux BSP version is 3.14.38.

I am trying to verify an USB BT module on imx6ul.

1. I added this line to conf/local.conf, then used "bitbake core-image-minimal" to build code.

    IMAGE_INSTALL_append = " bluez5"

2. Finally, I put the contents of built rootfs to my current rootfs.

3. However, I got an error while running bluetoothd.

    Below is my error log.

root@imx6ulevk:/usr/lib/bluez5/bluetooth# ./bluetoothd -d -n
bluetoothd[581]: Bluetooth daemon 5.28
D-Bus setup failed: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
bluetoothd[581]: Unable to get on D-Bus

Could you tell me how to fix this issue?

Labels (4)
Tags (1)
0 Kudos
2 Replies

572 Views
igorpadykov
NXP Employee
NXP Employee

Hi Tsung-Chih

one can try steps described in Linux Guide on murata support portal for i.mx wifi,

bluetooth  solutions

wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-freescale-i-mx.html

Linux NXP software is described on link

i.MX Software|NXP 

If used bluetooth module is different, it is necessary to install driver for that module,

it should be provided by vendor of that module

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

572 Views
tsung-chihwang
Contributor III

I think the root cause is dbus-daemon is not running.
However, I got an error again on enabling it.

root@imx6ulevk:/etc/init.d# ./dbus-1 start
Starting system message bus: start-stop-daemon: unknown user messagebus dbus.

0 Kudos