[Pxc] pxc_control locked out by pxc_live, sometimes
Alessandro Rubini
rubini@linux.it
Wed, 31 Jan 2001 09:47:55 +0100
Hi Michael.
> [...]
> However, when I run
> pcx_live /dev/pxc0Hpgm
> which uses the full frame grabber resolution,
> pxc_control getmux
> says that the device is "busy". I also see this behaviour in my
> code when I use
> ioctl( fd, PX_IOCGMUX, &args );
That's because the device being openened by default is the low
resolution one. If it's already opened in high resolution (by
pxc_live, in this case), open will fail.
(ehm... no, it uses /dev/pxc0ctl which should be open()able independent
of the current resolution; looks like I have a buglet here).
What about "pxc_control getmux /dev/pxc0Hpgm" ? (the device can be either
first or last argument, or PXCDEVICE in the environment)
> I am still using pxc-0.23 because, in all the later versions, I get
> sproadic horizontal streaks across the grabbed image.
This sometimes happens to me when the PCI bus is busy, it's pretty
rare in my setups, though. Can you converm that 0.23 doesn't do that
even in situation of high load? In other words, could you recall or
check if the PCI load is somehow involved in the issue and at the same
load the behaviour is reliably different?
thanks
/alessandro