[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some general questions
Hello Volodymir!
On Fri, 9 Feb 2001, Volodymyr Babin wrote:
>
> Hello Matthias !
>
> Thank You for helpfull response. I have some general questions
> about itifg-0.7.1 on linux.
>
> 1) I've played with AM-DIG + Basler A113 camera using slightly
> modified camera-description file (.cam) supplied with the software
> for Windows. The interesting thing I've noted : driver dies immediately
> (i.e. all further attempts open /dev/ic* fail) after running
> test_itifg. If I change Horizontal_Active from 1292 (default for Basler
> A113) to 1024 (or less) - all work fine. I'm not sure, but for me that
> seem to be some kind of buffer overflow. How You debug such things ?
You can't use the windows config files directly with the driver. This is
because we write the config file entries DIRECTLY into the registers (to
make it easier). For most registers you have to add one to the count, but
not in general. Please send me the config file and I have a look at it.
This is in common a good idea, because I can add the config file to the
driver and other people also can use it.
Debugging - If you see a problem, please load at first the debug module
itifg_g.o and the send me the output in /var/log/messages. This provides
the information, I need.
> 2) itifg driver require memory-mapped access to acquisition module
> registers. Under dos I can control this using `pcieep` utility.
> How I can do the same under linux ? (I mean switch to/from mem-maped -
> io-maped access)
For the IC-PCI motherboard the driver supports both (mmaped AND io-port)
access. Thats we I don't have a program which switches between both
things. If you want to update your old io-port boards to mmaped behavior,
you can install some newer ITEX (ITI windows software). It switches your
boards the first time, you access it (this is because they don't support
io-port access any longer).
> 3) If ic-pci is configured to io-maped access to AM registers, itifg.o
> during loading writes something like "device is controlled by another
> driver ***". Is that a correct behavior ?
To my knowledge, the AM register area HAVE TO BE mmaped. (And I don't have
seen any other board over the years).
The 'device is controlled...' message comes from problems accessing the
IC-PCI motherboard Interface Control Registers. This I have seen only
twice. Once at a PowerPC and and once with a wrong configured PCI-Bridge.
REMARK: This message also is displayed, if you try to load more than one
module at a time (e.g. itifg_g.o and itifg.o)!!
matthias
> Thank You in advance,
> Vova.
>
>
-------------------------------------------------------------------------------
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
-------------------------------------------------------------------------------