Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Filipe,
Thank you for reaching out with your question. It sounds like you’re encountering a challenging issue with your custom camera setup on the iMX8M Plus. Here are some steps you can take to troubleshoot the problem of your camera not registering as a /dev/videoX device:
-
Device Tree Overlay: Ensure that the appropriate device tree overlay for your camera is applied. This is essential for the system to recognize and configure the camera hardware correctly. You can verify and modify the overlays in the
/boot/overlays.txtfile. For instance, if you’re using a Framos IMX662, make sure theverdin-imx8mp_imx662_overlay.dtbois applied. -
Kernel Logs: Check the kernel logs for any error messages or warnings during the module loading process. You can do this by running
dmesgin the terminal. Look for any messages related to the camera or the V4L2 subsystem that might provide clues about the issue. -
Driver Compatibility: Confirm that the camera driver you are using is compatible with the version of Torizon OS installed. Since you mentioned modifying the Framos IMX662 example, ensure that any changes made do not interfere with the driver’s ability to register the device.
-
Video Device Registration: Use the
v4l2-ctltool from thev4l2-utilspackage to list video devices and check if the camera is recognized. Runv4l2-ctl --list-devicesto see if your camera appears in the list. -
GStreamer Pipeline: If the device is registered, you can test video capture using a GStreamer pipeline. This can help verify that the camera is functioning correctly once registered.
By following these steps, you should be able to identify and resolve the issue preventing your camera from registering as a /dev/videoX device. I hope this helps, and please feel free to reach out if you have further questions.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: