[pxc] PXC strangeness on Mandriva 2006.0

M Bianchi mbianchi@Foveal.com
Sun Jul 9 23:32:19 CEST 2006


I've been having trouble bringing up 2  PXC200AL  framegrabbers up on an
 Intel D949GNT  mother board with Celeron 2.53GHz processor under
 Mandriva 2006.0 (kernel 2.6.12-12mdk)  and  pxc-snapshot-051124 .

As installed, the Mandriva code configured and issues  modprobe  to install the
video4linux drivers:
	bt878
	bttv
	btcx_risc
etc.

If I  modprobe -r bt878  I could then run  pxc_live  and such for one
framegrabber, but no matter what I do, I cannot get  pxc_live  to open the
a second framegrabber:

    $ pxc_load
    $ pxc_live /dev/pxc0pgm &	# works
    	./pxc_live: using "/dev/pxc0pgm" to acquire data
    $ pxc_live /dev/pxc1pgm
    ./pxc_live: using "/dev/pxc1pgm" to acquire data
    Error in startup script: couldn't open "/dev/pxc1pgm": not enough memory
        while executing
    "open $devicefile r"
        invoked from within
    "set keepopen [open $devicefile r]"
        (file "./pxc_live" line 82)

     #  opposite order
     $ pxc_live /dev/pxc1pgm &	# works
    	./pxc_live: using "/dev/pxc1pgm" to acquire data
     $ pxc_live /dev/pxc0pgm	# complains about not enough memory

I thought maybe the bt878, etc. modules might have messed up the settings on
the cards, so I commented out the references to bt878 and bttv in
		/etc/modules
		/etc/modprob.conf
and rebooted.  Now 
	$ pxc_live /dev/pxc0pgm
does not present any information.  The processes  cp  and  wish  just hang.
	$ pxc_show
gives the same behaviour;  just hangs.

If I issue the following sequence:
	pxc_unload
	modprobe bt878
	modprobe -r bt878
	pxc_load
	pxc_live /dev/pxc0pgm

I once again get a live video image.  And again, running
  pxc_live /dev/pxc1pgm   complains about not enough memory.

I did a  make DEBUG=y  but that did not provide any additional information,
either in the shell or in  /var/log/messages .

I kept moving the   mem=xxxM  parameter lower and lower, but that had no
effect.  I'm now about 20 MBytes below what  /proc/meminfo  reported when there
was no  mem=xxxM  parameter.

BTW,  pxc_live /dev/pxc0Hpgm  give a large image so I'm guessing that when I do
 pxc_live /dev/pxc0pgm  and get a small image that two of them should be able
to fit because 2*smallpicture is only 0.5*largepicture.

Any suggestions on how to proceed?


-- 
 Mike Bianchi
 Foveal Systems

 973 822-2085	call to arrange Fax

 MBianchi@Foveal.com
 http://www.AutoAuditorium.com
 http://www.FovealMounts.com


More information about the pxc mailing list