Hi,
it works now as expected. I attached a patch against current pixma_imageclass.c
The scanner only works through USB, not through network. Also you have
to manually place the scanner to "Remote scanner" mode, the easier
scanner-initiated scanning seems to use completely different
protocol..
Bu
Still one problem, ADF only works for one page. The problem is that in
windows all ADF pages are scanned inside single session. Sane does
abort_session after first page, then fails with EBUSY in the next
start_session... The scanner is busy because it is feeding the rest
of the pages, it accepts a
Ok,
sorry for talking to myself. :)
It works now 100%. All resolutions work etc.
The problem was that in pixma_imageclass.c there is this define:
#define IMAGE_BLOCK_SIZE (0x)
MF8330 sends 0x1fff8 sized blocks, they don't fit. I increased
IMAGE_BLOCK_SIZE to 0x1fff and it's ok now. Should
Hmm, no. I can scan any part of the paper, as long as the scan size is
so small that the data fits under 65536 bytes. Anything higher
fails..
I don't understand what happens, it all looks fine in the logs, until this:
[pixma] read_image():reader task closed the pipe:0 bytes received,
1681920 byt
Hi,
I tried scanning smaller area, with
SANE_DEBUG_PIXMA=25 scanimage -l100 -t100 -x50 -y50 --format=tiff
>test.tif 2>debug
And surprisingly it worked! :) Perfect scan. So probably the "full
page" settings are somehow out of bounds, I need to figure that out.
The scanner was "stuck" for maybe
I now started digging this myself with UsbSnoop. MF8330 really is
using this 0xd460 instead of 0xd420, as data transfer command.. I
couldn't find any other big differences.
I modified pixma_imageclass.c to use d460.. it almost seems to work,
but there isn't enough data coming from the scanner. For
Hi!
So you got it working eventually? Can you perhaps send your diffs, so
I could try if it works directly with MF8330 as well?
--
Teemu
2011/12/1 Vasily Olekhov :
> Teemu, greetings.
> I've tried to add support for MF4410 (class 0x2727) just as you said, with
> no luck.
> I dug further. I've go
Teemu, greetings.
I've tried to add support for MF4410 (class 0x2727) just as you said, with
no luck.
I dug further. I've got USB traffic from windows machine and noticed that
command for receiving image data has changed from 0xd420 to 0xd460 with
slightly different parameters.
I think you should
Hi!
I have a Canon MF8330 multifunctional device..
Initially, sane-find-scanner reported:
found USB scanner (vendor=0x04a9 [Canon,Inc.], product=0x2708
[MF8330]) at libusb:001:010
But sane didn't support it, so scanimage didn't work.
I noticed that pixma_imageclass.c has (untested) support for