[sane-devel] Bug#597922: Perfection 1650 does not work with epson2 backend
olaf.meeuwissen at avasys.jp
Sun Dec 5 23:47:34 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 2010-12-05 01:55, Julien BLACHE wrote:
> Olaf Meeuwissen <olaf.meeuwissen at avasys.jp> wrote:
>> For some reason the device is saying that it received a cancel request
>> (did someone push a cancel button on the device?). Protocol-wise, the
>> backend is supposed to send a CAN in that case before anything else.
> Looks like one or both of
> could be at fault here.
The former doesn't seem to be at fault.
The latter only goes part of the way. In case of an FSG_STATUS_FER or
FSG_STATUS_NOT_READY one should not request any image data anymore and
that is what the backend seems to be doing. However, in case you get an
FSG_STATUS_CANCEL_REQ you have to send a CAN. The backend only sets the
SANE_STATUS_CANCELLED flag and returns. As a result e2_scan_finish gets
called but that doesn't send a CAN.
Obviously, e2_scan_finish cannot know that it should. So I'd make
e2_ext_read send the CAN (by calling e2_cancel) before it returns
> If someone with hardware access could look into this and report back,
> that'd be great.
I'll have a look at the logs Soren sent.
Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962 Help support software freedom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the sane-devel