I'm trying to capture via 8MP camera, OV8858.
root@intel-aero:~/work# C=4 INPUT=0 MODE=PREVIEW M_F=NV21 ./capture_example --userp -d /dev/video0
Preview mode: 640x480, nv21.
m_width 640, m_height 480, m_sizeimage 462848, m_padded_width:640, bytesperline 640
Saving file: Image-video2-640x480-0.nv21
Saving file: Image-video2-640x480-1.nv21
Saving file: Image-video2-640x480-2.nv21
Saving file: Image-video2-640x480-3.nv21
Preview: Time=141.286000ms FPS=28.311368
And I can get images, but they are really dark. (see attachment, it's 'Hand'.)
I'm not sure whether it's caused by wrong configurations, or hardware defect?
Here are information related to the camera.
BIOS_VERSION = Aero-01.00.12_Prod
OS_VERSION = v01.00.04
AIRMAP_VERSION = 1.8
FPGA_VERSION = 0xff 0xff
root@intel-aero:~# dmesg | grep INT3477
[ 2.991068] ov8858 i2c-INT3477:00: gmin: initializing atomisp module subdev data.PMIC ID 1
[ 2.991123] acpi INT3477:00: Failed to find gmin variable INT3477:00_CamClk
[ 2.991281] acpi INT3477:00: Failed to find gmin variable INT3477:00_ClkSrc
[ 2.991333] acpi INT3477:00: Failed to find gmin variable INT3477:00_CsiPort
[ 2.991500] acpi INT3477:00: Failed to find gmin variable INT3477:00_CsiLanes
[ 2.991809] acpi INT3477:00: Failed to find gmin variable INT3477:00_eldo1_1p8v
[ 2.991951] acpi INT3477:00: Failed to find gmin variable INT3477:00_eldo1_sel_reg
[ 2.992093] acpi INT3477:00: Failed to find gmin variable INT3477:00_eldo1_ctrl_shift
[ 2.992234] acpi INT3477:00: Failed to find gmin variable INT3477:00_eldo2_1p8v
[ 2.992373] acpi INT3477:00: Failed to find gmin variable INT3477:00_eldo2_sel_reg
[ 2.992541] acpi INT3477:00: Failed to find gmin variable INT3477:00_eldo2_ctrl_shift
[ 3.142409] ov8858 i2c-INT3477:00: camera pdata: port: 1 lanes: 4 order: 00000002
[ 3.143938] ov8858 i2c-INT3477:00: ov8858_detect: chip_id = 0x8858
[ 3.150848] ov8858 i2c-INT3477:00: register atomisp i2c module type 1
[ 4.077699] atomisp-css2401a0_v21 0000:00:03.0: Subdev INT3477:00 successfully register
root@intel-aero:~# v4l2-ctl -d /dev/video0 --all
Driver Info (not using libv4l2):
Driver name : atomisp
Card type : ATOM ISP
Bus info : PCI-3
Driver version: 0.5.1
Capabilities : 0x84200003
Extended Pix Format
Device Caps : 0x04200002</s...
Thank you for contacting us.
We are going to investigate more about your case, and we will contact you when we have updates.
Have a nice day.
I'm just wondering that you have got any updates from your team.
I have a quick question.
Could your team re-produce my issue? Or they work fine on their RTFs.
I'm still not sure whether this issue is caused due to my environment, or happens on any RTF. So if you can upload the result what you got on your RTF w/ those commands, it would be helpful to compare them to mine.
How's going on the investigation, any updates?
It seems like harder to solve than I expected, doesn't it...
My original objective is just getting color video stream from front camera, OV8858. But as I mentioned, I couldn't get color image, instead I got dark image.
Do we have any other ways, instead of 'capture_example'? Tools, commands, or sample codes...
Thanks for your continuous support,
Unfortunately, we don't have updates, but I have to tell to you that we are doing our best to solve this.
At the moment, we don't have other ways to do this. We only have the capture_example.
We will contact you as soon as we have updates.
We appreciate your patience.