[sane-devel] sane-avision HP 5370C

Benoit Izac benoit at izac.org
Mon Jul 21 17:37:04 UTC 2014


Le 21/07/2014 à 08:52, Toby Rees écrivait :

>> > 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=san
> /sane-backends.git;a=commitdiff;h=fec4800d7da9f14ff3ca8f82b1327ec9aed76318>
>> >
>> > Please, could you revert it?
>> 
>> Hi,
>> 
>> Nobody to do it? Is avision backend no more maintained (no commit for
>> about two years)?
>> 
>
> I have the same issue. Were you able to keep the scanner working with an
> older version?
> If so can you point me in the right direction?

Hi,

You can use any version <= 1.0.22 without modify it.

I use current stable version (1.0.24) after I modified avision.c in
backend source directory.

 1) get the source
<https://alioth.debian.org/frs/download.php/file/3958/sane-backends-1.0.24.tar.gz>

 2) search "ScanJet 5370C" in backend/avision.c and modify
    AV_MULTI_CALIB_CMD | AV_INT_STATUS, AV_FIRMWARE },
with (this disable firmware checking)
    AV_MULTI_CALIB_CMD | AV_INT_STATUS, 0},

  3) recompile backends

  4) copy new libsane-avision.so.1.0.24 in /usr/lib/sane/ (or where your
  distribution put sane shared libraries)

It's working fine after so I don't understand why nodody wants to commit
the change. :-(

-- 
Benoit Izac



More information about the sane-devel mailing list