USB Bluetooth driver not added to kernel on Android Auto 13

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

USB Bluetooth driver not added to kernel on Android Auto 13

跳至解决方案
59 次查看
Lincoln_Dessen
Contributor II

Hi,

Currently I'm working on imx8qm MEK with Android Auto 13, linux kernel version is v6.1.25.

I am trying to enable bluetooth function on the board by connecting a bluetooth USB dongle rtl8761bu.

To recognize the device and bring out the driver, btusb.ko and btrtl.ko are both necessary for this.

Here is my setting:

  • arch/arm64/configs/gki_defconfig
CONFIG_BT=m
CONFIG_BT_RTL=m
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIBTUSB=m
CONFIG_BT_HCIBTUSB_RTL=y
  • drivers/bluetooth/Makefile
-obj-$(CONFIG_BT_HCIBTUSB)      += btusb.o
+obj-m                          += btusb.o
-obj-$(CONFIG_BT_RTL)           += btrtl.o
+obj-m                          += btrtl.o

 

After compile the kernel, both kernel modules are missing in the driver folder, why?

0 项奖励
1 解答
33 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi
You need add your .ko files into /device/nxp/imx8q/mek_8q/SharedBoardConfig.mk, then the drivers will be copied into Android rootfs.

Best Regards
Zhiming

在原帖中查看解决方案

0 项奖励
1 回复
34 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi
You need add your .ko files into /device/nxp/imx8q/mek_8q/SharedBoardConfig.mk, then the drivers will be copied into Android rootfs.

Best Regards
Zhiming

0 项奖励