Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] AIO3399J Bluetooth: No HCI device

11

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
11

【Linux】 AIO3399J Bluetooth: No HCI device

Posted at 7/3/2020 12:29:54      View:2201 | Replies:0        Print      Only Author   [Copy Link] 1#
Last edited by sablime In 7/3/2020 13:34 Editor

Hello

I am trying to get bluetooth up and running on the aio-3399j board.

aio-3399j board is included ap6356s(wifi+bluetooth).
The WiFi is worked, but bluetooth does not work well.
In other word, bluetooth hci device does not appear.

I'am running with rootfs (ubuntu 18.04.04, unity desktop) which is created by me.

What do i have to check to fix it? could you explain in detail ?


sablime@linux:~$ dmesg | egrep -i "blue|firm"
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.242276] Bluetooth: Core ver 2.21
[    0.243015] Bluetooth: HCI device and connection manager initialized
[    0.243590] Bluetooth: HCI socket layer initialized
[    0.244026] Bluetooth: L2CAP socket layer initialized
[    0.244487] Bluetooth: SCO socket layer initialized
[    1.554561] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    1.626817] Bluetooth: Virtual HCI driver ver 1.5
[    1.627463] Bluetooth: HCI UART driver ver 2.3
[    1.627882] Bluetooth: HCI UART protocol H4 registered
[    1.628337] Bluetooth: HCI UART protocol LL registered
[    1.628804] Bluetooth: HCI UART protocol ATH3K registered
[    1.722675] Bluetooth: RFCOMM socket layer initialized
[    1.723778] Bluetooth: RFCOMM ver 1.11
[    1.724133] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.724675] Bluetooth: HIDP socket layer initialized
[    1.731414] of_get_named_gpiod_flags: parsed 'uart_rts_gpios' property of node '/wireless-bluetooth[0]' - status (0)
[    1.731422] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 83.
[    1.732153] of_get_named_gpiod_flags: can't parse 'BT,power_gpio' property of node '/wireless-bluetooth[0]'
[    1.732177] of_get_named_gpiod_flags: parsed 'BT,reset_gpio' property of node '/wireless-bluetooth[0]' - status (0)
[    1.732183] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 9.
[    1.732907] of_get_named_gpiod_flags: parsed 'BT,wake_gpio' property of node '/wireless-bluetooth[0]' - status (0)
[    1.732913] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_gpio = 90.
[    1.734020] of_get_named_gpiod_flags: parsed 'BT,wake_host_irq' property of node '/wireless-bluetooth[0]' - status (0)
[    1.734027] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 4.
[    4.499373] dhd_os_open_image: /system/etc/firmware/config.txt (205 bytes) open success
[    4.499912] Final fw_path=/system/etc/firmware/fw_bcm4356a2_ag.bin
[    4.499916] Final nv_path=/system/etc/firmware/nvram_ap6356.txt
[    4.499920] Final clm_path=/system/etc/firmware/clm_bcmdhd.blob
[    4.499924] Final conf_path=/system/etc/firmware/config.txt
[    4.501366] dhd_os_open_image: /system/etc/firmware/fw_bcm4356a2_ag.bin (555412 bytes) open success
[    4.541968] dhd_os_open_image: /system/etc/firmware/nvram_ap6356.txt (2843 bytes) open success
[    4.611572] dhd_apply_default_clm: Ignore clm file /system/etc/firmware/clm_bcmdhd.blob
[    4.613626] Firmware up: op_mode=0x0005, MAC=cc:4b:73:82:a2:86
                 Firmware: wl0: Jun 16 2015 14:25:06 version 7.35.184.r1 (TOB) (r559293) FWID 01-b22ae69c

sablime@linux:~$
sablime@linux:~$ hciconfig dev
Can't get device info: No such device
sablime@linux:~$ hcitool dev
Devices:
sablime@linux:~$
sablime@linux:~$ bluetoothctl
Agent registered
[bluetooth]# show
No default controller available
[bluetooth]#

sablime@linux:~$ rfkill list
0: bt_default: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: brcmfmac-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no









Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list