
debian
A. Add following configure in project deconfig
CONFIG_BT_INTEL=y CONFIG_BT_BCM=y CONFIG_BT_RTL=y CONFIG_BT_HCIBTUSB=y CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB_RTL=y
B. Add 8822b patch on rtlbt in kernel. https://patchwork.kernel.org/patch/9323749/
C. Download firmware on https://github.com/wkennington/linux-firmware/tree/master/rtl_bt Copy rtl8822b_config.bin, rtl8822b_fw.bin to /lib/firmware/rtl_bt/ on DUT
root@linaro-alip:~# hciconfig hci0: Type: Primary Bus: USB BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RX bytes:14 acl:0 sco:0 events:1 errors:0 TX bytes:3 acl:0 sco:0 commands:1 errors:0
root@linaro-alip:~# 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:14 acl:0 sco:0 events:1 errors:0 TX bytes:3 acl:0 sco:0 commands:1 errors:0

Features: 0x00 Packet type: DM1 DH1 HV1 Link policy: Link mode: SLAVE ACCEPT
root@linaro-alip:~# hciconfig hci0 up [ 27.926398] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822 [ 27.935080] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin [ 27.945284] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin [ 27.954356] Bluetooth: hci0: rom_version status=0 version=2 [ 27.960009] Bluetooth: cfg_sz 14, total size 20270 root@linaro-alip:~# hcitool scan Scanning ... 00:1A:7D:DA:71:13 PC020802 2C:8B:7C:14:62:61 Y1 24:FD:52:8B:A5:D3 NB020903 F4:60:E2:A3:F2:E9 Bigboss 38:BA:F8:D2:14:4F NB080164 22:22:43:21:58:90 rk3368 60:F6:77:A1:42:F7 NB070308 80:35:C1:4E:15:30 紅米手機 F8:94:C2:8F:F8:C1 daniel 90:61:AE:61:46:A2 NB061001 root@linaro-alip:~#
Pagina's waarnaar wordt verwezen in deze handleiding — fabrikant, ondersteuning en downloads.
Eigenaren en ons team reageren doorgaans binnen een dag — en uw vraag helpt ook de volgende persoon.
Stel als eerste een vraag — andere eigenaren of ons team geven antwoord.