RK3399 Bluetooth: No HCI device

Hi,

I’m trying to get bluetooth up and running on a headless RK3399 running Ubuntu. The kernel certainly seems to see it:

mitchekl@firefly:/usr/bin$ dmesg | egrep -i ‘blue|firm’

[ 0.000000] psci: PSCIv1.0 detected in firmware.

[ 0.211503] Bluetooth: Core ver 2.21

[ 0.211590] Bluetooth: HCI device and connection manager initialized

[ 0.211626] Bluetooth: HCI socket layer initialized

[ 0.211657] Bluetooth: L2CAP socket layer initialized

[ 0.211707] Bluetooth: SCO socket layer initialized

[ 1.781735] Bluetooth: HCI UART driver ver 2.3

[ 1.785455] Bluetooth: HCI UART protocol H4 registered

[ 1.807823] Bluetooth: HCI UART protocol LL registered

[ 2.140563] Bluetooth: RFCOMM TTY layer initialized

[ 2.143705] Bluetooth: RFCOMM socket layer initialized

[ 2.146821] Bluetooth: RFCOMM ver 1.11

[ 2.149865] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[ 2.152954] Bluetooth: BNEP filters: protocol multicast

[ 2.155976] Bluetooth: BNEP socket layer initialized

[ 2.159068] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

[ 2.164293] Bluetooth: HIDP socket layer initialized

[ 2.215665] of_get_named_gpiod_flags: parsed ‘uart_rts_gpios’ property of node ‘/wireless-bluetooth[0]’ - status (0)

[ 2.215672] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 83.

[ 2.218233] of_get_named_gpiod_flags: can’t parse ‘BT,power_gpio’ property of node ‘/wireless-bluetooth[0]’

[ 2.218256] of_get_named_gpiod_flags: parsed ‘BT,reset_gpio’ property of node ‘/wireless-bluetooth[0]’ - status (0)

[ 2.218262] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 9.

[ 2.220787] of_get_named_gpiod_flags: parsed ‘BT,wake_gpio’ property of node ‘/wireless-bluetooth[0]’ - status (0)

[ 2.220793] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_gpio = 90.

[ 2.223294] of_get_named_gpiod_flags: parsed ‘BT,wake_host_irq’ property of node ‘/wireless-bluetooth[0]’ - status (0)

[ 2.223300] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 4.

[ 3.190778] dhd_conf_set_conf_path_by_nv_path: config_path=/lib/firmware/config.txt

However, whenever I look for an hci device I find nothing. I’ve tried the following, all to no avail:

mitchekl@firefly:/usr/bin$ rfkill list all

0: bt_default: Bluetooth

Soft blocked: no

Hard blocked: no

1: phy0: Wireless LAN

Soft blocked: yes

Hard blocked: no

2: brcmfmac-wifi: Wireless LAN

Soft blocked: yes

Hard blocked: no

mitchekl@firefly:/usr/bin$ sudo rfkill unblock bluetooth

mitchekl@firefly:/usr/bin$ systemctl status bluetooth

bluetooth.service - Bluetooth service

Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)

Active: active (running) since Thu 2017-04-20 15:38:03 PDT; 3min 46s ago

 Docs: man:bluetoothd(8)

Main PID: 23993 (bluetoothd)

Status: “Running”

CGroup: /system.slice/bluetooth.service

       └─23993 /usr/lib/bluetooth/bluetoothd

Apr 20 15:38:03 firefly systemd[1]: Starting Bluetooth service…

Apr 20 15:38:03 firefly bluetoothd[23993]: Bluetooth daemon 5.37

Apr 20 15:38:03 firefly systemd[1]: Started Bluetooth service.

Apr 20 15:38:03 firefly bluetoothd[23993]: Starting SDP server

Apr 20 15:38:03 firefly bluetoothd[23993]: Bluetooth management interface 1.10 initialized

mitchekl@firefly:/usr/bin$ hciconfig dev

Can’t get device info: No such device

Any idea what I’m doing wrong, or if there is a more fundamental issue?

Thanks!

Hi,
the bluetooth is unavailable in ubuntu, we will fix it later.

Thanks! Could you point me to a central list of things that are not working in Ubuntu? It would save some effort.

Hi,
any news on this topic? It happened to me with the latest ubuntu firmware that bluetooth worked and I paired a bluetooth keyboard successfully with the board. And it worked without problem until I rebooted system. But it happened only once and I saw an error (dmesg) that only 4 cores were successfully initialized and last 2 failed.

The article is very thought-provoking, and it has helped me open my mind. Free Plat-Arch-205 test simulator available to enhance your IT expertise. Good luck!

ExamPassdump는 여러분의 시간을 절약해드릴 뿐만 아니라 여러분들이 안심하고 응시하여 순조로이 패스할수 있도록 도와주는 사이트입니다. ExamPassdump는 믿을 수 있는 사이트입니다. IT업계에서는 이미 많이 알려 져있습니다. 그리고 여러분에 신뢰를 드리기 위하여PECB NIS-2-Directive-Lead-Implementer관련자료의 일부분 문제와 답 등 샘플을 무료로 다운받아 체험해볼 수 있게 제공합니다. 아주 만족할 것이라고 믿습니다. 우리는ExamPassdump제품에 대하여 아주 자신이 있습니다. 우리PECB NIS-2-Directive-Lead-Implementer도 여러분의 무용지물이 아닌 아주 중요한 자료가 되리라 믿습니다. 여러분께서는 아주 순조로이 시험을 패스하실 수 있을 것입니다. ExamPassdump선택은 틀림없을 것이며 여러분의 만족할만한 제품만을 제공할것입니다.

This article is truly remarkable, I’m grateful for your sharing. I used the Latest test Web-Development-Applications questions and answers to climb the career ladder and earn a salary raise. It’s now free for everyone. Best of luck with your career!

Thank you for your article, it truly broadened my mind and vision. Wishing you all the best on your exams! Free MO-210 latest exam questions fee questions available now!