[sane-devel] Fwd: [canon630u] read_byte(fd, 0x01, &result); /* got 00 */

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 10 Jun 2004 10:35:14 +0200


On Wed, Jun 09, 2004 at 08:15:01PM +0200, insane@piments.com wrote:
> As you can see communication seems to go quite well at first but then gets  
> stuck in a loop with no apparent timeout.

I have had a quick look at the sourcecode and think the loop happens
at backend/canon630u-common.c, line 374 ff. The backend asks the
scanner how many scan data it can provide. The scanner say "0". The backend
tries for 60 seconds but the scanner still doesn't have any scan data.
So it should time out after 60 seconds. But that's just my guess.

However, I don't know why there is no scan data.