<p dir="ltr">Hi Rolf, </p>
<p dir="ltr">Can you point to a short guide for getting proper USB logfiles? </p>
<p dir="ltr">Meanwhile, I noticed that wireshark do not have full support for BJNP. I browsed SANE and CUPS sources, and the BJNP dissector, and maybe in my spare time I'd like to improve the dissector. If you have any unofficial doc or article/analysis about BJNP outside what's already in C sources, I'd like to get some links.</p>
<br><div class="gmail_quote"><div dir="ltr">Il dom 4 feb 2018, 12:44 Rolf Bensch <<a href="mailto:rolf@bensch-online.de">rolf@bensch-online.de</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Patrick,<br>
<br>
It seems that we have a general problem with ADF scanning from all<br>
Maxify scanners.<br>
<br>
If possible, please provide USB logfiles from a Windows machine scanning<br>
from ADF and duplex ADF, one page and two pages, using Wireshark. Then I<br>
can try to fix this.<br>
<br>
In the meantime I'll update the doc files.<br>
<br>
Many thanks for your help.<br>
<br>
Cheers,<br>
Rolf<br>
<br>
Am 28.01.2018 um 15:26 schrieb Patrick Roncagliolo:<br>
> Hi Rolf,<br>
><br>
> I tested scanimage with different options today. In particular, I tested<br>
> all the combinations of connection/resolution/color available with<br>
> flatbed mode:<br>
><br>
>  --Connection: usb/net<br>
>  --Resolution: 75/150/300/600/1200<br>
>  --Color: color/gray/lineart<br>
><br>
> ...for a total of 30 tests. I can confirm that all the combinations<br>
> work, I have a folder with all the scans and a script, so I can<br>
> replicate the operation while collecting debug info by<br>
> setting SANE_DEBUG_PIXMA if necessary, and share all the results<br>
> somewhere (eg. Google Drive). <br>
><br>
> But ADF _do not_ work for me using scanimage or scanadf. Here's a sample<br>
> output (SANE_DEBUG_PIXMA=3 PIXMA_EXPERIMENT=1):<br>
><br>
> [pixma] pixma is compiled with pthread support.<br>
> [pixma] pixma version 0.17.45<br>
> [pixma] pixma_collect_devices() found Canon MAXIFY MB2300 Series at<br>
> libusb:003:005<br>
> [pixma] Scanner model found: Name MB2300(Canon MAXIFY MB2300 Series)<br>
> matches MB2300 series<br>
> [pixma] pixma_collect_devices() found Canon MAXIFY MB2300 Series at<br>
> bjnp://<a href="http://192.168.1.5:8612/timeout=1000" rel="noreferrer" target="_blank">192.168.1.5:8612/timeout=1000</a> <<a href="http://192.168.1.5:8612/timeout=1000" rel="noreferrer" target="_blank">http://192.168.1.5:8612/timeout=1000</a>><br>
> [pixma] pixma_open(): Canon MAXIFY MB2300 Series<br>
> [pixma] *mp150_open***** This is a generation 5 scanner.  *****<br>
> [pixma] Reader task started<br>
> [pixma] <br>
> [pixma] [pixma] Reader task id=139915254597376 (threaded)<br>
> scanimage: scanning image of size 638x1050 pixels at 24 bits/pixel<br>
> scanimage: acquiring RGB frame<br>
> pixma_scan(): start<br>
> [pixma]   line_size=1914 image_size=2009700 channels=3 depth=8<br>
> [pixma]   dpi=75x75 offset=(0,0) dimension=638x1050<br>
> [pixma]   gamma_table=0x704fc8 source=1<br>
> [pixma]   threshold=127 threshold_curve=0<br>
> [pixma]   adf-wait=0<br>
> [pixma]   ADF page count: 0<br>
> [pixma] WARNING:send_time() disabled!<br>
> [pixma] Current status: paper=0 cal=0 lamp=0 busy=0<br>
> [pixma] pixma_scan() failed ECANCELED<br>
> [pixma] read_image():reader task closed the pipe:0 bytes received,<br>
> 2009700 bytes expected<br>
> [pixma] Reader task terminated: ECANCELED<br>
> scanimage: min/max graylevel value = 255/0<br>
> scanimage: sane_read: Operation was cancelled<br>
> [pixma] pixma_close(): Canon MAXIFY MB2300 Series<br>
><br>
> Seems that pages in the ADF are not recognised: see "ADF page count=0".<br>
><br>
><br>
> Il giorno sab 27 gen 2018 alle ore 18:05 Rolf Bensch<br>
> <<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a> <mailto:<a href="mailto:rolf@bensch-online.de" target="_blank">rolf@bensch-online.de</a>>> ha scritto:<br>
><br>
>     Hi Patrick,<br>
><br>
>     Please scan all scan options (color, grayscale, lineart, 75...600<br>
>     dpi) from flatbed.<br>
><br>
>     Then test the document feeder with your preferred settings (e.g. A4,<br>
>     300 dpi) and the whole sheet size. With a single sheet and multiple<br>
>     sheets. At least test duplex scanning from ADF, single sheet and<br>
>     multiple sheets.<br>
><br>
>     I'm getting the best ADF scan results with gscan2pdf (I really never<br>
>     got best results using scanimage or xsane). For scanning single<br>
>     sheets from flatbed or ADF (one side only) you can use your favorite<br>
>     frontend, e.g. xsane.<br>
><br>
>     If you might have problems, please test also connected with USB only.<br>
><br>
>     Many thanks for report.<br>
><br>
>     Cheers,<br>
>     Rolf<br>
><br>
><br>
>     Am 26.01.2018 um 00:33 schrieb Patrick Roncagliolo:<br>
>>     I forgot to specify that obviously SANE driver worked and allowed<br>
>>     me to do some scans with Xsane and ScanImage.<br>
>>     My reference to ScanGearMP is simply for completeness, but does<br>
>>     not relate with the main point of my previous mail.<br>
>><br>
>>     So, rephrasing:  "I can say LibSane works with MB2350 via LAN<br>
>>     connection".<br>
>><br>
>>     Il giorno ven 26 gen 2018 alle ore 00:27 Patrick Roncagliolo<br>
>>     <<a href="mailto:ronca.pat@gmail.com" target="_blank">ronca.pat@gmail.com</a> <mailto:<a href="mailto:ronca.pat@gmail.com" target="_blank">ronca.pat@gmail.com</a>>> ha scritto:<br>
>><br>
>>         Hello, <br>
>>         I saw testers are needed for this series of scanners.<br>
>><br>
>>         I have a Canon Maxify MB2350 scanner, connected through LAN. <br>
>>         I can detect the scanner from Canon ScanGearMP 3.40 from<br>
>>         Ubuntu Linux 16.04. <br>
>>         I added "bjnp://<a href="http://192.168.1.5" rel="noreferrer" target="_blank">192.168.1.5</a> <<a href="http://192.168.1.5" rel="noreferrer" target="_blank">http://192.168.1.5</a>>" to my<br>
>>         pixma.conf file, where 192.168.1.5 is my scanner IP address.<br>
>>         LibSane is taken from the daily git snapshots from<br>
>>         RolfBensch's PPA (now: 1.0.27+git20180122).<br>
>><br>
>>         _I can say it works._ But I hope to help more if I can. So: is<br>
>>         there a way to do something useful other than scanning a<br>
>>         random sheet of paper? Do you have standard tests or data<br>
>>         collection procedure that could help you to improve support or<br>
>>         verify that all is working great? Do you need some packet<br>
>>         sniffing or something like that?<br>
>><br>
>>         Best regards,<br>
>>         Patrick Roncagliolo<br>
>><br>
><br>
</blockquote></div>