[sane-devel] Canon PIXMA MX890

Rolf Bensch rolf at bensch-online.de
Thu Dec 13 20:39:54 UTC 2012


Hi Henry,

The sense of sniffing some windows usb protocols is that we catch
running protocols. With them we can walk through the source code to find
the problem.

It's not a problem for me to wait until you are ready.

Cheers,
Rolf


Am 13.12.2012 21:07, schrieb Henry Ptasinski:
> Rolf,
> 
> I don't have an XP machine up and running at the moment.  I may have one
> in a while, but not sure when.
> 
> I believe the problem occurs via both USB and network, so could this be
> debugged by sniffing network traffic instead (and preferably using a
> different OS than XP).
> 
> ---
> Henry Ptasinski
> henry at logout.com
> 
> 
> On 12/07/2012 10:57 AM, Rolf Bensch wrote:
>> Hi Henry,
>>
>> The backend has an ADF paper empty bug. You can try to debug this issue,
>> if you like.
>>
>> The first step could be to sniff the complete usb protocol from a 5mm x
>> 5mm ADF scan on a windows machine with usbsnoop
>> (http://benoit.papillault.free.fr/usbsnoop/). This program is old and
>> runs with xp only, but we have a parser for the log files (spike4.pl).
>>
>> Cheers,
>> Rolf
>>
>>
>> Am 05.12.2012 00:57, schrieb Henry Ptasinski:
>>> Rolf,
>>>
>>> The ADF partially works.  I've been able to get simplex scans
>>> occasionally.  Duplex scans so far have only yielded the front page, and
>>> some errors such as:
>>>
>>> ...
>>> [pixma] bjnp_write_bulk(0, bufferptr, 0x10 = 16)
>>> [pixma] bjnp_set_timeout to 20000
>>> [pixma] bjnp_read_bulk(0, bufferptr, 0x200 = 512)
>>> [pixma] bjnp_set_timeout to 20000
>>> [pixma] bjnp_write_bulk(0, bufferptr, 0x10 = 16)
>>> [pixma] bjnp_set_timeout to 20000
>>> [pixma] bjnp_read_bulk(0, bufferptr, 0x200 = 512)
>>> [pixma] bjnp_set_timeout to 20000
>>> [pixma] bjnp_write_bulk(0, bufferptr, 0x10 = 16)
>>> [pixma] bjnp_set_timeout to 20000
>>> [pixma] bjnp_read_bulk(0, bufferptr, 0x200 = 512)
>>> [pixma] bjnp_set_timeout to 20000
>>> [pixma] bjnp_write_bulk(0, bufferptr, 0x10 = 16)
>>> [pixma] bjnp_set_timeout to 20000
>>> [pixma] bjnp_read_bulk(0, bufferptr, 0x200 = 512)
>>> [pixma] WARNING:image size mismatches
>>> [pixma]     1678578 expected (877 lines) but 1556082 received (813
>>> lines)
>>> [pixma] pixma_read_image(): completed (underrun detected)
>>> [pixma] sanei_bjnp_deactivate (0)
>>> [pixma] Reader task terminated
>>> [pixma] pixma_close(): Canon PIXMA MX890 Series
>>> [pixma] sanei_bjnp_close(0):
>>> [pixma] sanei_bjnp_deactivate (0)
>>>
>>>
>>> When this happens, the display on the printer continues to say "Scanning
>>> document", and I'm not able to cancel out of the scan.
>>>
>>> My recent tests were via network.  I'll attach the scanner via USB and
>>> try to collect some debug info.
>>>
>>> ---
>>> Henry Ptasinski
>>> henry at logout.com
>>>
>>>
> 
> 



More information about the sane-devel mailing list