USB Bluetooth driver not added to kernel on Android Auto 13

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB Bluetooth driver not added to kernel on Android Auto 13

Jump to solution
50 Views
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 Kudos
1 Solution
24 Views
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

View solution in original post

0 Kudos
1 Reply
25 Views
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 Kudos