[sane-devel] How can I help with Canon Maxify MB2000 series testing?

Rolf Bensch rolf at bensch-online.de
Sun Feb 4 12:10:54 UTC 2018


Hi Patrick,

Here you can find further infos:
https://wiki.wireshark.org/CaptureSetup/USB

You need to connect your scanner via USB and disconnect Ethernet|WiFi.

Hope this helps.

Cheers,
Rolf


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



More information about the sane-devel mailing list