Camera not working

I’ve been using Khadas Camera for a month already with no issues, and since yesterday I’m no longer able to use it. When I try to run the example in the docs

v4l2_test  -c 1 -p 0 -F 0 -f 0 -D 0 -R 1 -r 2 -d 2 -N 1000 -n 800 -w 0 -e 1 -I 1 -b /dev/fb0 -v /dev/video0

I get the following

ds1_out_fmt = 0, ds2_out_fmt = 0, ds1_res = 2, ds2_res = 2
The /dev/fb0 device was opened successfully.
1920x1080, 32bpp
The framebuffer device was mapped to memory successfully.
fr_num = 1000, ds_num = 800
pixel fmt 0x33424752, width 1920, height 1080, wdr_mode 0, exposure 1pixel fmt 0x33424752, width 1280, height 720, wdr_mode 0, exposure 1pixel fmt 0x33424752, width 1280, height 720, wdr_mode 0, exposure 1Setting 0 sensor preset
Thread 0 created successfully
[T#0] The /dev/video0 device was opened successfully.
[T#0] VIDIOC_QUERYCAP: capabilities=0x85201000, device_caps:0x5201000
FR wdr_mode = 0, exp = 1
[T#0] VIDIO_S_FMT: type=9, w=1920, h=1080, fmt=0x33424752, field=0
[T#0] VIDIO_G_FMT: type=9, w=1920, h=1080, fmt=0x33424752, field=1
[T#0] multiplanar support planes=1
Error set crop
[T#0] plane:0 multiplanar length: 6220800 offset: 0, dma_fd:5
[T#0] Buffer[0] mapped at address 0x7f82025000 total_mapped_mem:1.
[T#0] plane:0 multiplanar length: 6220800 offset: 6221824, dma_fd:6
[T#0] Buffer[1] mapped at address 0x7f81a36000 total_mapped_mem:2.
[T#0] plane:0 multiplanar length: 6220800 offset: 12443648, dma_fd:7
[T#0] Buffer[2] mapped at address 0x7f81447000 total_mapped_mem:3.
[T#0] plane:0 multiplanar length: 6220800 offset: 18665472, dma_fd:8
[T#0] Buffer[3] mapped at address 0x7f80e58000 total_mapped_mem:4.
[T#0] plane:0 multiplanar length: 6220800 offset: 24887296, dma_fd:9
[T#0] Buffer[4] mapped at address 0x7f80869000 total_mapped_mem:5.
[T#0] plane:0 multiplanar length: 6220800 offset: 31109120, dma_fd:10
[T#0] Buffer[5] mapped at address 0x7f8027a000 total_mapped_mem:6.
[T#0] Queue buf done.
[T#0] Video stream is on.
terminating all threads ...
[T#0] 2000 ms poll timeout.
thread 0 terminated ...

I tried to use a brand new Ubuntu Image, and I have the same issue. Doesn’t work with guvcview software either
Thanks!

Please make sure to remove all other USB cameras and reboot the board to test on framebuffer console mode:

$ v4l2_test  -c 1 -p 0 -F 0 -f 0 -D 0 -R 1 -r 2 -d 2 -N 1000 -n 800 -w 0 -e 1 -I 0 -b /dev/fb0 -v /dev/video0