[cpia] CPIA Lockups?

Peter Pregler Peter_Pregler@email.com
Thu, 22 Jun 2000 10:52:29 +0200


Hi,

I have several questions:

- what kernel version do you run?
- please upgrade the driver to 1.0 or try the one in 2.2.16
- can you use DMA instead of PIO and see if it still locks?

I have not seen a lockup due to the error-message you report for quite
some time.

Greetings, Peter

On Wed, Jun 21, 2000 at 08:10:38PM -0500, Pavan wrote:
> 
> I have been working with 2 cameras, the white pine camera, and the
> creative web cam II, both parallel port versions.  I have been testing
> code on numerous systems, and when I am trying to read() several times in
> a row for an update to my window, the program locks up.  The strace points
> to read(), and the dmesg output has the following:
> 
> cpia.c:parse_picture(2016):line length was not 1 but 0 after 670/118849
> bytes  
> 
> How can I avoid this, or force the driver to reset itself and try to start
> retrieving images again?  Sometimes the camera works for 20 minutes,
> sometimes it works for 2 minutes.  It locks on the read, however.  Right
> now, I have to reboot, because my application locks completely.
> 
> My camera registers fine, this is the information so far:
> 
> V4L-Driver for Vision CPiA based cameras v0.7.1
> Parallel port driver for Vision CPiA based cameras v0.7.1
>   using PIO mode
>   CPiA Version: 1.20 (2.0)
>   CPiA PnP-ID: 0553:0002:0100
>   VP-Version: 1.0 0100
>   1 camera(s) found            
> 
> Any help would be appreciated.
> 
> 
> 
> 
> _______________________________________________
> cpia mailing list  -  cpia@risc.uni-linz.ac.at
> http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
> 

-- 
Even the thought that a ship was waiting to take him back to Earth
did not wipe out the sense of loss he felt at that moment.
-------------------------------
Email: Peter_Pregler@email.com