[sane-devel] backend update request: sane-pixma

ibu ☉ ibu at radempa.de
Mon Jul 11 22:52:41 UTC 2011


ibu ☉ wrote:
> I have tried adding this line to pixma_mp150.c
> 
> DEVICE ("Canon PIXMA MX360", "MX360", MX360_PID, 1200, 638, 1050,
> PIXMA_CAP_CIS | PIXMA_CAP_ADF),
> 
> but without success (/usr/local/bin/sane-find-scanner won't find the
> device after removing the distro packages and compiling
> sane-backends-eb061b2 from the git repository).

Replying to myself, after installing libusb-dev I got the scanner
detected with sane-find-scanner and after ldconfig I also could use
/usr/local/bin/scanimage:

# /usr/local/bin/scanimage -d pixma:04A9174D_XXXXXX --resolution 600
--mode Gray -T >/tmp/test.pnm
scanimage: scanning image of size 5104x7016 pixels at 8 bits/pixel
scanimage: acquiring gray frame, 8 bits/sample
scanimage: reading one scanline, 5104 bytes...	PASS
scanimage: reading one byte...		PASS
scanimage: stepped read, 2 bytes... 	PASS
scanimage: stepped read, 4 bytes... 	PASS
scanimage: stepped read, 8 bytes... 	PASS
scanimage: stepped read, 16 bytes... 	PASS
scanimage: stepped read, 32 bytes... 	PASS
scanimage: stepped read, 64 bytes... 	PASS
scanimage: stepped read, 128 bytes... 	PASS
scanimage: stepped read, 256 bytes... 	PASS
scanimage: stepped read, 512 bytes... 	PASS
scanimage: stepped read, 1024 bytes... 	PASS
scanimage: stepped read, 2048 bytes... 	PASS
scanimage: stepped read, 4096 bytes... 	PASS
scanimage: stepped read, 8192 bytes... 	PASS
scanimage: stepped read, 8191 bytes... 	PASS
scanimage: stepped read, 4095 bytes... 	PASS
scanimage: stepped read, 2047 bytes... 	PASS
scanimage: stepped read, 1023 bytes... 	PASS
scanimage: stepped read, 511 bytes... 	PASS
scanimage: stepped read, 255 bytes... 	PASS
scanimage: stepped read, 127 bytes... 	PASS
scanimage: stepped read, 63 bytes... 	PASS
scanimage: stepped read, 31 bytes... 	PASS
scanimage: stepped read, 15 bytes... 	PASS
scanimage: stepped read, 7 bytes... 	PASS
scanimage: stepped read, 3 bytes... 	PASS

# /usr/local/bin/scanimage -d pixma:04A9174D_XXXXXX -T
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1914 bytes...	PASS
scanimage: reading one byte...		PASS
scanimage: stepped read, 2 bytes... 	PASS
scanimage: stepped read, 4 bytes... 	PASS
scanimage: stepped read, 8 bytes... 	PASS
scanimage: stepped read, 16 bytes... 	PASS
scanimage: stepped read, 32 bytes... 	PASS
scanimage: stepped read, 64 bytes... 	PASS
scanimage: stepped read, 128 bytes... 	PASS
scanimage: stepped read, 256 bytes... 	PASS
scanimage: stepped read, 512 bytes... 	PASS
scanimage: stepped read, 1024 bytes... 	PASS
scanimage: stepped read, 2048 bytes... 	PASS
scanimage: stepped read, 2047 bytes... 	PASS
scanimage: stepped read, 1023 bytes... 	PASS
scanimage: stepped read, 511 bytes... 	PASS
scanimage: stepped read, 255 bytes... 	PASS
scanimage: stepped read, 127 bytes... 	PASS
scanimage: stepped read, 63 bytes... 	PASS
scanimage: stepped read, 31 bytes... 	PASS
scanimage: stepped read, 15 bytes... 	PASS
scanimage: stepped read, 7 bytes... 	PASS
scanimage: stepped read, 3 bytes... 	PASS

# /usr/local/bin/scanimage -d pixma:04A9174D_XXXXXX --source 'Automatic
Document Feeder' -T
scanimage: scanning image of size 638x1050 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1914 bytes...	PASS
scanimage: reading one byte...		PASS
scanimage: stepped read, 2 bytes... 	PASS
scanimage: stepped read, 4 bytes... 	PASS
scanimage: stepped read, 8 bytes... 	PASS
scanimage: stepped read, 16 bytes... 	PASS
scanimage: stepped read, 32 bytes... 	PASS
scanimage: stepped read, 64 bytes... 	PASS
scanimage: stepped read, 128 bytes... 	PASS
scanimage: stepped read, 256 bytes... 	PASS
scanimage: stepped read, 512 bytes... 	PASS
scanimage: stepped read, 1024 bytes... 	PASS
scanimage: stepped read, 2048 bytes... 	PASS
scanimage: stepped read, 2047 bytes... 	PASS
scanimage: stepped read, 1023 bytes... 	PASS
scanimage: stepped read, 511 bytes... 	PASS
scanimage: stepped read, 255 bytes... 	PASS
scanimage: stepped read, 127 bytes... 	PASS
scanimage: stepped read, 63 bytes... 	PASS
scanimage: stepped read, 31 bytes... 	PASS
scanimage: stepped read, 15 bytes... 	PASS
scanimage: stepped read, 7 bytes... 	PASS
scanimage: stepped read, 3 bytes... 	PASS

The latter moved one page through the ADF and the next was moved in a
partially and then nothing happened, but I guess this is ok for scanimage.

Which other tests can I do?

Cheers,
ibu



More information about the sane-devel mailing list