Usb camera cannot be open

Yesterday, I ran a program to get video stream, and it worked well. But today I can’t make it work. The program was always stuck with “Opening in BLOCKING MODE”, then died.
Here is the log.

-- Logs begin at Mon 2021-08-23 21:20:02 CST. --
21:20:02 systemd[1]: Starting Message of the Day...
21:20:02 systemd[1]: Started Message of the Day.
21:20:48 nvargus-daemon[5002]: === usb_cam_node[8980]: CameraProvider initialized (0x7f99bb66a0)=== usb_cam_node[8980]: Connection closed (7F9FAEB1D0)=== usb_cam_node[8980]: WARNING: CameraProvider was not destroyed before client connection terminated.=== usb_cam_node[8980]:          The client may have abnormally terminated. Destroying CameraProvider...=== usb_cam_node[8980]: CameraProvider destroyed (0x7f99bb66a0)=== usb_cam_node[8980]: Connection cleaned up (7F9FAEB1D0)=== usb_cam_node[9230]: Connection established (7F9FAEB1D0)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
21:20:48 nvargus-daemon[5002]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
21:20:48 nvargus-daemon[5002]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
21:20:48 nvargus-daemon[5002]: ---- imager: No override file found. ----
21:20:48 nvargus-daemon[5002]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
21:20:48 nvargus-daemon[5002]: (NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
21:20:48 nvargus-daemon[5002]: (NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
21:20:48 nvargus-daemon[5002]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
21:20:48 nvargus-daemon[5002]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
21:20:48 nvargus-daemon[5002]: NvPclStartPlatformDrivers: Failed to start module drivers
21:20:48 nvargus-daemon[5002]: NvPclStateControllerOpen: Failed ImagerGUID 1. (error 0xA000E)
21:20:48 nvargus-daemon[5002]: NvPclOpen: PCL Open Failed. Error: 0xf
21:20:48 nvargus-daemon[5002]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 582)
21:20:48 nvargus-daemon[5002]: SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 437)
21:20:48 nvargus-daemon[5002]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 303)
21:20:48 nvargus-daemon[5002]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 466)
21:20:48 nvargus-daemon[5002]: Acquiring SCF Camera device source via index 0 has failed. ---- imager: No override file found. ----
21:20:48 nvargus-daemon[5002]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
21:20:48 nvargus-daemon[5002]: (NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
21:20:48 nvargus-daemon[5002]: (NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
21:20:48 nvargus-daemon[5002]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
21:20:48 nvargus-daemon[5002]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
21:20:48 nvargus-daemon[5002]: NvPclStartPlatformDrivers: Failed to start module drivers
21:20:48 nvargus-daemon[5002]: NvPclStateControllerOpen: Failed ImagerGUID 0. (error 0xA000E)
21:20:48 nvargus-daemon[5002]: NvPclOpen: PCL Open Failed. Error: 0xf
21:20:48 nvargus-daemon[5002]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 582)
21:20:48 nvargus-daemon[5002]: SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 437)
21:20:48 nvargus-daemon[5002]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 303)
21:20:48 nvargus-daemon[5002]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 466)
21:20:48 nvargus-daemon[5002]: Acquiring SCF Camera device source via index 1 has failed. ---- imager: No override file found. ----
21:20:48 nvargus-daemon[5002]: initializeDevNode: Failed to open dev node '/dev/camera/video0'; No such file or directory, trying alternate default location
21:20:51 kernel: usb 1-2.3: usb_suspend_both: status 0

And I tried to reboot nano then run the VPI Demos, it didn’t list my camera info but I can saw it on /dev/video0

What’s your BSP version? cat /etc/nv_tegra_release
what the v4l2-ctl --list-devices command shows?

Try below patch for r32.5.1 or try latest release.