I can capture raw images using the command v4l2-ctl --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=imx477.raw -d /dev/video2, but cannot do so using the argus_camera tool.
The attachment is my execution:
sudo su
service nvargus-daemon stop
export enableCamScfLogs=5
nvargus-daemon 2>&1 | tee log.txt
The log obtained afterwards, could you please help analyze it?log.txt ([en.number.human.storage_units.format])
First, I execute sudo su
service nvargus-daemon stop
export enableCamScfLogs=5
nvargus-daemon 2>&1 | tee log.txt, then open another window to execute ./argus_camera to obtain the log
This is the log obtained after executing sudo su, service nvargus-daemon stop, and nvargus-daemon 2>&1 | tee log.txt, then executing argus_camera in another window.
I noticed that there are only modules0 to modules2 in my dts, but when I check /proc/device-tree/tegra-camera-platform/modules, I found 3 more modules. I wonder if this will affect image output?
But I found another problem. My sensor has two modes, but when I click on mode 0 and 1 in the Sensor mode index of the Argus_camera tool, the driver always prints 0. What is the reason for this?
This is the log I added in the driver’s set_mode function. I found that when I click on mode 1, it still prints 0.