Help required for the Bluetooth USB dongle with yocto Dunfell #dunfell
Hi.. There
Hope all are doing well
I'm playing with the TP-Link Bluetooth dongle
For the instance, i have enabled all necessary drivers from the menuconfig
Not only that, but i have also manually added the firmware as per the few suggestions in rootfs of the yocto images
Those firmware are *rtl8761b_fw.bin* and *rtl8761b_config.bin* During the boot, i can see that these drivers are loaded along with the hci0
Now the main issue is, *hciconfig hci0 up* is not working
The error message that, I'm getting is *Bluetooth: Unable to create CMAC crypto context*
here are the brief Bluetooth logs
--------------------------------------------------------------------------------------
[ 0.146896] Bluetooth: Core ver 2.22
[ 0.147022] Bluetooth: HCI device and connection manager initialized
[ 0.147053] Bluetooth: HCI socket layer initialized
[ 0.147075] Bluetooth: L2CAP socket layer initialized
[ 0.147135] Bluetooth: SCO socket layer initialized
[ 1.846271] Bluetooth: RFCOMM socket layer initialized
[ 1.846342] Bluetooth: RFCOMM ver 1.11
[ 1.846375] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1.846390] Bluetooth: BNEP filters: multicast
[ 1.846414] Bluetooth: BNEP socket layer initialized
[ 3.836720] Bluetooth: Starting self testing
[ 3.923010] Bluetooth: ECDH test passed in 81376 usecs
[ 3.929313] Bluetooth: Unable to create CMAC crypto context
[ 3.933496] Bluetooth: Finished self testing
[ 5.081021] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761 [ 5.091216] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 5.096024] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761b_fw.bin
[ 5.108225] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761b_config.bin
[ 5.118750] Bluetooth: hci0: RTL: cfg_sz 25, total sz 11689
[ 5.248253] Bluetooth: hci0: RTL: fw version 0x097bec43
[ 74.094149] Bluetooth: Unable to create CMAC crypto context
-----------------------------------------------------------
Remember, i have already installed required bluetooth tools with the image
Such as bluez & dbus
------------------------------------------------------------IMAGE_INSTALL_append = " \
dbus \
bluez5 \
packagegroup-tools-bluetooth \
expat \
"DISTRO_FEATURES_append = " \
bluetooth \
"
-----------------------------------------------------------------
Can any one help me here?
All suggestions are welcome:)
Thanks
Mahendra (MS)