TX2 cannot detect USB camera

Hello,I try to use a USB camera on TX2.But when I enter ls /dev/video*,there is just video0.And video0 is just the onboard camera.I use the USB camera on my computer and Raspberry Pi,it works well.And my USB camera doesn’t need driver

1105069197,

Any dmesg when you plug the usb camera on tegra? Could you see your camera listed in lsusb?

Hi,
I was facing the same issue. My device did show up in the lsusb.
The following is the dmesg output:

[ 5328.950478] usb 1-2.1: new high-speed USB device number 10 using xhci-tegra
[ 5329.049021] usb 1-2.1: New USB device found, idVendor=1415, idProduct=2000
[ 5329.056802] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5329.064365] usb 1-2.1: Product: USB Camera-B4.09.24.1
[ 5329.069560] usb 1-2.1: Manufacturer: OmniVision Technologies, Inc.

[ 5329.094829] usb 1-2.1: current rate 1568 is different from the runtime rate 16000
[ 5329.112655] usb 1-2.1: 3:1: cannot get min/max values for control 2 (id 3)
[ 5329.291127] usb 1-2.1: current rate 1568 is different from the runtime rate 16000
[ 5329.362019] usb 1-2.1: current rate 513 is different from the runtime rate 16000
[ 5329.371959] usb 1-2.1: 3:1: cannot get min/max values for control 2 (id 3)
[ 5329.461555] usb 1-2.1: current rate 778 is different from the runtime rate 16000
[ 5329.525679] usb 1-2.1: current rate 495 is different from the runtime rate 16000
[ 5329.538964] usb 1-2.1: 3:1: cannot get min/max values for control 2 (id 3)

The only video device detected is video0 (the default jetson camera)

is dev/video0 the default jetson camera?
I would assume that /dev/video0 is the usb camera and that the default tx2 camera is not listed at /dev/ by default

I think that if onboard camera is connected and unless its driver is removed, /dev/video0 would indeed be the onboard OV5693 module.
In any case, you may check with :

v4l2-ctl -d /dev/video0 --all | grep Card

it would be surprising to me to find that default TX2 distribution and OS comes today with “automatically mapped CSI → v4l2loopback” camera. As previously it would take to load the kernel module and execute gstreamer sink to get it to work as usb camera.
However, upon checking it seems that you are right, indeed.
While video0 seems to be presented in the system by default it wont let to read from camera as if from USB camera, for example within internet browser, and that was why the trick has been required initially.
Thank you for pointing out!

v4l2-ctl -d /dev/video0 --all | grep Card
	Card type     : vi-output, ov5693 2-0036

may be the command below will provide some hint

lsusb

It doesn’t use v4l2loopback, the ov5693 driver exposes V4L interface, even without v4l2loopback installed. However, the 10 bits bayer modes such as RG10 provided from OV5693 trough this interface are not supported by gstreamer.
For USB devices, an easy way to see what /dev/video node is used is to run:

watch -n1 'ls /dev/video*'

and then plug the USB camera in, it should show the new node.

@Honey_Patouceul: Thank you for the explanation!