[cpia] Problems with w3cam
Claudio Matsuoka
claudio@helllabs.org
Mon, 14 Feb 2000 20:48:00 -0200 (BRST)
On Mon, 14 Feb 2000, Claudio Matsuoka wrote:
> 1281 if(new_bytes!=linelen || *(buffer+read_bytes+linelen-1)!=EOL) {
> 1282 DBG("Error reading line\n");
> 1283 break;
> 1284 }
Adding some debug code, we get
Feb 14 20:30:34 dexter kernel: cpia.c(68714):cpia_read(2566):go!
Feb 14 20:30:34 dexter kernel: parport0: ECP direction: reverse
Feb 14 20:30:34 dexter kernel: parport0: ECP direction: reverse
Feb 14 20:30:34 dexter kernel: cpia_pp.c(68717):cpia_pp_streamRead(1282):Error reading line
Feb 14 20:30:34 dexter kernel: *** new_bytes=565, linelen=565
Feb 14 20:30:34 dexter kernel: cpia.c(68718):fetch_frame(2180):streamRead failed: -5
So for some reason *(buffer+read_bytes+linelen-1) != EOL, Hmm.
claudio
_______________________________________________
cpia mailing list - cpia@risc.uni-linz.ac.at
http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia