voxl-camera-server not finding IMX678
-
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/camerathen 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: 0I have also used the configuration file helper script:
camera-server-config-helper hires:imx678:0Rebooting 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: 0I 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 doneTrying 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. -
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/camerathen 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: 0I have also used the configuration file helper script:
camera-server-config-helper hires:imx678:0Rebooting 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: 0I 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 doneTrying 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.can you please run
voxl-camera-server -d 0(in debug mode) -
can you please run
voxl-camera-server -d 0(in debug mode)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. -
can you please run
voxl-camera-server -d 0(in debug mode)Turns out I was missing:
/usr/lib/camera/com.qti.tuned.default.binIt appears to be working now.
-
Turns out I was missing:
/usr/lib/camera/com.qti.tuned.default.binIt appears to be working now.
@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.
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