[sane-devel] Why sane_read() always returns SANE_STATUS_GOOD?

Henning Meier-Geinitz henning@meier-geinitz.de
Fri, 25 Apr 2003 22:11:11 +0200


Hi,

On Fri, Apr 25, 2003 at 01:58:39PM -0500, Peter Chen wrote:
> In my application, after sane_start succeeded, I called sane_read, and it
> always returned SANE_STATUS_GOOD, so it just hanged there.
> 
> What could be the reason?

You mean it never returns SANE_STATUS_EOF even after all the data is
transferred? That would be a bug in the backend.

If you mean something els, please describe in more detail.

Does that also happen if you use the tesb backend instead of the
fujitsu backend? That's a good test to find out if you are doing
something wrong in the frontend or if it's a backend bug.

Bye,
  Henning