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

Patrick Roncagliolo ronca.pat at gmail.com
Tue Mar 13 21:17:59 UTC 2018


Hi,

I tested pixma version 0.17.46 thru USB. It works.

However, after updating from your PPa, I'm not able to discover my printer
on the network. pixma.conf seems to be ignored, no matter if I set the IP
and multiple port combinations (8610, 8611, 8612, but whit wireshark I see
only requests as broadcast on ports 8610 8612). What could have been
changed? Any hints about some dumb things that I can have forgotten since
last configuration?

Il giorno dom 11 mar 2018 alle ore 12:26 Rolf Bensch <rolf at bensch-online.de>
ha scritto:

> Hi Patrick,
>
> I just added button support for your scanner.
>
> If you're fetching the sources from git you can start testing now.
> Otherwise you must wait 'til tomorrow to get the update from my ppa.
>
> Button support is basicly implemented in standard frontends. You should
> use gscan2pdf to get best results. Or if you're familiar programming
> bash scripts, you can use scanbd
> (https://sourceforge.net/projects/scanbd/). If you like I can provide my
> pixma scripts.
>
> Hope this helps.
>
> Cheers,
> Rolf
>
> Am 05.02.2018 um 12:44 schrieb Patrick Roncagliolo:
> > Feedback on MB2350 button support:
> >
> >> SANE_DEBUG_PIXMA=11 scanimage -A
> >
> > Buttons:
> >     --button-update
> >         Update button state
> >     --button-1 <int> [0] [read-only]
> >         Button 1
> >     --button-2 <int> [0] [read-only]
> >         Button 2
> >     --original <int> [0] [read-only]
> >         Type of original to scan
> >     --target <int> [0] [read-only]
> >         Target operation type
> >     --scan-resolution <int> [0] [read-only]
> >         Scan resolution
> >
> > I noticed that when scanimage is listening for button control, if I go
> > Home->Scan->PC on the scanner touch panel, I see as available target of
> > the scan:
> > - "patrick patrick-desktop"  (if connected by lan)
> > - "Locale (USB)" (if connected by USB)
> >
> > Then, If I press the green color scan button, the pixma backend behaves
> > differently:
> > LAN: logs four rows of data
> > USB: among a low-rate burst of most-zeros logs and warnings, a different
> > line appears when i press the button
> >
> > Note that the two rows "00 00 00 00 01 01 01 01  01 00 01 01 01 01 02
> > 02" appear when I press SCAN in both USB and LAN mode.
> >
> > After pressing the scan button, the scanner displays the message
> > "scanning..." for approx 20 seconds, without any sign of flatbed
> > activity, then returns to the scan UI page without any errors. scanimage
> > continues to listen.
> >
> >> SANE_DEBUG_PIXMA=11 scanimage -d "pixma:MB2300_192.168.1.5"
> > --format=jpeg -p --mode Color --resolution 75 --button-controlled=yes
> >
> > [pixma] ==== Button-controlled scan mode is enabled.
> > [pixma] ==== To proceed, press 'SCAN' or 'COLOR' button. To cancel,
> > press 'GRAY' or 'END' button.
> > [pixma] INTR T=4.634 len=64
> >      <<< I PRESSED THE BUTTON >>>
> > [pixma]  00000000:00 00 00 00 01 01 01 01  01 00 01 01 01 01 02 02
> > [pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> >
> >> SANE_DEBUG_PIXMA=11 scanimage -d "pixma:04A91779_21CEAB" --format=jpeg
> > -p --mode Color --resolution 75 --button-controlled=yes
> >
> > [pixma] ==== Button-controlled scan mode is enabled.
> > [pixma] ==== To proceed, press 'SCAN' or 'COLOR' button. To cancel,
> > press 'GRAY' or 'END' button.
> > [pixma] INTR T=0.768 len=32
> > [pixma]  00000000:00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]
> > [pixma] WARNING:send_time() disabled!
> > [pixma] INTR T=1.024 len=32
> > [pixma]  00000000:00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]
> > [pixma] WARNING:send_time() disabled!
> > [pixma] INTR T=2.688 len=32
> > [pixma]  00000000:00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]
> > [pixma] WARNING:send_time() disabled!
> > [pixma] INTR T=11.136 len=32
> >       <<< I PRESSED THE BUTTON >>>
> > [pixma]  00000000:00 00 00 00 01 01 01 01  01 00 01 01 01 01 02 02
> > [pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]
> > [pixma] INTR T=13.696 len=32
> > [pixma]  00000000:00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> >
> >
> >
> >
> > Il giorno dom 4 feb 2018 alle ore 18:54 Patrick Roncagliolo
> > <ronca.pat at gmail.com <mailto:ronca.pat at gmail.com>> ha scritto:
> >
> >     Hi Rolf,
> >     MB2350 supports only one-side scan ADF. I used USBPcapCMD.exe to get
> >     a USB log from windows (Wireshark on Windows do not support direct
> >     USB port capturing AFAIK).
> >     I sent you .pcap files of one-sheet and two-sheets scans from Win.
> >
> >     Il giorno dom 4 feb 2018 alle ore 13:14 Patrick Roncagliolo
> >     <ronca.pat at gmail.com <mailto:ronca.pat at gmail.com>> ha scritto:
> >
> >         Oh I see, thank you so much. I'll give you USB logfiles ASAP.
> >
> >
> >         Il dom 4 feb 2018, 13:10 Rolf Bensch <rolf at bensch-online.de
> >         <mailto:rolf at bensch-online.de>> ha scritto:
> >
> >             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>
> >             > <mailto: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>
> >             >     <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>>
> >             >     <mailto: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>>
> >             >     <mailto: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>
> >             >     <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
> >             >     >>
> >             >     >
> >             >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20180313/42edce59/attachment-0001.html>


More information about the sane-devel mailing list