[sane-devel] canon pixma MX890 ADF empty test OK

Rolf Bensch rolf at bensch-online.de
Fri Jun 21 19:11:36 UTC 2013


Hi Henry,

If possilble please log the usb protocols of a multi page scan on a
windows machine. Please scan a small area of approx. 5mm x 5mm @ 75 dpi
to reduce log file size.

You can use one of these programs: snoopypro, usbsnoop
(http://benoit.papillault.free.fr/usbsnoop/) or wireshark.

Then we can have a look what commands are used to perform and finish a
multi page scan process without leaving the printer in a confused state.

The ml rejects emails larger than 100 kB. Please send the log file
directly to my email address.

Cheers,
Rolf


Am 21.06.2013 00:58, schrieb Henry Ptasinski:
> The mp150_scan() function issues a scan request to the printer before
> checking the paper status, which ends up leaving the printer in a
> confused state.  So the first attempt at scanning with an empty ADF
> properly returns an error, but then the printer doesn't respond to any
> future scan attempts without rebooting.
>
> I moved the ADF empty check earlier in the function, and now can run
> scanimage numerous times with an empty ADF and the printer seems to be
> left in a sane state.
>
> Multiple page scanning with ADF simplex also seems to work fine using
> scanimage, as long as I use the -b option with the correct number of
> pages.
>
> If the ADF goes empty during a scan (i.e. less pages in ADF than
> specified with -b option), the printer stops responding at the end of
> the scan, and stays unresponsive until a reboot.
>
> One thing I noticed is that, even when the number of pages scanned
> match (actual pages in ADF vs. -b flag), abort_session() is being
> called and suspect this might be causing some trouble.  I haven't
> found where that's happening yet.  It doesn't appear to be from inside
> mp150_scan().
>
> ---
> Henry Ptasinski
> henry at logout.com
>
> On 05/24/2013 08:55 AM, Rolf Bensch wrote:
>> Hi Tim,
>>
>> seeing an "error" while adf is impty is normal behaviour.
>>
>> What's about running an adf batch scan job empty? Can you start a new
>> (single) scan job afterwards?
>>
>> Please use only usb connection while testing. On a 2nd step we can
>> switch to LAN.
>>
>> Please be patient if you'll see some errors and it may seem that we are
>> on the wrong way. We'll find a patch for this scanner.
>>
>> Cheers,
>> Rolf
>>
>> p.s. please answer with my email as cc. I'm not checking the ml digest
>> frequently.
>>
>>
>>
>> Am 22.05.2013 05:56, schrieb Tim:
>>> Canon MX892 (US model)
>>>
>>> tested:
>>> Loaded and unloaded ADF tray
>>>
>>> backend:
>>> git clone as of 16 May, no changes
>>>
>>> rerelated software:
>>> xsane 0.998
>>> cnijfilter-mx890series-3.70-1.x86_64 from canon-asia
>>> cnijfilter-common-3.70-1.x86_64 from canon-asia
>>> cups-bjnp-1.2.1-x86_64-1_SBo from slackbuilds.org
>>> 2.6.37.6c (tim at hp_lap) (gcc version 4.5.2 (GCC) ) #8 SMP
>>> Slackware 13.37, x86_64
>>>
>>> environment:
>>> SANE_DEBUG_PIXMA=11
>>>
>>> results:
>>> loaded ADF tray works as expected, empty ADF tray gives appropriate
>>> error (see attached log)
>>>
>>> Cheers,
>>
>>
>




More information about the sane-devel mailing list