-
Notifications
You must be signed in to change notification settings - Fork 1
Enabling and disabling MIPI CSI 2 camera drivers
CarolaSchoenrock edited this page Jul 8, 2019
·
2 revisions
By default, the camera driver modules of MIPI CSI-2 cameras from Allied Vision and Omnivision are loaded. You can enable or disable driver modules either permanently or until the next bootup.
Note that Allied Vision’s driver avt_imx6_csi2 is built on NXP’s driver mxc_v4l2_capture. Therefore, mxc_v4l2_capture must be enabled to use Alvium CSI-2 cameras.
To disable or enable a MIPI CSI-2 driver module until the next bootup:
# List all loadable modules
lsmod
# Disable modules
sudo rmmod ov5642_camera
# Depends on mxc_v4l2_capture, v4l2_int_device
sudo rmmod avt_imx6_csi2
# Depends on mxc_v4l2_capture, v4l2_int_device
# Keep enabled to use your camera
sudo rmmod mxc_v4l2_capture
sudo rmmod v4l2_int_device
# Enable a module
sudo modprobe avt_imx6_csi2
To disable the Omnivision driver module permanently, go to /etc/modprobe.d/blacklist.conf and append a line with the driver module you want to disable:
# Go to the end of the .conf file. Append a line with the driver module you want to disable
blacklist ov5642_camera