[sane-devel] Weirdness with Canon FS2720U

Bertrik Sikken bertrik at sikken.nl
Thu Aug 3 16:53:52 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tabor Kelly wrote:
> What I would love for someone to take a look at is URB 289-300 in this
> file
> (https://projects.cecs.pdx.edu/~kellyt/SANE-FS2720U/index.cgi/browser/sniffs/just_preview_color_negative_bw.LOG).
>  It looks like the windows driver writes 24kB of data to the scanner.
> But look at the data, it isn't firmware, it is a pretty pattern. Any
> idea? Was the developer who wrote this driver just having a little fun
> at my expense?

I'm quite sure that these are the gamma or shading tables. They are
used to do gamma correction (usually to improve contrast in dark
areas and decrease it in light areas), but you can also do other
color corrections, like brightness and contrast.
They are uploaded to the scanner, so the scanner can do the
correction at a higher accuracy than the PC (because the scanner
usually has more bits to work with than the usual 8-bit that is
sent to the PC).

There is one table for each color component (R, G, B) although
your log shows four tables ... :)

> I think next I am going to write some libusb code (my first) and try
> cutting out some of these steps. The scanner has flash memory on the
> mainboard, I don't understand why it would need its firmware upgraded
> every time. Maybe Canon didn't build in a facility to actually upgrade
> the firmware and they are writing over active memory every time you turn
> it on?

Just a guess, it could be that the 'firmware' is needed for the
USB-SCSI bridge and that the scanner itself is not upgraded.

Regards,
Bertrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0iogETD6mlrWxPURAo0yAJ9fIkuSR0mlThUZZqciqepd29L/QQCghXr6
dFhL7J7uBs5+qY8vvIi3OFY=
=14Ve
-----END PGP SIGNATURE-----



More information about the sane-devel mailing list