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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. voxl-camera-server not finding IMX678

voxl-camera-server not finding IMX678

Scheduled Pinned Locked Moved Ask your questions right here!
5 Posts 2 Posters 1.2k 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.
  • W Offline
    W Offline
    wetherbeej
    wrote on last edited by
    #1

    I have a new VOXL2 with voxl-suite 1.1.3-1:

    --------------------------------------------------------------------------------
    system-image: 1.7.4-M0054-14.1a-perf
    kernel:       #1 SMP PREEMPT Fri Feb 9 22:38:25 UTC 2024 4.19.125
    --------------------------------------------------------------------------------
    hw platform:  M0054
    mach.var:     1.2
    --------------------------------------------------------------------------------
    voxl-suite:   1.1.3-1
    --------------------------------------------------------------------------------
    no current network connection
    --------------------------------------------------------------------------------
    

    I have an MDK-M0061-2-06 IMX678 hires camera connected via M0084 Dual Camera Adapter JU to VOXL2 Camera Group 1 J7.

    When I first have voxl-camera-server list connected cameras it of course doesn't find the camera until I copy over the .bin for that camera. Once I copy the .bin to /usr/lib/camera then it seems to find the camera, but yet it also thinks it doesn't find it.

    Excerpt:

    DEBUG:   Cam idx: 0, Cam slot: 3, Slave Address: 0x0034, Sensor Id: 0xA602
    DEBUG:   Number of cameras: 0
    

    I have also used the configuration file helper script: camera-server-config-helper hires:imx678:0

    Rebooting doesn't help.

    What step am I missing to get the IMX678 to be used by voxl-camera-server?

    Reference:

    Showing no camera, then copying the .bin file, then pseudo-finding the camera:

    voxl2:/$ 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:   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
    
    voxl2:/$ cp /usr/share/modalai/chi-cdk/imx678/com.qti.sensormodule.imx678_3.bin /usr/lib/camera/
    
    voxl2:/$ 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:   Cam idx: 0, Cam slot: 3, Slave Address: 0x0034, Sensor Id: 0xA602
    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
    

    I configured the camera as:

    voxl2:/$ camera-server-config-helper hires:imx678:0
    successfully wrote this camera config to disk:
    =================================================================
    configuration for 1 cameras:
    
    cam #0
        name:                hires
        sensor type:         imx678
        isEnabled:           1
        camId:               0
        camId2:              -1
        fps:                 30
        en_rotate:           0
        en_rotate2:          0
    
        en_preview:          0
        pre_width:           640
        pre_height:          480
        en_raw_preview:      0
    
        en_small_video:      1
        small_video_width:   1024
        small_video_height:  768
    
        en_large_video:      1
        large_video_width:   2048
        large_video_height:  1536
    
        en_snapshot:         1
        snap_width:          3840
        snap_height:         2160
    
        ae_mode:             isp
        standby_enabled:     0
        decimator:           1
        independent_exposure:0
    
    =================================================================
    camera_server_config_helper is done
    

    Trying to just run the camera-server:

    voxl2:/$ voxl-camera-server
    =================================================================
    configuration for 1 cameras:
    
    cam #0
        name:                hires
        sensor type:         imx678
        isEnabled:           1
        camId:               0
        camId2:              -1
        fps:                 30
        en_rotate:           0
        en_rotate2:          0
    
        en_preview:          0
        pre_width:           640
        pre_height:          480
        en_raw_preview:      0
    
        en_small_video:      1
        small_video_width:   1024
        small_video_height:  768
    
        en_large_video:      1
        large_video_width:   2048
        large_video_height:  1536
    
        en_snapshot:         1
        snap_width:          3840
        snap_height:         2160
    
        ae_mode:             isp
        standby_enabled:     0
        decimator:           1
        independent_exposure:0
    
    =================================================================
    ERROR:   Found zero cameras connected, need at least one.
    
    Alex KushleyevA 1 Reply Last reply
    0
    • W wetherbeej

      I have a new VOXL2 with voxl-suite 1.1.3-1:

      --------------------------------------------------------------------------------
      system-image: 1.7.4-M0054-14.1a-perf
      kernel:       #1 SMP PREEMPT Fri Feb 9 22:38:25 UTC 2024 4.19.125
      --------------------------------------------------------------------------------
      hw platform:  M0054
      mach.var:     1.2
      --------------------------------------------------------------------------------
      voxl-suite:   1.1.3-1
      --------------------------------------------------------------------------------
      no current network connection
      --------------------------------------------------------------------------------
      

      I have an MDK-M0061-2-06 IMX678 hires camera connected via M0084 Dual Camera Adapter JU to VOXL2 Camera Group 1 J7.

      When I first have voxl-camera-server list connected cameras it of course doesn't find the camera until I copy over the .bin for that camera. Once I copy the .bin to /usr/lib/camera then it seems to find the camera, but yet it also thinks it doesn't find it.

      Excerpt:

      DEBUG:   Cam idx: 0, Cam slot: 3, Slave Address: 0x0034, Sensor Id: 0xA602
      DEBUG:   Number of cameras: 0
      

      I have also used the configuration file helper script: camera-server-config-helper hires:imx678:0

      Rebooting doesn't help.

      What step am I missing to get the IMX678 to be used by voxl-camera-server?

      Reference:

      Showing no camera, then copying the .bin file, then pseudo-finding the camera:

      voxl2:/$ 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:   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
      
      voxl2:/$ cp /usr/share/modalai/chi-cdk/imx678/com.qti.sensormodule.imx678_3.bin /usr/lib/camera/
      
      voxl2:/$ 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:   Cam idx: 0, Cam slot: 3, Slave Address: 0x0034, Sensor Id: 0xA602
      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
      

      I configured the camera as:

      voxl2:/$ camera-server-config-helper hires:imx678:0
      successfully wrote this camera config to disk:
      =================================================================
      configuration for 1 cameras:
      
      cam #0
          name:                hires
          sensor type:         imx678
          isEnabled:           1
          camId:               0
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          0
          pre_width:           640
          pre_height:          480
          en_raw_preview:      0
      
          en_small_video:      1
          small_video_width:   1024
          small_video_height:  768
      
          en_large_video:      1
          large_video_width:   2048
          large_video_height:  1536
      
          en_snapshot:         1
          snap_width:          3840
          snap_height:         2160
      
          ae_mode:             isp
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      =================================================================
      camera_server_config_helper is done
      

      Trying to just run the camera-server:

      voxl2:/$ voxl-camera-server
      =================================================================
      configuration for 1 cameras:
      
      cam #0
          name:                hires
          sensor type:         imx678
          isEnabled:           1
          camId:               0
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          0
          pre_width:           640
          pre_height:          480
          en_raw_preview:      0
      
          en_small_video:      1
          small_video_width:   1024
          small_video_height:  768
      
          en_large_video:      1
          large_video_width:   2048
          large_video_height:  1536
      
          en_snapshot:         1
          snap_width:          3840
          snap_height:         2160
      
          ae_mode:             isp
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      =================================================================
      ERROR:   Found zero cameras connected, need at least one.
      
      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @wetherbeej ,

      can you please run voxl-camera-server -d 0 (in debug mode)

      W 2 Replies Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @wetherbeej ,

        can you please run voxl-camera-server -d 0 (in debug mode)

        W Offline
        W Offline
        wetherbeej
        wrote on last edited by
        #3

        @Alex-Kushleyev

        voxl2:/$ voxl-camera-server -d 0
        =================================================================
        configuration for 1 cameras:
        
        cam #0
            name:                hires
            sensor type:         imx678
            isEnabled:           1
            camId:               0
            camId2:              -1
            fps:                 30
            en_rotate:           0
            en_rotate2:          0
        
            en_preview:          0
            pre_width:           640
            pre_height:          480
            en_raw_preview:      0
        
            en_small_video:      1
            small_video_width:   1024
            small_video_height:  768
        
            en_large_video:      1
            large_video_width:   2048
            large_video_height:  1536
        
            en_snapshot:         1
            snap_width:          3840
            snap_height:         2160
        
            ae_mode:             isp
            standby_enabled:     0
            decimator:           1
            independent_exposure:0
        
        =================================================================
        DEBUG:   Attempting to open the hal module
        DEBUG:   SUCCESS: Camera module opened on attempt 0
        DEBUG:   ----------- Number of cameras: 0
        
        DEBUG:   Cam idx: 0, Cam slot: 3, Slave Address: 0x0034, Sensor Id: 0xA602
        ERROR:   Found zero cameras connected, need at least one.
        
        1 Reply Last reply
        0
        • Alex KushleyevA Alex Kushleyev

          @wetherbeej ,

          can you please run voxl-camera-server -d 0 (in debug mode)

          W Offline
          W Offline
          wetherbeej
          wrote on last edited by
          #4

          @Alex-Kushleyev

          Turns out I was missing: /usr/lib/camera/com.qti.tuned.default.bin

          It appears to be working now.

          Alex KushleyevA 1 Reply Last reply
          1
          • W wetherbeej

            @Alex-Kushleyev

            Turns out I was missing: /usr/lib/camera/com.qti.tuned.default.bin

            It appears to be working now.

            Alex KushleyevA Offline
            Alex KushleyevA Offline
            Alex Kushleyev
            ModalAI Team
            wrote on last edited by
            #5

            @wetherbeej oh, yes.. that would do it. I was just going to ask about that.

            By the way we are working on some camera-specific tuning tuning files, should be coming soon. The default may result in image colors appearing a bit off. However, we don't have a tuning file ready for IMX678 just yet.

            If the current image quality is of a big concern, please let me know.

            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