You may want to try to increase the delay in qc_wait() to see whether
that gets rid of the above messages. Maybe two read_lpstatus() would
work. If not, try an idle-loop or some such.
Guido> It seems like something does not work with the communication. BTW on
Guido> the machine I tested this I have to force the QuickCam interface into
Guido> UniDir Mode. BiDir gets detected but does not work (with the other
Guido> drivers).
Guido> I patched qcam.c like this:
OK, I integrated your patch. Let me know how it works (once I
uploaded & announced the latest snapshot).
Guido> PS: OK, I did a test on another machine with working BiDir port:
Guido> [qcam] qcam.start: bidir 246 lines of 330 pixels each (243540 bytes) => 330x246
^^^^^^^^^^^^
This is wrong. For a gray-scale mode, only 246*330=81180 bytes should
be expected. Maybe the Bpp in sane_get_parameters() gets computed
incorrectly? I don't see anything obvious that's wrong, but the bug
must be in that area.
--david
-- Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/ To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com