[sane-devel] Restore support WorkCentre 3510 (may be 3520) in sane-backend-1.0.27

Olaf Meeuwissen paddy-hack at member.fsf.org
Sat Aug 12 03:09:38 UTC 2017


Hi Youry,

Sorry for not following up on your related comment on GitLab.com[1]
earlier.

 [1]: https://gitlab.com/sane-project/backends/commit/c9027378a12a6f67b22ee5fe203df1739486e3ad#note_37105915

Youry Metlitsky writes:

> On WorkCentre 3515 dev->compressionTypes is 0x51 and (dev->compressionTypes & (1 << 6)) is true.
> On WorkCentre 3510 dev->compressionTypes is 0x41, but this device don't support jpeg - this is error!

Is the commit you commented on, which only conditionalizes compilation
of the JPEG specific bits in the code, the cause of breakage or is the
problem with the dev->compressionTypes checking?

That is do things work when you build from the commit immediately before
c9027378 or not?

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join



More information about the sane-devel mailing list