[Starling2] The devices are recognized as /dev/video* but no assigned as the device available in the voxl system
-
Hi, I unblicked one of our Starling2, but I can not see any video in the app QGroundControl.
I found the problem with the debug tool described in the following log section.
However, I could not figure out how to fix it. Could you give me any help, please?
Thanks.
- What hardware are you using? If you have specific SKU or serial number, that is also helpful
family code: MRB-D0014 (starling-2) compute board: 4 (voxl2) hw version: 1 cam config: 27 modem config: 22 (M0141 w/ Alfa Networks WiFi Dongle AWUS036EACS) tx config: 7 (elrs_beta_fpv) extras config: 0 (none) SKU: MRB-D0014-4-V1-C27-T7-M22-X0
- What version of software are you using? voxl-version is very helpful for determining software version.*
-------------------------------------------------------------------------------- system-image: 1.8.02-M0054-14.1a-perf kernel: #1 SMP PREEMPT Mon Nov 11 22:47:44 UTC 2024 4.19.125 -------------------------------------------------------------------------------- hw platform: M0054 mach.var: 1.0.1 -------------------------------------------------------------------------------- voxl-suite: 1.4.1 -------------------------------------------------------------------------------- current IP: wlan0: 192.168.8.1 --------------------------------------------------------------------------------
- How have you configured the software? What is the output of voxl-inspect-services
Service Name | Enabled | Running | CPU Usage ------------------------------------------------------------------- docker-autorun | Disabled | Not Running | modallink-relink | Disabled | Not Running | voxl-auto-logger | Disabled | Not Running | voxl-camera-server | Enabled | Running | 31.9% voxl-cpu-monitor | Enabled | Running | 0.7% voxl-dfs-server | Disabled | Not Running | voxl-elrs-startup | Disabled | Not Running | voxl-feature-tracker | Disabled | Not Running | voxl-flow-server | Disabled | Not Running | voxl-imu-server | Enabled | Running | 4.3% voxl-io-server | Disabled | Not Running | voxl-lepton-server | Disabled | Not Running | voxl-lepton-tracker | Disabled | Not Running | voxl-logger | Disabled | Not Running | voxl-mavcam-manager | Enabled | Running | 0.0% voxl-mavlink-server | Enabled | Running | 4.0% voxl-modem | Disabled | Not Running | voxl-open-vins-server | Enabled | Not Running | voxl-osd | Disabled | Not Running | voxl-portal | Enabled | Running | 0.1% voxl-px4-imu-server | Disabled | Not Running | voxl-px4 | Enabled | Running | 42.9% voxl-qvio-server | Disabled | Not Running | voxl-rangefinder-server | Enabled | Running | 0.9% voxl-remote-id | Disabled | Not Running | voxl-softap | Enabled | Completed | voxl-state-estimator | Disabled | Not Running | voxl-static-ip | Disabled | Not Running | voxl-streamer | Enabled | Running | 0.0% voxl-tag-detector | Disabled | Not Running | voxl-tflite-server | Disabled | Not Running | voxl-time-sync | Disabled | Not Running | voxl-uvc-server | Disabled | Not Running | voxl-vision-hub | Enabled | Running | 9.3% voxl-vrx | Disabled | Not Running | voxl-vtx | Disabled | Not Running | voxl-wait-for-fs | Enabled | Completed |
- Do you have any logs? Uploading PX4 logs to https://logs.px4.io can be very helpful. See details on PX4 logs here
With this command:
voxl-inspect-cam -a
I got this:
Client is cleaning up pipes for the server ERROR in pipe_client_open opening request pipe: No such device or address closing and exitingver stopped without cleaning up
I also tried this:
voxl2:/$ ls /dev/video* /dev/video0 /dev/video1 /dev/video32 /dev/video33
- Can you share pictures of your setup?
- Have you looked at the source code? If so, can you point to any potential issues?
No.
-
Can you please stop
voxl-camera-server
service and run the camera server in foreground to make sure that all cameras are started:systemctl stop voxl-camera server voxl-camera-server
If there is a problem, you should see it in the terminal output. I am surprised that
voxl-inspect-cam -a
does not produce any output, which means none of the cameras are alive, so you should see something in the output fromvoxl-camera-server
process.Perhaps your board is not correctly configured for the cameras, so you may want to run
voxl-configure-cameras
and select the correct option for your camera setup. Then re-startvoxl-camera-server
.Alex
-
I inspected with the command and got the output below:
voxl2:/$ voxl-inspect-sku family code: MRB-D0014 (starling-2) compute board: 4 (voxl2) hw version: 1 cam config: 27 modem config: 22 (M0141 w/ Alfa Networks WiFi Dongle AWUS036EACS) tx config: 0 (none) extras config: 0 (none) SKU: MRB-D0014-4-V1-C27-T0-M22-X0
This is the correct setting and this is also suggested by the automatic detection of the wizard.
I tested the 3 settings below by modifying /etc/modalai/voxl-camera-server.conf
- all camera
- w/o IMX412
- only IMX412
The details are below.
- all camera
Under this settings, as the drone's CPU load increases with such as viewing the image stream from VOXL portal, the likelihood that the process will fail increases. Sometimes, it dies during the starting up.
No output from voxl-inspect-cam -a
- w/o IMX412
This setting works fine. I can see the 4 image streams in VOXL portal.
voxl-inspect-cam -a says:
| Pipe Name | bytes | wide | hgt |exp(ms)| gain | frame id |latency(ms)| fps | mbps t | tof_conf | 43200 | 180 | 240 | 1.53 | 0 | 3559 | 23.4 | 10.0 | 3.58 | tof_depth | 43200 | 180 | 240 | 1.53 | 0 | 3560 | 23.3 | 10.0 | 3.58 | tof_ir | 43200 | 180 | 240 | 1.53 | 0 | 3560 | 23.2 | 10.0 | 3.58 | tracking_down | 1024000 | 1280 | 800 | 5.29 | 192 | 7690 | 31.1 | 30.0 | 245.88 | tracking_down_bayer | 1024000 | 1280 | 800 | 5.29 | 192 | 7690 | 30.7 | 30.0 | 245.88 | tracking_down_misp_grey | 1024000 | 1280 | 800 | 5.29 | 192 | 7690 | 29.8 | 30.0 | 245.88 | tracking_down_misp_norm | 1024000 | 1280 | 800 | 5.29 | 192 | 7690 | 30.9 | 30.0 | 245.88 | tracking_front | 1024000 | 1280 | 800 | 5.45 | 257 | 7577 | 30.8 | 30.0 | 245.88 | tracking_front_bayer | 1024000 | 1280 | 800 | 5.45 | 257 | 7577 | 30.8 | 30.0 | 245.88 | tracking_front_misp_grey | 1024000 | 1280 | 800 | 5.45 | 257 | 7577 | 29.8 | 30.0 | 245.88 | tracking_front_misp_norm | 1024000 | 1280 | 800 | 5.45 | 257 | 7577 | 31.3 | 30.0 | 245.88 | tracking_rear | 1024000 | 1280 | 800 | 5.42 | 249 | 7341 | 31.0 | 30.0 | 245.88 | tracking_rear_bayer | 1024000 | 1280 | 800 | 5.42 | 249 | 7341 | 31.0 | 30.0 | 245.88 | tracking_rear_misp_grey | 1024000 | 1280 | 800 | 5.42 | 249 | 7341 | 29.8 | 30.0 | 245.88 | tracking_rear_misp_norm | 1024000 | 1280 | 800 | 5.42 | 249 | 7341 | 31.1 | 30.0 | 245.88
- only IMX412
No image stream.
(
| Pipe Name | bytes | wide | hgt |exp(ms)| gain | frame id |latency(ms)| fps | mbps | fot | hires_large_color | | hires_large_encoded | | hires_large_grey | | hires_small_color | | hires_small_encoded | | hires_small_grey | | hires_snapshot | `` As the result, this one seems to have some hardware issue. I spent a lot of time for this but any resolutions do not work at all. We have three of starling 2 and compared with the working one. There is no diff. And, this one have not been healthy since the arrival, and we have unblicked it and reinstalled the SDK: https://docs.modalai.com/voxl2-unbricking/ https://docs.modalai.com/flash-system-image/