According to the driver provided by sonix, You need to configure it in the kernel to add it to the kernel or compile it with the module:
1. Add the driver directory to The makefile to keep it consistent with the original directory,
OBJ-$ (config_usb_sn9c102) + = sn9c102/
OBJ-$ (config_usb_sonix_uvc_sn9c29x) + = sonix_uvc_sn9c291/
OBJ-$ (config_usb_et61x251) + = et61x251/
2. Add the src directory in kconfig as follows:
Source "Drivers/Media/Video/sn9c102/kconfig"
Source "Drivers/Media/Video/sonix_uvc_sn9c291/kconfig"
Config usb_stv680
Consistent
It is worth noting that the name of config_usb_sonix_uvc_sn9c29x must be consistent with that of the makefile in the subdirectory.
In the Kernel configuration, an additional option is displayed, as shown in figure
Save the configuration and run make modules.
The Ko file will be obtained without an accident.
The driver compiled in the module mode is obtained. After the system is started, the driver is loaded in the insmod mode.
Chengdu kangamu Network Technology Co., Ltd.