Hi Henry, Please create usb log files, from scanimage and from Canon's scangearmp.
scanimage: Set 'export SANE_DEBUG_PIXMA=11' and from scanimage redirect stderr to sane.log while adding '2> logfile' to the command line. Canon's scangearmp: Use wireshark to sniff the usb protocol and save the log to a file. Maybe you need to enable usb support for wireshark: http://wiki.wireshark.org/CaptureSetup/USB. Please try a single page scan and a multi page scan (single side and duplex) from ADF with both scanner drivers. To reduce file size please scan a small area of approx. 5mm x 5mm. Please create one log file for each single test. Cheers, Rolf Am 27.05.2013 20:28, schrieb Henry Ptasinski: > Thanks, somehow missed that in the man page. I must be low on > caffeine today ... > > A simple ADF test works fine over USB: > > scanimage -b --mode Gray --source "Automatic Document Feeder" > --batch-count 2 > Scanning 2 pages, incrementing by 1, numbering from 1 > Scanning page 1 > Scanned page 1. (scanner status = 5) > Scanning page 2 > Scanned page 2. (scanner status = 5) > > (I've also successfully scanned a few pages with the duplexer.) > > Empty ADF appears fine at first: > > scanimage -b --mode Gray --source "Automatic Document Feeder" > --batch-count 1 > Scanning 1 pages, incrementing by 1, numbering from 1 > Scanning page 1 > scanimage: sane_read: Document feeder out of documents > Scanned page 1. (scanner status = 7) > > but the scanner is left in an unusable state. The display continues > to say "Scanning document" until I run scanimage again, at which point > the scanner display resets to the main menu, but scanimage is not happy: > > scanimage -b --mode Gray --source "Automatic Document Feeder" > --batch-count 1 > Scanning 1 pages, incrementing by 1, numbering from 1 > Scanning page 1 > scanimage: sane_read: Error during device I/O > Scanned page 1. (scanner status = 9) > > Any further attempts to run scanimage fail, with scanimage just > hanging waiting for the printer. The only way I've found to recover > after and ADF empty is to reboot the printer. > > I'm using: > > scanimage (sane-backends) 1.0.24git; backend version 1.0.24 > > with sources from today. > > For comparison, Canon's scangearmp v2.10.33 doesn't seem to have > issues with empty ADF on this scanner. > > --- > Henry Ptasinski > henry at logout.com > > On 05/27/2013 09:37 AM, m. allan noah wrote: >> Add the -b argument to scanimage. It will make multiple images in >> current directory. >> >> allan >> >> On Mon, May 27, 2013 at 11:27 AM, Henry Ptasinski <henry at logout.com> >> wrote: >>> What's the correct syntax for scanning multipage documents using >>> scanimage? >>> >>> I'm trying to test ADF operation on my MX892 using scanimage, but >>> I'm not >>> sure about the correct syntax. I've tried this with two sheets >>> loaded in >>> the ADF: >>> >>> scanimage --mode Gray --source "ADF Duplex" > >>> scanimage_test.pnm >>> >>> I get a file with the first page of the scan (front side only), >>> scanimage >>> quits with status 0, and then the printer hangs waiting for >>> something. Is >>> it possible to scan multiple pages with scanimage, or do I need to use >>> xsane? >>> >>> Thanks, >>> --- >>> 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, >>>> >>>> >>>> >>> >>> >>> -- >>> sane-devel mailing list: sane-devel at lists.alioth.debian.org >>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel >>> Unsubscribe: Send mail with subject "unsubscribe your_password" >>> to sane-devel-request at lists.alioth.debian.org >> >> >> > > >
