[sane-devel] NET BJNP Canon imageCLASS MF4880DW

Louis Lagendijk louis at fazant.net
Sat Feb 8 12:07:40 UTC 2014


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


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


More information about the sane-devel mailing list