[sane-devel] sane-avision HP 5370C

Benoit Izac benoit at izac.org
Sun May 11 20:29:56 UTC 2014


Hi,

I own a HP 5370C and it didn't work anymore since firmware checking had been
added in this commit:
<https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=sane/sane-backends.git;a=commitdiff;h=fec4800d7da9f14ff3ca8f82b1327ec9aed76318>

Please, could you revert it?

Here is a trace with current release:
[avision] attach: Scanner matched entry: 66: "HP", "ScanJet 5370C", 0x03f0, 0x0701
[avision] attach: reading firmware status
[avision] get_firmware_status
[avision] Timeouts: write: 30000, read: 30000, status: 10000
[avision] try to write cmd, count: 10.
[avision] wrote 10 bytes
[avision] try to read 8 bytes
[avision] read 1 bytes
[avision] Got 1 byte - status? (0) Resending.
[avision] try to write cmd, count: 10.
[avision] wrote 10 bytes
[avision] try to read 8 bytes
[avision] read 1 bytes
[avision] Got 1 byte - status? (0) Resending.
[avision] try to write cmd, count: 10.
[avision] wrote 0 bytes
[avision] === Got error 9 trying to write, wrote: 0. ===
[avision] try to read status to clear the FIFO
[avision] avision_usb_status: timeout 500, 1 retries
[avision] ==> (bulk read) going down ...
[avision] <== (bulk read) got: 0, status: 0
[avision] <== (interrupt read) got: 0, status: 0
[avision] === Got error 9 trying to read status. ===
[avision] get_firmware_status: read failed (Error during device I/O)
[avision] attach: get firmware status failed (Error during device I/O)

It works perfectly when I replace AV_FIRMWARE by 0.

NB: I would open a bug report but it an account on Alioth is required and
I have no plan to get one.
-- 
Benoit Izac



More information about the sane-devel mailing list