NVIDIA Camera virtual enumerator not found in proc device-tree error at TX1 r28.2

NVIDIA Camera virtual enumerator not found in proc device-tree error at TX1 r28.2

I run command “camera_jpeg_capture”, find the error “NVIDIA Camera virtual enumerator not found in proc device-tree”

nvidia@tegra-ubuntu:~/tegra_multimedia_api/samples/09_camera_jpeg_capture$ ./camera_jpeg_capture
[INFO] (NvEglRenderer.cpp:109) <renderer0> Setting Screen width 640 height 480
NvPclHwGetModuleList: No module data found
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16LoadOverridesFile: looking for override file [/data/nvcam/settings/e3322_bottomleft_A815P2.isp] 6/16LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/e3322_bottomleft_A815P2.isp] 7/16LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/e3322_bottomleft_A815P2.isp] 8/16---- imager: No override file found. ----
(NvOdmDevice) Error ModuleNotPresent: V4L2Device not available (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function findDevice(), line 245)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function initialize(), line 55)
(NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 103)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 0. (error 0xA000E)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 598)
SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 781)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 276)
SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 439)
(Argus) Error BadParameter:  (propagating from src/api/CameraProviderImpl.cpp, function initialize(), line 92)
(Argus) Error BadParameter:  (propagating from src/api/GlobalProcessState.cpp, function createCameraProvider(), line 214)
Error generated. main.cpp, execute:321 Failed to create CameraProvider
NvEglHandle: Unfreed handle upon egl deinit: type=1 refcnt=1
NvEglHandle: Unfreed handle upon egl deinit: type=2 refcnt=2
nvidia@tegra-ubuntu:~/tegra_multimedia_api/samples/09_camera_jpeg_capture$

How can fix this?

Hi sensor_test,

Have you followed the suggestion in https://devtalk.nvidia.com/default/topic/1035461/jetson-tx1/error-is-run-quot-nvgstcapture-1-0-quot-at-jetson-tx1-r28-2-/post/5260209/#5260209 to get your device tree working?

Please update the status back to origin thread first.

Thanks

Hello kayccc,

I can use v4l2-ctl capture a picture.

What define string I must add to dtsi file?

nvidia@tegra-ubuntu:~/tegra_multimedia_api$ ls /dev/video0*
/dev/video0
nvidia@tegra-ubuntu:~/tegra_multimedia_api$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<