<div dir="ltr"><div><div><div>Hi Rolf,<br></div>after a challenge how to compile the source :-P , i could compile the source with your patch.<br></div>Is this correct when I check the version of "scanimage" that it reports:<br>"scanimage (sane-backends) 1.0.26git; backend version 1.0.26" ?<br><br></div>This is the output of "sudo ldconfig -v | grep libsane":<br><br><div style="margin-left:40px">/sbin/ldconfig.real: »stat()« kann nicht für »/lib/i686-linux-gnu« aufgerufen werden: Datei oder Verzeichnis nicht gefunden<br>/sbin/ldconfig.real: »stat()« kann nicht für »/usr/lib/i686-linux-gnu« aufgerufen werden: Datei oder Verzeichnis nicht gefunden<br>/sbin/ldconfig.real: Pfad »/lib/x86_64-linux-gnu« mehrfach angegeben<br>/sbin/ldconfig.real: Pfad »/usr/lib/x86_64-linux-gnu« mehrfach angegeben<br>/sbin/ldconfig.real: /lib/i386-linux-gnu/<a href="http://ld-2.19.so">ld-2.19.so</a> is the dynamic linker, ignoring<br><br>    libsane.so.1 -> libsane.so.1.0.26<br>    libsane.so.1 -> libsane.so.1.0.26<br>/sbin/ldconfig.real: /lib/x86_64-linux-gnu/<a href="http://ld-2.19.so">ld-2.19.so</a> is the dynamic linker, ignoring<br><br>    libsane.so.1 -> libsane.so.1.0.26<br>/sbin/ldconfig.real: /lib32/<a href="http://ld-2.19.so">ld-2.19.so</a> is the dynamic linker, ignoring<br><br>/sbin/ldconfig.real: /lib/ld-lsb.so.3 is the dynamic linker, ignoring<br><br></div>When I try to test the ADF with your previous command: <span class="im"><br>scanimage --source "Automatic Document Feeder" -l 100 -x 10 -y 10 2>pixma.log > pixma.pnm</span><div><div><div><div><div><br></div><div>I still get the attached log.. and no paper feeding nor scanning<br><br><br></div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-23 22:13 GMT+01:00 Rolf Bensch <span dir="ltr"><<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Based on the wireshark logfile you sent me before, I prepared a 1st patch.<br>
<br>
To use this patch you need to install Sane from source as described in<br>
README.linux in chapter "Step by step install on Linux 2.6.* and 3.*"<br>
(<a href="http://sane-project.org/docs.html" rel="noreferrer" target="_blank">http://sane-project.org/docs.html</a>).<br>
<br>
Then you need to patch the file "backend/pixma_mp150.c" with the<br>
attached file "pixma_mp150.c.patch1":<br>
(1) save attached file to folder backend<br>
(2) cd into folder backend<br>
(3) run command:<br>
    $ patch pixma_mp150.c pixma_mp150.c.patch1<br>
(4) make and install Sane<br>
    $ cd ..<br>
    $ make && sudo make install<br>
<br>
Please try scanning one page from ADF, then 2 pages and after this try<br>
duplex ADF.<br>
<br>
The scanner may hang anywhere. Please create a log file for this test<br>
function.<br>
<br>
Many thanks for your help.<br>
<br>
Cheers,<br>
Rolf<br>
<span class=""><br>
<br>
Am 23.03.2016 um 16:59 schrieb Jörn-Ingo Weigert:<br>
> Hi Rolf,<br>
> The scanner reacts on scanimage --source "Automatic Document Feeder" -l<br>
> 100 -x 10 -y 10 2><br>
> pixma.log > pixma.pnm (wokeup yes, displaying "Progress .. please<br>
> wait... ")<br>
><br>
> unfortunately it dont feed the paper into the adf nor try to scan.<br>
><br>
> I attached pixma.log and output--test.txt (made with scanimage --test)<br>
><br>
> hope it help.<br>
><br>
> 2016-03-22 14:15 GMT+01:00 Rolf Bensch <<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a><br>
</span>> <mailto:<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a>>>:<br>
<div><div class="h5">><br>
>     Hi,<br>
><br>
>     Sorry, there was a copy and paste error inside the command:<br>
>     "Transparency Unit" must be replaced by "Automatic Document Feeder". The<br>
>     command for scanning a *single* page is:<br>
><br>
>     $ scanimage --source "Automatic Document Feeder" -l 100 -x 10 -y 10 2><br>
>     pixma.log > pixma.pnm<br>
><br>
>     Maybe the scanner hangs. Then the log file will help debugging this<br>
>     issue.<br>
><br>
>     If you want to use scanimage or xsane scanning more than one page from<br>
>     ADF, you need to enable batch mode. Please read the man pages for<br>
>     details.<br>
><br>
>     Therefore I prefer gscan2pdf for ADF scans.<br>
><br>
>     You can create log files in a terminal window with:<br>
><br>
>     $ SANE_DEBUG_PIXMA=11 gscan2pdf &> pixma.log<br>
><br>
>     Maybe you want to check the capabilities of your scanner:<br>
><br>
>     $ scanimage --help<br>
><br>
>     The scanner must be switched on for this test.<br>
><br>
>     Hope this helps.<br>
><br>
>     Cheers,<br>
>     Rolf<br>
><br>
><br>
><br>
>     Am 20.03.2016 um 13:05 schrieb Jörn-Ingo Weigert:<br>
>     > Here ist a logfile made with scanimage --test because I dont know how to<br>
>     > select the ADF as source,<br>
>     ><br>
>     > I tried scanimage --source "Automatic Document Feeder" and also<br>
>     > scanimage --source "ADF"<br>
>     ><br>
>     > Any thoughts?<br>
>     ><br>
>     > Kind regards,<br>
>     ><br>
>     > Jörn-Ingo Weigert<br>
>     ><br>
>     > 2015-11-02 22:37 GMT+01:00 Rolf Bensch <<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a>><br>
</div></div>>     > <mailto:<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a>>>>:<br>
<div class="HOEnZb"><div class="h5">>     ><br>
>     >     Hi,<br>
>     ><br>
>     >     Sorry for my late response.<br>
>     ><br>
>     >     Am 25.10.2015 um 10:55 schrieb Jörn-Ingo Weigert:<br>
>     >     > I can report that sane does support the rudimentary scanning<br>
>     with the<br>
>     >     > Canon Maxify MB2000 series MFP printer under Ubuntu 14.04 LTS.<br>
>     >     ><br>
>     >     > I installed the drivers from Canon Website for Linux.<br>
>     >     > Configured the appropriate permissions to access the scanner<br>
>     device<br>
>     >     > via USB.<br>
>     >     ><br>
>     >     > What works:<br>
>     >     > - Scanning in 300 / 600dpi works from Flatbed with Ubuntu<br>
>     own Simple<br>
>     >     > Scan and XSane<br>
>     >     ><br>
>     >     OK. Many thanks for your report.<br>
>     ><br>
>     >     > What does not work:<br>
>     >     > - Scanning over / with ADF: The Scanner recognize that there<br>
>     comes a<br>
>     >     > command (display lights up, showing "Process command..." but<br>
>     does NOT<br>
>     >     > activate the feeder or start to scan. :-(<br>
>     >     > Scanning via Canon own tool scangear works on both flatbed<br>
>     and adf scan.<br>
>     >     ><br>
>     >     Please sniff the USB protocols from a small scangear adf scan,<br>
>     e.g.<br>
>     >     10x10mm @ 75dpi with wireshark.<br>
>     >     And again in a different log file from Sane in a Linux terminal:<br>
>     ><br>
>     >     (1) $ export SANE_DEBUG_PIXMA=11<br>
>     >     (2) $ scanimage --source "Transparency Unit" -l 100 -x 10 -y 10 2><br>
>     >     pixma.log > pixma.pnm<br>
>     ><br>
>     >     Then I can compare both log files and prepare a patch.<br>
>     ><br>
>     >     > - Scanning in higher resolution like 1200dpi / 2400dpi<br>
>     result in a<br>
>     >     > doubled interlaced scanning image, however the scan themself<br>
>     work but<br>
>     >     > result in bad image.<br>
>     ><br>
>     >     OK. I can prepare a Patch for 1200 dpi. XSane shouldn't show<br>
>     the option<br>
>     >     for 2400dpi.<br>
>     ><br>
>     >     Please zip the log files. The mailing list rejects large emails.<br>
>     ><br>
>     >     Cheers,<br>
>     >     Rolf<br>
>     ><br>
>     ><br>
><br>
><br>
</div></div></blockquote></div><br></div>