Re: Problem with c-qcam

Philip Blundell (Philip.Blundell@pobox.com)
Fri, 02 Jul 1999 18:39:06 +0100


>In fact, our problem is here at qc_detect():
>
> ostat = stat = parport_read_status(qcam->pport);
> for (i=0; i<250; i++)
> {
> mdelay(1);
>
>it enters the loop, but every time it reads the port it gets the same value
>as the previous read, which does not seem to be the expected behavior, so
>it finally returns "error".

You could try increasing the mdelay() value. The theory is that the camera
provides a "heartbeat" by flipping some bits at a rate of a few Hz.

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/