From ewald.fauster@unileoben.ac.at Fri Jun 14 12:09:43 2002 From: ewald.fauster@unileoben.ac.at (Fauster Ewald - Uni) Date: Fri, 14 Jun 2002 13:09:43 +0200 Subject: [pxc] PXC200 L under RedHat Linux 7.1 Message-ID: <005001c21393$fc963d60$8a1eaac1@iapc38> This is a multi-part message in MIME format. ------=_NextPart_000_004D_01C213A4.C009B0A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I'm trying to run a Imagenation PXC200 L framegrabber (which perfectly = works under Windows) under Rethad Linux 7.1 using the pxc0.81 driver. = Making and Loading (using pxc_load) works without any problem, but = grabbing doesn't work at all. Pxc_live or pxc_grab stop executing = without returning ... Probably, the read-command does not give back any data from the card and = just blocks! Can you please tell me, if I'm doing anything wrong or which problem = causes this situation! Any help could be useful for me! Regards, Ewald. Ewald Fauster ---------------------- University of Leoben Institute for Automation Peter-Tunner-Strasse 27 8700 Leoben AUSTRIA E-Mail: ewald.fauster@unileoben.ac.at ------=_NextPart_000_004D_01C213A4.C009B0A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I'm trying to run a Imagenation PXC200 = L=20 framegrabber (which perfectly works under Windows) under Rethad Linux = 7.1 using=20 the pxc0.81 driver. Making and Loading (using pxc_load) works without = any=20 problem, but grabbing doesn't work at all. Pxc_live or pxc_grab stop = executing=20 without returning ...
Probably, the read-command does not = give back any=20 data from the card and just blocks!
 
Can you please tell me, if I'm doing = anything wrong=20 or which problem causes this situation!
Any help could be useful for = me!
 
Regards, Ewald.
 
 
Ewald=20 Fauster
----------------------
University of Leoben
Institute = for=20 Automation
Peter-Tunner-Strasse 27
8700 = Leoben
AUSTRIA
E-Mail: ewald.fauster@unileoben.ac.= at
------=_NextPart_000_004D_01C213A4.C009B0A0-- From rubini@gnu.org Fri Jun 14 12:17:42 2002 From: rubini@gnu.org (Alessandro Rubini) Date: Fri, 14 Jun 2002 13:17:42 +0200 Subject: [pxc] PXC200 L under RedHat Linux 7.1 In-Reply-To: <005001c21393963d60$8a1eaac1@iapc38> References: <005001c21393963d60$8a1eaac1@iapc38> Message-ID: <20020614131742.A26006@morgana.systemy.it> Hi. > Probably, the read-command does not give back any data from the card and = > just blocks! This can be checked by using strace. Also note that /dev/pxc0pgm is a pgm file, you can read it with "cat" or whatever. It's probably an interrupt problem: the driver isn't getting interrupts so it just waits for a frame. Is there something strange in how PCI irqs are mapped to the CPU? I only have old computers, I can't check new stuff. Here's a quote from Chanop Silpa-Anan on Sep 12 2001, on this list: The driver works on both motherboards, however, I have to set the BIOS to MPS 1.1 instead of MPS 1.4 to get the interrupt to happen. e.g. pxc driver reports interupt 10 while /proc/pci reports interupt 19 etc.... , hence, could be the source of the problem I experienced. FYI, MPS 1.4 will allow virtual interupt, IIRC. PS: I assume you reserved RAM memory at boot, as he no-buffers-available error does not block read waiting for a buffer. Hope this helps /alessandro