I’m able to operate this camera on VIM3 but I need to operate it at lower resolutions. I have tried changing it form the driver it self but it did not work.
I specifically need 640x480 or lower than that.
How can I achieve that? Can khadas provide a solution for this?
The minimum resolution of VIM3 is 480x320p60hz, provided that your monitor can support this resolution, connect the USB to the monitor and use the adb command to view the support list, as shown below:
Check out the list of supported HDMIs:
cat /sys/class/amhdmitx/amhdmitx0/vesa_cap
Or you can change the resolution manually like this:
To change the resolution manually:
echo “480x320p60hz” > /sys/class/display/mode
The premise is that the camera you use can support 480p
Do you want to modify Back camera video or Front camera video? We only have HD 1080p, HD 720p, SD 480p for Back camera video, and we only have HD 1080p for Front camera video, you can choose in Resolution&quality of Setting in Camera app
Or you want to fix the adapter node, isp node, isp_cma node to the resolution of your camera sensor in dts
I have updated my file but it does not seem to be working. I’m sharing my patch here please let me know if I’m doing this right or not. Also, I did not get the calculation of isp_cma node.
Okay, Then why my default Camera app is getting crashed?
After changing the dts according to those parameters, default camera app is getting crashed. So, I think those changes are not effective.
I’m sharing my diff here. This is for 640x480 resolution. Can you please have a look at it whether it’s correct or not.