v4l2-ctl could not show USB Camera on Jetson Nano

I have installed v4l2 ubuntu package on Jetson Nano. By running these commands I want to find USB Cameras plugged in to Jetson Nano, But it doesn’t show any usb camera.

command:

v4l2-ctl -d /dev/video0 --all

message:

Failed to query video capabilities: No such file or directory
libv4l2: error getting capabilities: No such file or directory
VIDIOC_QUERYCAP: failed: No such file or directory
/dev/video0: not a v4l2 node

command:

v4l2-ctl --list-devices

message:

Failed to query video capabilities: No such file or directory
libv4l2: error getting capabilities: No such file or directory
Failed to query video capabilities: No such file or directory
libv4l2: error getting capabilities: No such file or directory
VIDIOC_QUERYCAP: failed: No such file or directory
/dev/video0: not a v4l2 node

Also I check /dev/video0 :

ls /dev/v*
/dev/vcs /dev/vcs2 /dev/vcs4 /dev/vcs6 /dev/vcsa1 /dev/vcsa3 /dev/vcsa5 /dev/vhci
/dev/vcs1 /dev/vcs3 /dev/vcs5 /dev/vcsa /dev/vcsa2 /dev/vcsa4 /dev/vcsa6 /dev/video0

/dev/vfio:
vfio
ls /dev/video*
/dev/video0

I think usb camera driver is not installed completely. Is it correct? How could I install driver completely for dahua usb camera?

Thanks in advance.

Hi,
It supports UVC drivers by default, you may check with the camera vendor if the camera you purchased can work wit UVC driver.

Steps of launching Logitech USB camera:
https://devtalk.nvidia.com/default/topic/1057681/jetson-tx1/logitech-c930e-on-jetson-tx1-very-slow-and-choppy-video/post/5363417/#5363417

Hi DaneLLL,

My device specification via

usb-devices
T: Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 6 Spd=5000 MxCh= 0
D: Ver= 3.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1
P: Vendor=2e03 ProdID=0001 Rev=11.06
S: Manufacturer=Dahua Technology
S: Product=A5501CU60E
S: SerialNumber=5J01DE1PAK00001
C: #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr=896mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ef(misc ) Sub=05 Prot=00 Driver=u3vvideo
I: If#= 1 Alt= 0 #EPs= 1 Cls=ef(misc ) Sub=05 Prot=01 Driver=(none)
I: If#= 2 Alt= 0 #EPs= 1 Cls=ef(misc ) Sub=05 Prot=02 Driver=(none)

output of

v4l2-ctl -d /dev/video1 --list-formats-ext
Failed to open /dev/video1: No such file or directory

becuse I have just one USB camera.
output of

v4l2-ctl -d /dev/video0 --list-formats-ext
Failed to query video capabilities: No such file or directory
libv4l2: error getting capabilities: No such file or directory
VIDIOC_QUERYCAP: failed: No such file or directory
/dev/video0: not a v4l2 node

So I test this command:

gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=848,height=480,framerate=30/1 ! nvvidconv ! 'video/x-raw(memory:NVMM),format=NV12' ! nvoverlaysink

and what was shown to me.

WARNING: erroneous pipeline: no element "nvvidconv"

Hi,
It’s evident your camera does not support UVC driver. Suggest you try other cameras.
We have camera partners:

So, have you don’t support HikVision and Dahua machine vision cameras(USB Cameras)?

Hi,
We have users using HikVision IP cameras:
https://devtalk.nvidia.com/default/topic/1058086/deepstream-sdk/how-to-run-rtp-camera-in-deepstream-on-nano/post/5367052/#5367052
https://devtalk.nvidia.com/default/topic/1058086/deepstream-sdk/how-to-run-rtp-camera-in-deepstream-on-nano/post/5378266/#5378266

Rarely see Dahua cameras.

Thanks a lot for your guides,

What about HikVision and Dahua USB Cameras?