How to make LT6911uxc driver autoload after we changed it from buildin mode to not buildin mode

1、we changed file /linux/Linux_for_Tegra/source/public/kernel/kernel-4.9/arch/arm64/configs/tegra_ms_defconfig from “CONFIG_VIDEO_LT6911UXC=y” TO “CONFIG_VIDEO_LT6911UXC=m” to make LT6911UXC driver from buildin mode to not buildin mode

  1. We put the build out lt6911uxc.ko to /lib/modules/4.9.201-tegra/kernel/drivers/media/i2c/lt6911uxc.ko

  2. We want to make the upper /lib/modules/4.9.201-tegra/kernel/drivers/media/i2c/lt6911uxc.ko auto loaded when ubuntu power on. But the lt6911uxc.ko is not auto loaded :-(

So that we want to ask what shall we change to make the lt6911uxc.ko auto loaded when ubuntu power on ??

You can search it over google search or something else.

https://www.cyberciti.biz/faq/linux-how-to-load-a-kernel-module-automatically-at-boot-time/

Have you tried this method successfully?

Please also follow the document to run the modules_install to your lib/modules. Otherwise, those dependency are gone and what you are doing is just as same insmod.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#wwpID0E06C0HA