Jetson Orin Nano No Cameras Available

Hello, I just got a Jetson orin nano developer kit from my team and I am trying to capture and record a video using the ArduCam camera.

When I tested it with my team, the camera worked fine, and so did the video recording. But this morning, I unplugged the original connection wire, which connects the kit and the camera board, and tried to replace it with a longer wire. However, after I inserted the new wire, the working code did not bring up the camera view anymore. Instead, it generated an error, saying No cameras available. I tried with the previous wire, same result.

The attached is the code for checking whether the camera works:
DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM),width=3280,height=2464,format=NV12,framerate=10/1’ ! nvvidconv ! autovideosink -e

I did check dmesg, which is as below:
[ 6.713953] gpio-397 (camera-control-output-low): hogged as output/low
[ 6.720726] gpio-486 (camera-control-output-low): hogged as output/low

For additional information, the error message is as follows:

Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:751 No cameras available
WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage: Pipeline construction is invalid, please add queues.
Additional debug info:
gstbasesink.c(1209): gst_base_sink_query_latency (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage:
Not enough buffering available for the processing deadline of 0:00:00.015000000, add enough queues to buffer 0:00:00.015000000 additional data. Shortening processing latency to 0:00:00.000000000.
Got EOS from element “pipeline0”.
Execution ended after 0:00:00.003749529
Setting pipeline to NULL …
Freeing pipeline …

This has confused me for the whole day, can anyone help please? Thanks.

Looks like the driver didn’t load due to HW problem.
Confirm by “v4l2-ctl --list-devices” to confirm and check by below command.

sudo dmesg | grep -i "imx477/|imx219"

Hi ShaneCCC, thanks for your reply.

I inserted “v4I2-ctl --list-devices” and here is the feedback:

NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0

Cannot open device /dev/video0, exiting.

Unfortunately, after trying your attached code, there was no feedback and my original code still did not bring up the camera view.

Do you consult with camera vendor to install the camera driver?

Considering the previous success, I think we have the correct driver installed already. Now I am just wondering if it could be the problem with my jetson kit because I have tried different combinations of the connection cable and the camera, neither worked. I doubt if it could be the problem with, for example, the CSI port (I was hot-swapping connections cables for a few times and I wonder if that could damage the port or the board)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.