EWM-W188 ds100 debian Bluetooth Porting Guide

Table of Contents

EWM-W188 Bluetooth porting guide for ds100debian

Porting

A. Add following configure in project deconfigCONFIG_BT_INTEL=yCONFIG_BT_BCM=yCONFIG_BT_RTL=yCONFIG_BT_HCIBTUSB=yCONFIG_BT_HCIBTUSB_BCM=yCONFIG_BT_HCIBTUSB_RTL=yB. 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

Test

:~# hciconfighci0: Type: Primary Bus: USBBD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0DOWNRX bytes:14 acl:0 sco:0 events:1 errors:0TX bytes:3 acl:0 sco:0 commands:1 errors:0:~# hciconfig -ahci0: Type: Primary Bus: USBBD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0DOWNRX bytes:14 acl:0 sco:0 events:1 errors:0TX bytes:3 acl:0 sco:0 commands:1 errors:0Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00Packet type: DM1 DH1 HV1Link policy:Link mode: SLAVE ACCEPT:~# hciconfig hci0 up[ 27.926398] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07lmp_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:~# hcitool scanScanning …00:1A:7D:DA:71:13 PC0208022C:8B:7C:14:62:61 Y124:FD:52:8B:A5:D3 NB020903F4:60:E2:A3:F2:E9 Bigboss38:BA:F8:D2:14:4F NB08016422:22:43:21:58:90 rk336860:F6:77:A1:42:F7 NB07030880:35:C1:4E:15:30 紅紅紅紅F8:94:C2:8F:F8:C1 daniel90:61:AE:61:46:A2 NB061001:~#

EWM-W188 ds100 debian Bluetooth Porting Guide – EWM-W188 ds100 debian Bluetooth Porting Guide –

[xyz-ips snippet=”download-snippet”]


Posted

in

by