Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Accessories
  3. Image Sensors
  4. IMX412 not detecting

IMX412 not detecting

Scheduled Pinned Locked Moved Image Sensors
2 Posts 2 Posters 195 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fhaltmayer
    wrote on last edited by fhaltmayer
    #1

    Hi,
    Trying to run the IMX412 with the VOXL2 and have followed many of the threads regarding getting it to work. Ive gotten close but am running into a main problem. The camera is being noticed when running voxl-camera-server -l but it isnt being counted as a valid one. What am I missing here?

    voxl2:/usr/lib/camera$ voxl-camera-server -l
    DEBUG:   Attempting to open the hal module
    DEBUG:   SUCCESS: Camera module opened on attempt 0
    DEBUG:   ----------- Number of cameras: 0
    
    DEBUG:   cci-direct: using voxl_platform_mod config 0 layout
    DEBUG:   trying to open idx  0 /dev/v4l-subdev8
    DEBUG:   trying to open idx  1 /dev/v4l-subdev9
    DEBUG:   trying to open idx  2 /dev/v4l-subdev11
    Cam idx: 0, Cam slot: 2, Slave Address: 0x0034, Sensor Id: 0x0577
    DEBUG:   trying to open idx  3 /dev/v4l-subdev12
    DEBUG:   trying to open idx  4 /dev/v4l-subdev10
    DEBUG:   trying to open idx  5 /dev/v4l-subdev13
    DEBUG:   Note: This list comes from the HAL module and may not be indicative
    DEBUG:   	of configurations that have full pipelines
    
    DEBUG:   Number of cameras: 0
    

    The server-config:

    voxl2:/usr/lib/camera$ cat /etc/modalai/voxl-camera-server.conf
    /**
     * voxl-camera-server Configuration File
     *
     * Each camera has configurations for up to 4 HAL3 streams:
     *    - `preview` stream for raw unprocessed images from CV cameras
     *    - `small_video` 720p (ish) h264/h265 compressed for fpv video streaming
     *    - `large_video` 4k (ish) h264/h265 for onboard video recording to disk
     *    - `snapshot` ISP-processed JPG snapshots that get saved to disk
     *
     * on QRB5165 platforms (VOXL2 and VOXL2 mini) you can only have 3 of the 4 enabled
     *
     * This file is generated from default values by voxl-configure-cameras.
     * Do not expect arbitrary resolutions to work, the ISP and video compression
     * pipelines only support very specific resolutions.
     *
     * The default video compression mode is cqp or Constant Quantization Parameter
     *
     *
     *
     */
    {
    	"version":	0.1,
    	"fsync_en":	false,
    	"fsync_gpio":	109,
    	"cameras":	[{
    			"type":	"imx412",
    			"name":	"imx412",
    			"enabled":	true,
    			"camera_id":	0,
    			"fps":	30,
    			"en_rotate":	false,
    			"en_preview":	false,
    			"preview_width":	640,
    			"preview_height":	480,
    			"en_raw_preview":	false,
    			"en_small_video":	true,
    			"small_video_width":	1024,
    			"small_video_height":	768,
    			"small_venc_mode":	"h264",
    			"small_venc_br_ctrl":	"cqp",
    			"small_venc_Qfixed":	30,
    			"small_venc_Qmin":	15,
    			"small_venc_Qmax":	40,
    			"small_venc_nPframes":	9,
    			"small_venc_mbps":	2,
    			"en_large_video":	true,
    			"large_video_width":	4056,
    			"large_video_height":	3040,
    			"large_venc_mode":	"h264",
    			"large_venc_br_ctrl":	"cqp",
    			"large_venc_Qfixed":	40,
    			"large_venc_Qmin":	15,
    			"large_venc_Qmax":	50,
    			"large_venc_nPframes":	29,
    			"large_venc_mbps":	40,
    			"en_snapshot":	true,
    			"en_snapshot_width":	4056,
    			"en_snapshot_height":	3040,
    			"exif_focal_length":	3.1,
    			"exif_focal_length_in_35mm_format":	17,
    			"exif_fnumber":	1.24,
    			"snapshot_jpeg_quality":	75,
    			"ae_mode":	"isp",
    			"gain_min":	54,
    			"gain_max":	8000
    		}]
    }
    
    Alex KushleyevA 1 Reply Last reply
    0
    • F fhaltmayer

      Hi,
      Trying to run the IMX412 with the VOXL2 and have followed many of the threads regarding getting it to work. Ive gotten close but am running into a main problem. The camera is being noticed when running voxl-camera-server -l but it isnt being counted as a valid one. What am I missing here?

      voxl2:/usr/lib/camera$ voxl-camera-server -l
      DEBUG:   Attempting to open the hal module
      DEBUG:   SUCCESS: Camera module opened on attempt 0
      DEBUG:   ----------- Number of cameras: 0
      
      DEBUG:   cci-direct: using voxl_platform_mod config 0 layout
      DEBUG:   trying to open idx  0 /dev/v4l-subdev8
      DEBUG:   trying to open idx  1 /dev/v4l-subdev9
      DEBUG:   trying to open idx  2 /dev/v4l-subdev11
      Cam idx: 0, Cam slot: 2, Slave Address: 0x0034, Sensor Id: 0x0577
      DEBUG:   trying to open idx  3 /dev/v4l-subdev12
      DEBUG:   trying to open idx  4 /dev/v4l-subdev10
      DEBUG:   trying to open idx  5 /dev/v4l-subdev13
      DEBUG:   Note: This list comes from the HAL module and may not be indicative
      DEBUG:   	of configurations that have full pipelines
      
      DEBUG:   Number of cameras: 0
      

      The server-config:

      voxl2:/usr/lib/camera$ cat /etc/modalai/voxl-camera-server.conf
      /**
       * voxl-camera-server Configuration File
       *
       * Each camera has configurations for up to 4 HAL3 streams:
       *    - `preview` stream for raw unprocessed images from CV cameras
       *    - `small_video` 720p (ish) h264/h265 compressed for fpv video streaming
       *    - `large_video` 4k (ish) h264/h265 for onboard video recording to disk
       *    - `snapshot` ISP-processed JPG snapshots that get saved to disk
       *
       * on QRB5165 platforms (VOXL2 and VOXL2 mini) you can only have 3 of the 4 enabled
       *
       * This file is generated from default values by voxl-configure-cameras.
       * Do not expect arbitrary resolutions to work, the ISP and video compression
       * pipelines only support very specific resolutions.
       *
       * The default video compression mode is cqp or Constant Quantization Parameter
       *
       *
       *
       */
      {
      	"version":	0.1,
      	"fsync_en":	false,
      	"fsync_gpio":	109,
      	"cameras":	[{
      			"type":	"imx412",
      			"name":	"imx412",
      			"enabled":	true,
      			"camera_id":	0,
      			"fps":	30,
      			"en_rotate":	false,
      			"en_preview":	false,
      			"preview_width":	640,
      			"preview_height":	480,
      			"en_raw_preview":	false,
      			"en_small_video":	true,
      			"small_video_width":	1024,
      			"small_video_height":	768,
      			"small_venc_mode":	"h264",
      			"small_venc_br_ctrl":	"cqp",
      			"small_venc_Qfixed":	30,
      			"small_venc_Qmin":	15,
      			"small_venc_Qmax":	40,
      			"small_venc_nPframes":	9,
      			"small_venc_mbps":	2,
      			"en_large_video":	true,
      			"large_video_width":	4056,
      			"large_video_height":	3040,
      			"large_venc_mode":	"h264",
      			"large_venc_br_ctrl":	"cqp",
      			"large_venc_Qfixed":	40,
      			"large_venc_Qmin":	15,
      			"large_venc_Qmax":	50,
      			"large_venc_nPframes":	29,
      			"large_venc_mbps":	40,
      			"en_snapshot":	true,
      			"en_snapshot_width":	4056,
      			"en_snapshot_height":	3040,
      			"exif_focal_length":	3.1,
      			"exif_focal_length_in_35mm_format":	17,
      			"exif_fnumber":	1.24,
      			"snapshot_jpeg_quality":	75,
      			"ae_mode":	"isp",
      			"gain_min":	54,
      			"gain_max":	8000
      		}]
      }
      
      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @fhaltmayer , it looks like there maybe something missing from /usr/lib/camera/, as the camera is detected by the i2c probe but not accepted by the system.

      Can you please let me know how exactly the camera is connected (to camera slot/id 2, it seems) and also list all the contents of /usr/lib/camera/.

      Alex

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups