<div dir="auto">Hi Rolf, <div dir="auto"><br></div><div dir="auto">thanks for fixing ADF support, you do a great job!</div><div dir="auto"><br></div><div dir="auto">Unfortunately, the Canon Maxify MFP is since end 2017 in retirement.</div><div dir="auto"><br></div><div dir="auto">Kind regards,</div><div dir="auto"><br></div><div dir="auto">Ingo Weigert</div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Rolf Bensch <<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a>> schrieb am Di., 20. Aug. 2019, 13:46:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jörn-Ingo,<br>
<br>
I just fixed ADF scanning for other Maxify scanners and committed the same fix to your scanner. The fix will be available from my PPA tomorrow (<a href="https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git" rel="noreferrer noreferrer" target="_blank">https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git</a>). Please report your results scanning from ADF.<br>
<br>
Hope this helps.<br>
<br>
Cheers,<br>
Rolf<br>
<br>
 <br>
<br>
Am 24.03.16 um 17:32 schrieb Rolf Bensch:<br>
> Hi Jörn-Ingo,<br>
><br>
> Your new Sane installation is working with the patch, but not the ADF.<br>
><br>
> Please be patient. I'll have to look deeper into the protocols. Maybe<br>
> after Easter.<br>
><br>
> Cheers,<br>
> Rolf<br>
><br>
><br>
> Am 24.03.2016 um 15:32 schrieb Jörn-Ingo Weigert:<br>
>> Hi Rolf,<br>
>> after a challenge how to compile the source :-P , i could compile the<br>
>> source with your patch.<br>
>> 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>
>> This is the output of "sudo ldconfig -v | grep libsane":<br>
>><br>
>> /sbin/ldconfig.real: »stat()« kann nicht für »/lib/i686-linux-gnu«<br>
>> aufgerufen werden: Datei oder Verzeichnis nicht gefunden<br>
>> /sbin/ldconfig.real: »stat()« kann nicht für »/usr/lib/i686-linux-gnu«<br>
>> 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" rel="noreferrer noreferrer" target="_blank">ld-2.19.so</a> <<a href="http://ld-2.19.so" rel="noreferrer noreferrer" target="_blank">http://ld-2.19.so</a>><br>
>> 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" rel="noreferrer noreferrer" target="_blank">ld-2.19.so</a><br>
>> <<a href="http://ld-2.19.so" rel="noreferrer noreferrer" target="_blank">http://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" rel="noreferrer noreferrer" target="_blank">ld-2.19.so</a> <<a href="http://ld-2.19.so" rel="noreferrer noreferrer" target="_blank">http://ld-2.19.so</a>> is the<br>
>> dynamic linker, ignoring<br>
>><br>
>> /sbin/ldconfig.real: /lib/ld-lsb.so.3 is the dynamic linker, ignoring<br>
>><br>
>> When I try to test the ADF with your previous command:<br>
>> scanimage --source "Automatic Document Feeder" -l 100 -x 10 -y 10<br>
>> 2>pixma.log > pixma.pnm<br>
>><br>
>> I still get the attached log.. and no paper feeding nor scanning<br>
>><br>
>><br>
>><br>
>><br>
>> 2016-03-23 22:13 GMT+01:00 Rolf Bensch <<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a><br>
>> <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a>>>:<br>
>><br>
>>     Hi,<br>
>><br>
>>     Based on the wireshark logfile you sent me before, I prepared a 1st<br>
>>     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 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>
>><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" target="_blank" rel="noreferrer">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a>><br>
>>     > <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a>>>>:<br>
>>     ><br>
>>     >     Hi,<br>
>>     ><br>
>>     >     Sorry, there was a copy and paste error inside the command:<br>
>>     >     "Transparency Unit" must be replaced by "Automatic Document<br>
>>     Feeder". The<br>
>>     >     command for scanning a *single* page is:<br>
>>     ><br>
>>     >     $ scanimage --source "Automatic Document Feeder" -l 100 -x 10<br>
>>     -y 10 2><br>
>>     >     pixma.log > pixma.pnm<br>
>>     ><br>
>>     >     Maybe the scanner hangs. Then the log file will help debugging<br>
>>     this<br>
>>     >     issue.<br>
>>     ><br>
>>     >     If you want to use scanimage or xsane scanning more than one<br>
>>     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<br>
>>     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<br>
>>     <<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a>><br>
>>     <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a>>><br>
>>     >     > <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a>><br>
>>     <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank" rel="noreferrer">rolf@bensch-online.de</a>>>>>:<br>
>>     >     ><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<br>
>>     scanning<br>
>>     >     with the<br>
>>     >     >     > Canon Maxify MB2000 series MFP printer under Ubuntu<br>
>>     14.04 LTS.<br>
>>     >     >     ><br>
>>     >     >     > I installed the drivers from Canon Website for Linux.<br>
>>     >     >     > Configured the appropriate permissions to access the<br>
>>     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<br>
>>     there<br>
>>     >     comes a<br>
>>     >     >     > command (display lights up, showing "Process<br>
>>     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<br>
>>     scan,<br>
>>     >     e.g.<br>
>>     >     >     10x10mm @ 75dpi with wireshark.<br>
>>     >     >     And again in a different log file from Sane in a Linux<br>
>>     terminal:<br>
>>     >     ><br>
>>     >     >     (1) $ export SANE_DEBUG_PIXMA=11<br>
>>     >     >     (2) $ scanimage --source "Transparency Unit" -l 100 -x<br>
>>     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<br>
>>     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<br>
>>     emails.<br>
>>     >     ><br>
>>     >     >     Cheers,<br>
>>     >     >     Rolf<br>
>>     >     ><br>
>>     >     ><br>
>>     ><br>
>>     ><br>
>><br>
>><br>
</blockquote></div>