I am facing an issue for quiet a time. I wanna run IMX477 usb on my Jetson Xavier NX which has Jetpack 5.1.2 installed in it. The issue is that whenever I check camera nodes, it shows double instances. Right now, I have 2 usb cams installed alongwith a CSI cam.
I gave this command:
ls /dev/video*
/dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/video4
(video0 is for CSI cam which is fine)
as for the video1,2,3,4 I need a solution to remove these double instances.
I have tried several methods , among of of them I was able to remove them but it was temporary.
But as soon as I restarted my Xavier, it again showed multiple instances.
Could that be an issue related to jetpack versions? ( i have already tried 5.1.3 and then I moved on to 5.1.2)
or could it be some kernel camera driver issue?
Do you have any troubleshooting methods for this problem?
Thanks
may I confirm how may ports on this USB converter?
this should related to USB driver, please dig into uvc_register_video_device() of UVC driver.
for instance, $public_sources/kernel_src/kernel/kernel-5.10/drivers/media/usb/uvc/uvc_driver.c
int uvc_register_video_device(..)
{
...
ret = video_register_device(vdev, VFL_TYPE_VIDEO, -1);
according to above,
the value -1 means it’ll find a available number to register the video node automatically.
please try specify any specific device node number which is desired for your USB camera use-case.