And the fswebcam command yields this (I tried both /dev/video0 and /dev/video1):
gollumm64% fswebcam -v --displayfps 1 -S 30 -d /dev/video0 -r 640x480 -p YUV420P - > 640p.jpg
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
src_v4l2_get_capability,87: /dev/video0 information:
src_v4l2_get_capability,88: cap.driver: "cedrus"
src_v4l2_get_capability,89: cap.card: "cedrus"
src_v4l2_get_capability,90: cap.bus_info: "platform:cedrus"
src_v4l2_get_capability,91: cap.capabilities=0x84208000
src_v4l2_get_capability,103: - STREAMING
No input was specified, using the first.
Unable to query input 0.
VIDIOC_ENUMINPUT: Inappropriate ioctl for device
gollumm64% fswebcam -v --displayfps 1 -S 30 -d /dev/video1 -r 640x480 -p YUV420P - > 640p.jpg
--- Opening /dev/video1...
Trying source module v4l2...
/dev/video1 opened.
src_v4l2_get_capability,87: /dev/video1 information:
src_v4l2_get_capability,88: cap.driver: "sun6i-video"
src_v4l2_get_capability,89: cap.card: "sun6i-csi"
src_v4l2_get_capability,90: cap.bus_info: "platform:csi"
src_v4l2_get_capability,91: cap.capabilities=0x84200001
src_v4l2_get_capability,92: - VIDEO_CAPTURE
src_v4l2_get_capability,103: - STREAMING
No input was specified, using the first.
src_v4l2_set_input,181: /dev/video1: Input 0 information:
src_v4l2_set_input,182: name = "camera"
src_v4l2_set_input,183: type = 00000002
src_v4l2_set_input,185: - CAMERA
src_v4l2_set_input,186: audioset = 00000000
src_v4l2_set_input,187: tuner = 00000000
src_v4l2_set_input,188: status = 00000000
src_v4l2_set_pix_format,551: Device offers the following V4L2 pixel formats:
src_v4l2_set_pix_format,560: 0: [0x31384142] 'A81ä' (e)
src_v4l2_set_pix_format,560: 1: [0x47524247] 'BRGä' (e)
src_v4l2_set_pix_format,560: 2: [0x47425247] 'RBGä' (e)
src_v4l2_set_pix_format,560: 3: [0x42474752] 'GGBä' (e)
src_v4l2_set_pix_format,560: 4: [0x30314742] 'G10ä' (e)
src_v4l2_set_pix_format,560: 5: [0x30314247] 'B10ä' (e)
src_v4l2_set_pix_format,560: 6: [0x30314142] 'A10ä' (e)
src_v4l2_set_pix_format,560: 7: [0x30314752] 'G10ä' (e)
src_v4l2_set_pix_format,560: 8: [0x32314742] 'G12ä' (e)
src_v4l2_set_pix_format,560: 9: [0x32314247] 'B12ä' (e)
src_v4l2_set_pix_format,560: 10: [0x32314142] 'A12ä' (e)
src_v4l2_set_pix_format,560: 11: [0x32314752] 'G12ä' (e)
src_v4l2_set_pix_format,560: 12: [0x56595559] 'UYVä' (e)
src_v4l2_set_pix_format,560: 13: [0x55595659] 'VYUä' (e)
src_v4l2_set_pix_format,560: 14: [0x59565955] 'YVYä' (e)
src_v4l2_set_pix_format,560: 15: [0x59555956] 'YUYä' (e)
src_v4l2_set_pix_format,560: 16: [0x50424752] 'GBPä' (e)
src_v4l2_set_pix_format,560: 17: [0x4F424752] 'GBOä' (e)
src_v4l2_set_pix_format,560: 18: [0x32314D48] 'M12ä' (e)
src_v4l2_set_pix_format,560: 19: [0x3231564E] 'V12ä' (e)
src_v4l2_set_pix_format,560: 20: [0x3132564E] 'V21ä' (e)
src_v4l2_set_pix_format,560: 21: [0x32315559] 'U12ä' (e)
src_v4l2_set_pix_format,560: 22: [0x32315659] 'V12ä' (e)
src_v4l2_set_pix_format,560: 23: [0x3631564E] 'V16ä' (e)
src_v4l2_set_pix_format,560: 24: [0x3136564E] 'V61ä' (e)
src_v4l2_set_pix_format,560: 25: [0x50323234] '22Pä' (e)
src_v4l2_set_pix_format,560: 26: [0x50424752] 'GBPä' (e)
src_v4l2_set_pix_format,560: 27: [0x52424752] 'GBRä' (e)
src_v4l2_set_pix_format,560: 28: [0x4745504A] 'PEGä' (e)
Using palette YUV420P
9: 'YU12'
src_v4l2_set_mmap,708: mmap information:
src_v4l2_set_mmap,709: frames=4
src_v4l2_set_mmap,758: 0 length=460800
src_v4l2_set_mmap,758: 1 length=460800
src_v4l2_set_mmap,758: 2 length=460800
src_v4l2_set_mmap,758: 3 length=460800
Error starting stream.
VIDIOC_STREAMON: Invalid argument
Unable to use mmap. Using read instead.
Unable to use read.
gollumm64% exit