[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IC-COMP driver and CCIR cameras




Hello Pedro!

Sorry, my knowledge about the special registers of this board isn't enough
to help you, but I have an idea:

How about initializing the board under windows, using a ccir config file.
After rebooting WITHOUT switching the power off, the register contents
should be the right one. Then you edit icpciAM.c (icp_amcmp_init ()) in a
manner, that you call cmp_dump_regs (), BEFORE setting all registers. So
you have an idea, how the ccir settings are and you can set the registers
directly (using cmp_write_mm). This should work EXCEPT of the I2C
registers, they you have to read out by cmp_i2c_read and write by ...

					matthias

On Tue, 16 Jan 2001, Pedro J.Garcia - wrote:

> Dear folks,
> 
> I have an IC-COMP (well, PC-COMP actually) board intended to grab images from a B&W CCIR camera. I have gone through the driver mailing list and found another very related discussion: that of Fabien Spindler and Matthias regarding how to make the IC-COMP module work for a CCIR camera. The issue was that the call "GIOC_GE_SET_CAMCNF" can't be performed since the "read_config()" function does not provide support for the IC-COMP patch. As a result, the camera configuration is set with fixed parameters (those of a NTSC camera according to Fabien's statements) in the patched "icpciAM.c" and can't be customized by means of a ".cam" file.
> 
> Matthias suggested that Fabien should modify the "cmp_def_cam" struct settings in "icpciAM.c" by hand as the only way to overcome this problem. And I am exactly at that point. The issue is that such settings are (it's my guess) board-register-level ones so they are unintelligible for a common developer unless you know how the board works at the register level (information that the manufacturer does not give out for obvious reasons).
> 
> In short, I have no idea about how to customize such settings for a CCIR camera like mine. Does Matthias, Fabien or anybody else?
> 
> Thanks so much to everyone,
> Pedro
> 
> ***********************************************************************
>  Pedro José García Pardo
> 
>  DISAM - Computer Vision Group
>  UNIVERSIDAD POLITÉCNICA DE MADRID
>       __
>    __/_/\_  
>   /______/\        Escuela Técnica Superior de Ingenieros Industriales
>   \____  \ \       C/ José Gutiérrez Abascal, 2
>   / / /\  \ \      28006 Madrid  SPAIN
>  /_/ /__\__\ \
>  \ \/______/ /     Phone: +34 91 336 30 61
>   \________\/      Fax:   +34 91 336 30 10
> 
>  http://www.disam.upm.es/~pjgarcia
>  mailto:pjgarcia@etsii.upm.es
> ************************************************************************
> 
-------------------------------------------------------------------------------
GOM mbH                                                 Tel.: ++49 531/3804-330
Gesellschaft fuer optische Messtechnik                  Fax.: ++49 531/3804-333
Rebenring 33                                            Mail: M.Stein@gom.com
38106 Braunschweig GERMANY                              http://www.gom.com
-------------------------------------------------------------------------------