[Gta04-owner] Camera
Dr. H. Nikolaus Schaller
hns at goldelico.com
Tue Jul 24 15:04:37 CEST 2012
Am 24.07.2012 um 14:56 schrieb Denis 'GNUtoo' Carikli:
> On Tue, 2012-07-24 at 12:18 +0200, Dr. H. Nikolaus Schaller wrote:
>> Hi,
>>
>> Am 24.07.2012 um 10:57 schrieb Kevin Hremeviuc:
>>
>>> Hi all,
>>>
>>> I am using the 3.2.14 kernel and am wondering if I can test out the camera (I installed it a couple of weeks ago but have only gotten round to playing with it now)?
>>
>> I don't know if anyone has tried to integrate the driver into any 3.x kernel.
>>
>> The 2.6.32 kernel has a driver that partially works. I have added
>> * board file(s)
>> * initialization
>> * reworked the I2C code
>> * added more register setting parameters so that the HSYNC and VSYNC frequencies are ok
>>
>> But unfortunately there is no image arriving. Either green or black/white noise.
>> This may be a bug in the other drivers which may not program the CAM interface
>> correctly (although this was copied from the BeagleBoard XM kernels where the
>> camera module works).
>>
>> Or the camera parameter settings are still not optimal and e.g. the gain is wrong
>> or the AGC is driving in the wrong direction.
>>
>> This was the latest commit:
>>
>> http://git.goldelico.com/?p=gta04-kernel.git;a=commit;h=812264333b2509211b4cd2d8420ec07ba15b6222
>>
>> If you want to work on this, please feel free to ask for further experiences and
>> details (there are too many to write them down here).
> what command did you try to get an image?
> Because I fear that interacting with media-controller is required(I
> already did it for the n900 and it was kind of complicated).
This (mplayer):
http://git.goldelico.com/?p=gta04-rootfs.git;a=blob;f=debian/config/root/camera-demo;h=ee201d178c384d72cc029d9165fb442a5d68e83a;hb=HEAD
or this (C-source):
http://git.goldelico.com/?p=gta04-rootfs.git;a=blob;f=debian/config/root/capture.c;h=131005d4075f1620d5519c5710e272044770f2de;hb=HEAD
The code correctly does its ioctl()s to set up the camera resolution etc.
Nikolaus
More information about the Gta04-owner
mailing list