[sane-devel] [ANN] Canon Pixma Scanner Driver (stand-alone)

Martin Schewe sane-devel at schewe.com
Mon Mar 27 12:22:35 UTC 2006


Hi Farvil,

On Mon, Mar 27, 2006 at 01:37:49PM +0200, Farvil wrote:
> I scanned a tiny part of a blank paper and I attached to this email 

too bad that it was a blank paper -- otherwise I could have
reconstructed it.  :)

> Does it look promising ?

Yes, in principle it does:

> 07: db 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 88: 06 06 00 00 00 00 00 00

Put the device in scan mode.

> 07: dd 20 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 01 01 00 00 00 00 00 00 00 00 00 fe
> 88: 06 06 00 00 00 00 00 00

Setup for flatbad use.

> 07: ee 20 00 00 00 00 00 00 00 00 00 00 00 00 10 08 10 00 10 04 00 00 00 00 00 00 00 [...]
> 88: 06 06 00 00 00 00 00 00

The only command I cannot interpret ad hoc.  Some initializiation data,
maybe calibration related.

> 07: de 20 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 00 80 4b 80 4b 00 00 01 3c 00 00 00 0a 00 00 00 18 00 00 00 18 08 18 00 00 00 00 00 00 ff 00 00 81 00 00 02 01 00 00 00 00 00 00 00 50
> 88: 06 06 00 00 00 00 00 00

Scan parameters:  75dpi, x = 316, y = 10, width = 24, height = 24, ...
Am I right?  ;)

> 07: f3 20 00 00 00 00 00 00 00 00 00 00 00 00 00 0c
> 88: 06 06 00 00 00 00 00 00 01 00 00 00 03 00 02 00 00 21 00 d9

Read some info:  ADF is empty, lamp warms up (?), no calibration in
progress.

> 07: d4 20 00 00 00 00 00 00 00 00 00 00 00 08 00 08
> 88: 06 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Request 2048 data bytes, but the scanner needs some more time...

> [...]
> 07: d4 20 00 00 00 00 00 00 00 00 00 00 00 08 00 08
> 88: 06 06 00 00 00 00 00 00 38 00 00 00 00 00 06 c0 e9 f4 f6 eb f6 f6 ea [...]

Ok, here is the data:  e9 f4 f6 eb f6 f6 ea [...]

The commands are very similar, but they are 16 bytes long (instead of
10) and they always return 8 status bytes.  That's the main difference.

I will take a closer look on it in the evening.  Could you please do
some more sniffing?  With simple images (like Similies :) and under
different conditions (cold lamp, uncalibrated, calibrated, after
power-on etc.).  The output of log2io is enough.

Regards,
		Martin



More information about the sane-devel mailing list