Jump to content

Recommended Posts

Posted (edited)

I purchased the wifi + bt module. It is RTL8852BE.

 

 WhatsAppImage2024-04-21at18_29.11_8656ad97.thumb.jpg.53544875787c41bfa1c09938b91e8956.jpg

my armbian:

Linux orangepi5-plus 5.10.160-legacy-rk35xx #1 SMP Fri Feb 2 07:51:33 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

 

My Bluetooth never works. It cannot be listed under hciconfig:

vnc@orangepi5-plus:~$ hciconfig -a
vnc@orangepi5-plus:~$ rfkill
ID TYPE      DEVICE          SOFT      HARD
 0 bluetooth bt_default   blocked unblocked
 1 wlan      phy0       unblocked unblocked

vnc@orangepi5-plus:/$ sudo cat /var/log/dmesg | grep "\(luetooth\|RFKILL\)"
[sudo] password for vnc:
[    4.299662] kernel: Bluetooth: Core ver 2.22
[    4.299678] kernel: Bluetooth: HCI device and connection manager initialized
[    4.299682] kernel: Bluetooth: HCI socket layer initialized
[    4.299685] kernel: Bluetooth: L2CAP socket layer initialized
[    4.299691] kernel: Bluetooth: SCO socket layer initialized
[    5.822591] kernel: [BT_RFKILL]: Enter rfkill_rk_init
[    5.822597] kernel: [WLAN_RFKILL]: Enter rfkill_wlan_init
[    5.823354] kernel: [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    5.823394] kernel: [WLAN_RFKILL]: can't find rockchip,grf property
[    5.823401] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6275p
[    5.823406] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    5.823412] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    5.823458] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 8, flags = 0.
[    5.823468] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    5.823473] kernel: [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    5.823480] kernel: [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1
[    5.823485] kernel: [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    5.824968] kernel: [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 148.
[    5.825045] kernel: [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 21.
[    5.825063] kernel: [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_gpio = 150.
[    5.825081] kernel: [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 0.
[    5.825187] kernel: [BT_RFKILL]: Request irq for bt wakeup host
[    5.825276] kernel: [BT_RFKILL]: ** disable irq
[    5.825419] kernel: [BT_RFKILL]: bt_default device registered.
[    8.815604] kernel: [BT_RFKILL]: bt shut off power


I tried rfkill to unblock the device. It can be listed under hciconfig:

vnc@orangepi5-plus:~$ sudo rfkill unblock 0
vnc@orangepi5-plus:~$ hciconfig -a
hci0:   Type: Primary  Bus: USB
        BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
        DOWN
        RX bytes:21 acl:0 sco:0 events:2 errors:0
        TX bytes:6 acl:0 sco:0 commands:2 errors:0
        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DH1 HV1
        Link policy:
        Link mode: PERIPHERAL ACCEPT

 

After rebooting the dmesg shows the firmware is not found. Please advise:

 

vnc@orangepi5-plus:/$ sudo cat /var/log/dmesg | grep "\(luetooth\|RFKILL\)"
[sudo] password for vnc:
[    4.304042] kernel: Bluetooth: Core ver 2.22
[    4.304063] kernel: Bluetooth: HCI device and connection manager initialized
[    4.304067] kernel: Bluetooth: HCI socket layer initialized
[    4.304070] kernel: Bluetooth: L2CAP socket layer initialized
[    4.304076] kernel: Bluetooth: SCO socket layer initialized
[    5.796021] kernel: [BT_RFKILL]: Enter rfkill_rk_init
[    5.796026] kernel: [WLAN_RFKILL]: Enter rfkill_wlan_init
[    5.796715] kernel: [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    5.796743] kernel: [WLAN_RFKILL]: can't find rockchip,grf property
[    5.796749] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6275p
[    5.796754] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    5.796758] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    5.796795] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 8, flags = 0.
[    5.796801] kernel: [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    5.796804] kernel: [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    5.796809] kernel: [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1
[    5.796813] kernel: [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    5.797654] kernel: [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 148.
[    5.797698] kernel: [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 21.
[    5.797709] kernel: [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_gpio = 150.
[    5.797720] kernel: [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 0.
[    5.797785] kernel: [BT_RFKILL]: Request irq for bt wakeup host
[    5.797840] kernel: [BT_RFKILL]: ** disable irq
[    5.797942] kernel: [BT_RFKILL]: bt_default device registered.
[    8.790808] kernel: [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host high!
[    8.842572] kernel: [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host input!
[    8.842598] kernel: [BT_RFKILL]: ENABLE UART_RTS
[    8.952573] kernel: [BT_RFKILL]: DISABLE UART_RTS
[    8.952634] kernel: [BT_RFKILL]: bt turn on power
[    8.952658] kernel: [BT_RFKILL]: Request irq for bt wakeup host
[    8.952693] kernel: [BT_RFKILL]: ** disable irq
[    9.253728] kernel: usb 5-1.1: Product: Bluetooth Radio
[    9.312606] kernel: Bluetooth: hci0: RTL: examining hci_ver=0b hci_rev=000b lmp_ver=0b lmp_subver=8852
[    9.313357] kernel: rtk_btusb: Realtek Bluetooth USB driver ver 3.1.6d45ddf.20220519-142432
[    9.313592] kernel: Bluetooth: hci0: RTL: rom_version status=0 version=1
[    9.313600] kernel: Bluetooth: hci0: RTL: loading rtl_bt/rtl8852bu_fw.bin
[    9.315321] kernel: bluetooth hci0: Direct firmware load for rtl_bt/rtl8852bu_fw.bin failed with error -2
[    9.315330] kernel: Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8852bu_fw.bin not found
[   11.338412] kernel: Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   11.338421] kernel: Bluetooth: BNEP filters: protocol multicast
[   11.338434] kernel: Bluetooth: BNEP socket layer initialized

 

Edited by Ken Tsang

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines