[sane-devel] NET BJNP Canon imageCLASS MF4880DW

Louis Lagendijk louis at fazant.net
Sat Feb 8 12:14:50 UTC 2014


On Sat, 2014-02-08 at 13:07 +0100, Louis Lagendijk wrote:
> On Sat, 2014-02-08 at 00:00 +0100, Louis Lagendijk wrote:
> > On Tue, 2014-01-07 at 13:05 +0100, Louis Lagendijk wrote:
> > Hi Rolf,
> > I am working with Yvan L. Gélinas <gelinasyl at gmail.com> to get the laser
> > multi-functionals to work over the mfnp protocol (usb over IP).
> > Yvan has kindly given me access to his scanner over a tunnel.
> > 
> > I found that the MF4880DW sends pretty big image blocks to the backend:
> > I see sizes of 261640 (just below 256K), so we exceed the currently
> > defined :
> > #define IMAGE_BLOCK_SIZE (0xffff) and as a result the backend crashes.
> > 
> > Would it be ok for you if I change  this to:
> > #define IMAGE_BLOCK_SIZE (0x3ffff).
> > 
> > Thanks in advance for your feedback
> > 
> > Kind regards, Louis
> 
> I realized that there may be a better option still: increase the buffer
> size when we receive large blocksize. Please let me know whatg you
> prefer
> regards, Louis

I included the wrong version of the patch. Here is the correct one
(still not tested as I do not have a connection to the scanner).
kind regards, Louis


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixma_imageclass.c.diff
Type: text/x-patch
Size: 1498 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20140208/ae1c3c6e/attachment.bin>


More information about the sane-devel mailing list