<div dir="ltr"><div><br></div><div>Well, </div><div>ADF is funny in 600 dpi, but 600 dpi is not supported in windows driver, so I'm unable to make such a USB log, and I assume that we don't want to explore that path further?</div><div><br></div><div>Another thing, are these MF8200 changes 'online' in your PPA?<br></div><div><br></div><div>Again thx for all the effort!</div><div><br></div><div>/Troels</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-15 15:15 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 Troels,<br>
<br>
Do you still have the ADF issue? If so, please send me a log file again.<br>
<br>
We just don't disable button support for scanners without some. I added<br>
this to my todo list.<br>
<br>
Cheers,<br>
Rolf<br>
<br>
<br>
Am 07.11.2014 um 11:21 schrieb Troels Thomsen:<br>
<span class="">><br>
> Hi,<br>
><br>
> Update:<br>
><br>
> Everything I can thing of works fine through ethernet also!<br>
> :-)<br>
><br>
> Another corner-case:<br>
> Button controlled scan is not supported in the windows-driver, and does<br>
> not work in XSane either.<br>
> Is there a 'capabilities' protocol from XSane to the backend, such that<br>
> if we mark 'button controlled scan' as not supported on this device, the<br>
> XSane gui does not show this checkbox?<br>
> Or we could just error the scan, if we get this request?<br>
> Just a thought ...<br>
><br>
> /Troels<br>
><br>
><br>
> 2014-11-07 10:55 GMT+01:00 Troels Thomsen <<a href="mailto:troels.pil.thomsen@gmail.com">troels.pil.thomsen@gmail.com</a><br>
</span>> <mailto:<a href="mailto:troels.pil.thomsen@gmail.com">troels.pil.thomsen@gmail.com</a>>>:<br>
<div><div class="h5">><br>
><br>
>     MF8230 Scanner-driver is really good now through USB. (I'll test<br>
>     with ethernet another day.)<br>
><br>
>     I've found two corner-cases.<br>
><br>
>     1)<br>
>     When choosing 3 copies from ADF in XSane, but putting 4 copies in<br>
>     the scanner (!) :<br>
>     - 3 pages are scanned correctly<br>
>     - All 4 pages goes through the ADF, and printer is waiting for<br>
>     something.<br>
>     - After 30 sec or so, it breaks with a beep and prints "error<br>
>     occured" in the display.<br>
>     No other intervention is required (you *can* break it on the scanner<br>
>     gui) - and scanner is not in bad-mode as we previously experienced.<br>
>     So I'm OK with this.<br>
><br>
><br>
>     2)<br>
>     In xsane, if you choose two copies , from Flatbed (!) the scanner<br>
>     really scans twice at 300 dpi.<br>
>     At 600 dpi (and e.g. 75 dpi) it ends with EBUSY, see below, and a<br>
>     pop-up in XSane.<br>
><br>
>     Personally I'm OK with this, I don't know if we should do anything.<br>
>     I don't know if this is a valid use-case. If not - it could also be<br>
>     subject to input parameter validation in XSane or sane-backend.<br>
>     How does this work on other scanners?<br>
><br>
>     <cut><br>
>     [pixma] IN   T=723.027 len=14<br>
>     [pixma]  00000000:06 06 03 01 00 41 03 00  41 10 00 01 00 66<br>
>     [pixma]<br>
>     [pixma] Current status: paper=1 cal=0 lamp=16<br>
>     [pixma] Current status: paper=1 cal=0 lamp=16<br>
>     [pixma] *iclass_finish_scan***** abort session  *****<br>
>     [pixma] OUT  T=723.027 len=10<br>
>     [pixma]  00000000:ef 20 00 00 00 00 00 00  00 00<br>
>     [pixma]<br>
>     [pixma] IN   T=723.037 len=2<br>
>     [pixma]  00000000:06 06<br>
>     [pixma]<br>
>     [pixma] pixma_read_image():completed<br>
>     [pixma] Reader task terminated<br>
><br>
>     (this is all perfectly normal - now the next scan starts)<br>
><br>
>     [pixma] Reader task started<br>
>     [pixma]<br>
>     [pixma] pixma_scan(): start<br>
>     [pixma]   line_size=15360 image_size=107765760 channels=3 depth=8<br>
>     [pixma]   dpi=600x600 offset=(0,0) dimension=5120x7016<br>
>     [pixma] [pixma] Reader task id=-1249522880 (threaded)<br>
>       gamma_table=0x95d087c source=0<br>
>     [pixma]   threshold=127 threshold_curve=0<br>
>     [pixma]   ADF page count: 0<br>
>     [pixma] Setting non-blocking mode<br>
>     [pixma] raw_width = 5120<br>
>     [pixma] OUT  T=723.910 len=10<br>
>     [pixma]  00000000:f3 20 00 00 00 00 00 00  0c 00<br>
>     [pixma]<br>
>     [pixma] IN   T=723.917 len=14<br>
>     [pixma]  00000000:06 06 03 01 00 41 03 00  41 10 00 01 00 66<br>
>     [pixma]<br>
>     [pixma] Current status: paper=1 cal=0 lamp=16<br>
>     [pixma] Current status: paper=1 cal=0 lamp=16<br>
>     [pixma] *iclass_scan***** start scanning *****<br>
>     [pixma] OUT  T=723.917 len=10<br>
>     [pixma]  00000000:db 20 00 00 00 00 00 00  00 00<br>
>     [pixma]<br>
>     [pixma] IN   T=723.927 len=2<br>
>     [pixma]  00000000:14 14<br>
>     [pixma]<br>
>     [pixma] pixma_scan() failed EBUSY<br>
>     [pixma] Reader task terminated: EBUSY<br>
>     [pixma] read_image():reader task closed the pipe:0 bytes received,<br>
>     107765760 bytes expected<br>
>     [pixma] pixma_close(): Canon i-SENSYS MF8200C Series<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div>>     <a href="tel:2014-11-07" value="+4520141107">2014-11-07</a> <tel:<a href="tel:2014-11-07" value="+4520141107">2014-11-07</a>> 9:54 GMT+01:00 Troels Thomsen<br>
>     <<a href="mailto:troels.pil.thomsen@gmail.com">troels.pil.thomsen@gmail.com</a> <mailto:<a href="mailto:troels.pil.thomsen@gmail.com">troels.pil.thomsen@gmail.com</a>>>:<br>
<span class="">><br>
><br>
>         Sorry for the delay.<br>
>         It turns out, that the MF8230 has max resolution 300dpi from ADF<br>
>         and 600 dpi from Platen Glass, see attached screenshots.<br>
>         So there is no work here - except possibly to error this<br>
>         condition and abort operation.<br>
><br>
>         I'll check again to see, if everything else seems to be working.<br>
>         I think it does.<br>
><br>
>         /Troels<br>
><br>
><br>
><br>
>         See attached<br>
><br>
>         ​<br>
><br>
><br>
><br>
><br>
><br>
</span>>         <a href="tel:2014-09-17" value="+4520140917">2014-09-17</a> <tel:<a href="tel:2014-09-17" value="+4520140917">2014-09-17</a>> 9:15 GMT+02:00 Rolf Bensch<br>
>         <<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 class="h5">><br>
>             Hi Troels,<br>
><br>
>             For my understanding: Can you do multiple scanimage scans<br>
>             without<br>
>             power-cycling the device between two single scans?<br>
><br>
>             Cheers,<br>
>             Rolf<br>
><br>
><br>
>             Am 11.09.2014 um 22:52 schrieb Troels Thomsen:<br>
>             ><br>
>             > Hi,<br>
>             ><br>
>             > Attached is log of two pages scanned with adf at 600 dbp.<br>
>             Device is<br>
>             > freshly power-cycled before this trace.<br>
>             > Xsane hangs until I break it with Ctrl+C in the terminal.<br>
>             > From the look of the logfile, it seems like no real image<br>
>             data is<br>
>             > transmitted. Only the<br>
>             > OUT  T=60.552 len=11<br>
>             > [pixma]  00000000:d4 60 00 00 00 00 00 00  04 00 06<br>
>             > [pixma]<br>
>             > [pixma] IN   T=60.569 len=8<br>
>             > [pixma]  00000000:06 06 00 00 00 00 00 00<br>
>             > sequence is seen.<br>
>             ><br>
>             ><br>
>             > Also attached is the xsane log for scanning with flatbed<br>
>             at 600 dpi.<br>
>             > Data is shown in window in xsane, but an error-box is<br>
>             displayed, and<br>
>             > logfile seems to end with a EBUSY.<br>
>             ><br>
>             > Oddly, imho, scanimage just ends like this:<br>
>             ><br>
>             ><br>
>             > [pixma]<br>
>             > [pixma] IN   T=17.647 len=7680<br>
>             > [pixma]  00000000:ff ff ff ff ff ff ff ff  ff ff ff ff ff<br>
>             ff ff ff<br>
>             > [pixma]  00000010:ff ff ff ff ff ff ff ff  ff ff ff ff ff<br>
>             ff ff ff<br>
>             > [pixma]  00000020:ff ff ff ff ff ff ff ff  ff ff ff ff ff<br>
>             ff ff ff<br>
>             > [pixma]  00000030:ff ff ff ff ff ff ff ff  ff ff ff ff ff<br>
>             ff ff ff<br>
>             > [pixma]  00000040:ff ff ff ff ff ff ff ff  ff ff ff ff ff<br>
>             ff ff ff<br>
>             > [pixma]  00000050:ff ff ff ff ff ff ff ff  ff ff ff ff ff<br>
>             ff ff ff<br>
>             > [pixma]  00000060:ff ff ff ff ff ff ff ff  ff ff ff ff ff<br>
>             ff ff ff<br>
>             > [pixma]  00000070:ff ff ff ff ff ff ff ff  ff ff ff ff ff<br>
>             ff ff ff<br>
>             > [pixma]  ...<br>
>             > [pixma]<br>
>             > [pixma] IN   T=17.647 len=8<br>
>             > [pixma]  00000000:f1 f0 ee f1 ed ee eb e3<br>
>             > [pixma]<br>
>             > [pixma] OUT  T=17.647 len=11<br>
>             > [pixma]  00000000:d4 60 00 00 00 00 00 00  04 00 06<br>
>             > [pixma]<br>
>             > [pixma] IN   T=17.656 len=8<br>
>             > [pixma]  00000000:06 06 28 00 00 00 00 00<br>
>             > [pixma]<br>
>             > [pixma] OUT  T=17.678 len=10<br>
>             > [pixma]  00000000:f3 20 00 00 00 00 00 00  0c 00<br>
>             > [pixma]<br>
>             > [pixma] IN   T=17.688 len=14<br>
>             > [pixma]  00000000:06 06 03 01 00 41 03 00  41 10 00 01 00 66<br>
>             > [pixma]<br>
>             > [pixma] Current status: paper=1 cal=0 lamp=16<br>
>             > [pixma] Current status: paper=1 cal=0 lamp=16<br>
>             > [pixma] OUT  T=17.688 len=10<br>
>             > [pixma]  00000000:f3 20 00 00 00 00 00 00  0c 00<br>
>             > [pixma]<br>
>             > [pixma] IN   T=17.696 len=14<br>
>             > [pixma]  00000000:06 06 03 01 00 41 03 00  41 10 00 01 00 66<br>
>             > [pixma]<br>
>             > [pixma] Current status: paper=1 cal=0 lamp=16<br>
>             > [pixma] Current status: paper=1 cal=0 lamp=16<br>
>             > [pixma] *iclass_finish_scan***** abort session  *****<br>
>             > [pixma] OUT  T=17.696 len=10<br>
>             > [pixma]  00000000:ef 20 00 00 00 00 00 00  00 00<br>
>             > [pixma]<br>
>             > [pixma] IN   T=17.706 len=2<br>
>             > [pixma]  00000000:06 06<br>
>             > [pixma]<br>
>             > [pixma] pixma_read_image():completed<br>
>             > [pixma] Reader task terminated<br>
>             > [pixma] pixma_close(): Canon i-SENSYS MF8200C Series<br>
>             ><br>
>             > I.e. NO error when using scanimage, but EBUSY when using<br>
>             XSane !?!?<br>
>             ><br>
>             ><br>
>             ><br>
>             > /Troels<br>
>             ><br>
>             ><br>
>             > 2014-09-11 19:18 GMT+02:00 Rolf Bensch<br>
>             <<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><span class="">>             > <mailto:<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a><br>
>             <mailto:<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a>>>>:<br>
>             ><br>
>             >     Hi Troels,<br>
>             ><br>
</span><span class="">>             >     Am 09.09.2014 um 23:11 schrieb Troels Thomsen:<br>
>             >     > Hi Rolf<br>
>             >     ><br>
>             >     > patch new1 seems to work!<br>
>             >     ><br>
>             >     > regarding ADF its mixed:<br>
>             >     > At 150 dpi it scans pages, but colors are a bit psycedelic. Bacground<br>
>             >     > should be white.<br>
>             ><br>
>             >     You need to do some gamma settings. It's easier to use xsane here.<br>
>             ><br>
>             >     > At 600 dpi it fails, and scanner hangs.<br>
>             >     ><br>
>             ><br>
>             >     It seems that your scanner doesn't finish the scan correctly @ any<br>
>             >     resolution. I saw an unsupported paper status.<br>
>             ><br>
>             >     Please restart your scanner and test 600 dpi directly. And please try a<br>
>             >     multi page ADF scan after you repowered your scanner.<br>
>             ><br>
>             >     Please send new log files. Then I'll patch this next weekend.<br>
>             ><br>
>             >     Cheers,<br>
>             >     Rolf<br>
>             ><br>
>             >     > /Troels<br>
>             >     ><br>
>             >     ><br>
>             >     ><br>
>             >     ><br>
>             >     ><br>
>             >     > 2014-09-03 21:15 GMT+02: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>
>             <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>
</span><span class="">>             >     > <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>
>             <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>
>             >     ><br>
>             >     >     Hi Troels,<br>
>             >     ><br>
</span><span class="">>             >     >     OK, based on recent git code I prepared a new patch.<br>
>             >     ><br>
>             >     >     With this patch I revert last patch2 and try to fix scan end detection.<br>
>             >     ><br>
>             >     >     If this patch is working for flatbed, please test ADF scanning.<br>
>             >     ><br>
>             >     >     Please send me a log file from ADF scanning, whatever it's running or<br>
>             >     >     not. If ADF gets stuck, please send me an ADF log file from windows.<br>
>             >     ><br>
>             >     >     Cheers,<br>
>             >     >     Rolf<br>
>             >     ><br>
>             >     ><br>
>             >     >     Am <a href="tel:31.08.2014" value="+4531082014">31.08.2014</a> <tel:<a href="tel:31.08.2014" value="+4531082014">31.08.2014</a>> <tel:<a href="tel:31.08.2014" value="+4531082014">31.08.2014</a><br>
</span>>             <tel:<a href="tel:31.08.2014" value="+4531082014">31.08.2014</a>>> <tel:<a href="tel:31.08.2014" value="+4531082014">31.08.2014</a> <tel:<a href="tel:31.08.2014" value="+4531082014">31.08.2014</a>><br>
>             >     <tel:<a href="tel:31.08.2014" value="+4531082014">31.08.2014</a> <tel:<a href="tel:31.08.2014" value="+4531082014">31.08.2014</a>>>> um 09:31 schrieb Troels Thomsen:<br>
<div><div class="h5">>             >     >     ><br>
>             >     >     > I have done a lot of testing with scan areas of 5 by 5 milimeters, and<br>
>             >     >     > that gives a false picture of what works and what does not. (slightly<br>
>             >     >     > different behaviour on BJNP and USB)<br>
>             >     >     > Sorry<br>
>             >     >     ><br>
>             >     >     > Let's go back to usb and scanning large areas:<br>
>             >     >     ><br>
>             >     >     > Patch 1 (usb vid/pid) works, but scanner hangs in "scanning".<br>
>             >     >     ><br>
>             >     >     > Patch 2 (generation 1), makes scanning fail as seen in logfile of<br>
>             >     >     > previous post.<br>
>             >     >     ><br>
>             >     >     ><br>
>             >     >     > I've tested with git revision of ~ 1 august , and of today, and picture<br>
>             >     >     > is the same. Patch 2 makes it fail.<br>
>             >     >     ><br>
>             >     >     > Could it be that it's not a classic generation 1 or generation 2, but a<br>
>             >     >     > mix somehow?<br>
>             >     >     ><br>
>             >     >     ><br>
>             >     >     > /Troels<br>
>             >     >     ><br>
>             >     >     ><br>
>             >     >     ><br>
>             >     >     ><br>
>             >     >     ><br>
>             >     >     ><br>
>             >     >     ><br>
>             >     >     ><br>
>             >     >     > 2014-08-30 12:55 GMT+02: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>
>             <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>
>             >     <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>
>             <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>
>             >     >     > <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>
>             <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>
>             >     <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>
>             <mailto:<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a><br>
>             <mailto:<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a>>>>>>:<br>
>             >     >     ><br>
>             >     >     >     Hi Troels,<br>
>             >     >     ><br>
>             >     >     >     Am 30.08.2014 <tel:30.08.2014> <tel:30.08.2014<br>
>             <tel:30.08.2014>> <tel:30.08.2014 <tel:30.08.2014><br>
</div></div>>             >     <tel:30.08.2014 <tel:30.08.2014>>> <tel:30.08.2014<br>
<div class="HOEnZb"><div class="h5">>             <tel:30.08.2014> <tel:30.08.2014 <tel:30.08.2014>><br>
>             >     >     <tel:30.08.2014 <tel:30.08.2014> <tel:30.08.2014<br>
>             <tel:30.08.2014>>>> um 06:44 schrieb Troels<br>
>             >     Thomsen:<br>
>             >     >     >     > It seems that there is a problem with<br>
>             mf8230 usb scanning.<br>
>             >     >     >     ><br>
>             >     >     >     > I'm pretty sure I did the testing with<br>
>             the patches I got,<br>
>             >     >     but now<br>
>             >     >     >     when I<br>
>             >     >     >     > pull from git, it fails.<br>
>             >     >     >     > Was anything added/changed recently in<br>
>             pixma backend,<br>
>             >     that could<br>
>             >     >     >     > influence mf8230?<br>
>             >     >     ><br>
>             >     >     >     I did a smarter implementation for setting<br>
>             the generation<br>
>             >     >     version = 1.<br>
>             >     >     >     But it's working, as you can see in the<br>
>             log file.<br>
>             >     >     ><br>
>             >     >     >     Are you sure that you disconnected the LAN<br>
>             interface while<br>
>             >     >     testing USB?<br>
>             >     >     >     And can you scan via LAN only?<br>
>             >     >     ><br>
>             >     >     >     If this doesn't help, please go back to<br>
>             the debugged Sane<br>
>             >     >     version and<br>
>             >     >     >     patch the files again. Please send me a<br>
>             working log file.<br>
>             >     >     ><br>
>             >     >     >     Cheers,<br>
>             >     >     >     Rolf<br>
>             >     >     ><br>
>             >     >     ><br>
>             >     ><br>
>             >     ><br>
>             ><br>
>             ><br>
><br>
><br>
><br>
><br>
</div></div></blockquote></div><br></div>