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

2018-03-17 Thread Louis Lagendijk
On Sat, 2018-03-17 at 18:51 +, Patrick Roncagliolo wrote:
> Regarding ADF support, I can tell you a difference between two
> situations:
> 
> ADF empty: backend hangs a while, than I can read "scanimage:
> sane_read: Document feeder out of documents"
> ADF with sheets loaded: operation hats instantaneously, and I can
> read "scanimage: sane_read: Operation was cancelled"
> 
> I can send you some files (scanimage logs and wireshark dumps) if you
> want.
Is this over USB as well? If so, it the backend proper. You may want to
talk to Rolf again for that

BR, Louis

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-03-17 Thread Louis Lagendijk
On Sat, 2018-03-17 at 18:36 +, Patrick Roncagliolo wrote:
> I have empty iptables. By reading manpages, I found that /etc/sane.d
> was not in the $SANE_CONFIG_DIR.
> I put there "bjnp://192.168.1.5", lanched scanimage -L and it finally
> worked.
> 
> One question/curiosity: scangearmp2 (Canon proprietary scan tool for
> linux) sends a discovery probe on port 8611 instead of 8612, and
> behaves differently from the pixma backend. Is there some reverse-
> engineered documentation about the BJNP messages, types, codes? I
> imagine so, given that pixma-backend exists, but I had no success in
> finding it.
> 
Read the source code... NO there was no documentation whatsoever. I
reverse engineered the protocol from PCAP traces from the Windows
driver. But that is only part of the story: the bjnp protocol just
translates the USB protocol to run over TCP/IP. So the actual
processing is still done by the same backend code as used for USB
scanning. Internally in the bjnp code I map the sanner name to the USB-
id as that is used a lot in the backend...
I reverse engineered the protocol using the MP970 I had at that time,
and it still works for recent scanners that use BJNP, even though I
have seen some variations used by Canon (later Windows drivers for the
scanner use more TCP and less UDP. But that may also have been the case
with the BJNP printing part. And if it works, don't touch it...

BR, Louis-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-03-17 Thread Patrick Roncagliolo
Regarding ADF support, I can tell you a difference between two situations:

ADF empty: backend hangs a while, than I can read "scanimage: sane_read:
Document feeder out of documents"
ADF with sheets loaded: operation hats instantaneously, and I can read
"scanimage: sane_read: Operation was cancelled"

I can send you some files (scanimage logs and wireshark dumps) if you want.

Il giorno sab 17 mar 2018 alle ore 19:35 Patrick Roncagliolo <
ronca@gmail.com> ha scritto:

> I have empty iptables.
> By reading manpages, I found that /etc/sane.d was not in
> the $SANE_CONFIG_DIR.
> I put there "bjnp://192.168.1.5", lanched scanimage -L and it finally
> worked.
>
> One question/curiosity: scangearmp2 (Canon proprietary scan tool for
> linux) sends a discovery probe on port 8611 instead of 8612, and behaves
> differently from the pixma backend. Is there some reverse-engineered
> documentation about the BJNP messages, types, codes? I imagine so, given
> that pixma-backend exists, but I had no success in finding it.
>
>
>
> Il giorno sab 17 mar 2018 alle ore 14:47 Louis Lagendijk 
> ha scritto:
>
>> On Tue, 2018-03-13 at 21:17 +, Patrick Roncagliolo wrote:
>>
>> 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 <
>> r...@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
>>
>>
>> I have an MB5050 myself and that works pretty well.
>> Can you please (in a shell) do:
>>
>> export SANE_DEBUG_BJNP=20
>> scanimage -L 2> log
>>
>> and mail the resulting log file?
>> Some of the most recent Canon scanners no longer support bjnp, butthe
>> MB2000 is as far as I know of the same generation as my MB5050, so I expect
>> bjnp till to be supported.
>>
>> Please check your firewall settings (see man sane-pixma) to be sure that
>> traffic does not get blocked. There should be no reason to modify the
>> pixma.conf file, unless you are on WIFI: ome users report problems oer WIFI.
>> See the bjnp-timeout settings in pixma.conf. A single line of
>> bjnp-timeout=5000
>> at the beginning of that file should in that case do the trick.
>> I decided against including that by default as it would cause long delays
>> for user using other backends
>>
>> BR, Loujis
>> --
>> sane-devel mailing list: sane-devel@lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>  to sane-devel-requ...@lists.alioth.debian.org
>
>
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-03-17 Thread Patrick Roncagliolo
I have empty iptables.
By reading manpages, I found that /etc/sane.d was not in
the $SANE_CONFIG_DIR.
I put there "bjnp://192.168.1.5", lanched scanimage -L and it finally
worked.

One question/curiosity: scangearmp2 (Canon proprietary scan tool for linux)
sends a discovery probe on port 8611 instead of 8612, and behaves
differently from the pixma backend. Is there some reverse-engineered
documentation about the BJNP messages, types, codes? I imagine so, given
that pixma-backend exists, but I had no success in finding it.



Il giorno sab 17 mar 2018 alle ore 14:47 Louis Lagendijk 
ha scritto:

> On Tue, 2018-03-13 at 21:17 +, Patrick Roncagliolo wrote:
>
> 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 <
> r...@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
>
>
> I have an MB5050 myself and that works pretty well.
> Can you please (in a shell) do:
>
> export SANE_DEBUG_BJNP=20
> scanimage -L 2> log
>
> and mail the resulting log file?
> Some of the most recent Canon scanners no longer support bjnp, butthe
> MB2000 is as far as I know of the same generation as my MB5050, so I expect
> bjnp till to be supported.
>
> Please check your firewall settings (see man sane-pixma) to be sure that
> traffic does not get blocked. There should be no reason to modify the
> pixma.conf file, unless you are on WIFI: ome users report problems oer WIFI.
> See the bjnp-timeout settings in pixma.conf. A single line of
> bjnp-timeout=5000
> at the beginning of that file should in that case do the trick.
> I decided against including that by default as it would cause long delays
> for user using other backends
>
> BR, Loujis
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>  to sane-devel-requ...@lists.alioth.debian.org
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-03-17 Thread Louis Lagendijk
On Tue, 2018-03-13 at 21:17 +, Patrick Roncagliolo wrote:
> 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  ine.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
> > 
> > 

I have an MB5050  myself and that works pretty well.
Can you please (in a shell) do:

export SANE_DEBUG_BJNP=20
scanimage -L 2>  log

and mail the resulting log file?
Some of the most recent Canon scanners no longer support bjnp, butthe
MB2000 is as far as I know of the same generation as my MB5050, so I
expect bjnp till to be supported.

Please check your firewall settings (see man sane-pixma) to be sure
that traffic does not get blocked. There should be no reason to modify
the pixma.conf file, unless you are on WIFI: ome users report problems
oer WIFI.
See the bjnp-timeout settings in pixma.conf. A single line of 
bjnp-timeout=5000 
at the beginning of that file should in that case do the trick.
I decided against including that by default as it would cause long
delays for user using other backends

BR, Loujis-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-03-13 Thread Patrick Roncagliolo
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 
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  [0] [read-only]
> > Button 1
> > --button-2  [0] [read-only]
> > Button 2
> > --original  [0] [read-only]
> > Type of original to scan
> > --target  [0] [read-only]
> > Target operation type
> > --scan-resolution  [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]  :00 00 00 00 01 01 01 01  01 00 01 01 01 01 02 02
> > [pixma]  0010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  0020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  0030: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]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  0010: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]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  0010: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]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  0010: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]  :00 00 00 00 01 01 01 01  01 00 01 01 01 01 02 02
> > [pixma]  0010: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]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> > [pixma]  0010: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
> > > 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 

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

2018-03-11 Thread Rolf Bensch
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  [0] [read-only]
>         Button 1
>     --button-2  [0] [read-only]
>         Button 2
>     --original  [0] [read-only]
>         Type of original to scan
>     --target  [0] [read-only]
>         Target operation type
>     --scan-resolution  [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]  :00 00 00 00 01 01 01 01  01 00 01 01 01 01 02 02 
> [pixma]  0010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
> [pixma]  0020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
> [pixma]  0030: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]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00 
> [pixma]  0010: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]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00 
> [pixma]  0010: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]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00 
> [pixma]  0010: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]  :00 00 00 00 01 01 01 01  01 00 01 01 01 01 02 02    
> [pixma]  0010: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]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00 
> [pixma]  0010: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
> > 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
> > 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  > 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,
> 

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

2018-03-11 Thread Rolf Bensch
Hi Patrick,

Many thanks for the log file.

I found some differences to the implemented settings. For comparison
please send a logfile from a normal flatbed scan.

Cheers,
Rolf

Am 04.02.2018 um 19:45 schrieb Patrick Roncagliolo:
> 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 attach to this message the two dumps, that represent an ADF scan with
> a single page, and an ADF scan with two pages in the ADF. 
> 
> Il giorno dom 4 feb 2018 alle ore 13:14 Patrick Roncagliolo
> > 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  > 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  
> > >>
> 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
> 
> >     
> >     
> >     > [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 

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

2018-02-04 Thread Rolf Bensch
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  > 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
> 
> 
> > [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
> > 
> >> 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
> >
> >
> >  

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

2018-02-04 Thread Rolf Bensch
Hi Louis,

Please try to fix this issue. The main problem are special needed
settings in function send_scan_param() (command 0xde20) from
pixma_mp150.c. You can fetch correct settings from reference scans from
a Windows machine.

To check button support, you can use this simple test:

1. push any button

2. $ SANE_DEBUG_PIXMA=11 scanimage -A

If you scanner has button support, you should get a similar response:

[...]
  Buttons:
    --button-update
    Update button state
[pixma] INTR T=1.165 len=32
[pixma]  :00 20 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  0010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]
    --button-1  [1] [read-only]
    Button 1
    --button-2  [0] [read-only]
    Button 2
    --original  [0] [read-only]
    Type of original to scan
    --target  [2] [read-only]
    Target operation type
    --scan-resolution  [0] [read-only]
    Scan resolution
[...]

Important are existing lines starting with [pixma]. With this info it's
simple to enable button support.

Hope this helps.

Cheers,
Rolf


Am 29.01.2018 um 20:40 schrieb Louis Lagendijk:
> On Sun, 2018-01-28 at 14:26 +, Patrick Roncagliolo wrote:
>> 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):
> This sounds the same as the status on my MB5050. You may also want to
> test the button support: that probably does not work either.
>
> BR, Louis

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-02-04 Thread 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  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>
> > [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
> > > 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
> >> > 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 

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

2018-02-04 Thread Rolf Bensch
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 
> [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
> > 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
>> > 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 " 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,
>> 

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

2018-01-30 Thread Louis Lagendijk
On Mon, 2018-01-29 at 20:35 +, Patrick Roncagliolo wrote:
> Yes, --button-controlled=yes has no effect on the scanner: nothing
> happens, scanimage just hangs while the scanner seems to not have
> understood the command, the display do not change page nor shows a
> prompt or some sign that an operation is pending. I do not know if
> this feature should be supported on the MB2350, I never saw such a
> feature even on Windows when configuring/using my scanner. Could you
> tell me where to check if MB2350 supports the button-controlled mode
> or if you know some windows software that can show me how it works so
> that I can understand what should be the expected behaviour on Linux,
> if any?
> 
> Il giorno lun 29 gen 2018 alle ore 20:40 Louis Lagendijk  t.net> ha scritto:
> > On Sun, 2018-01-28 at 14:26 +, Patrick Roncagliolo wrote:
> > > 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):
> > 
> > This sounds the same as the status on my MB5050. You may also want
> > to test the button support: that probably does not work either.
> > 
> > BR, Louis

Hi Patrick
Buttons can be used in xsane (button controlled scan option in standard
options), but are more relevant with scanbd (scan button daemon). It
did not work with my MB5050 but I scan so seldom that I never got
around fixing the isues I found when I started adaption of the pixma
backend.

BR, Louis-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-01-29 Thread Patrick Roncagliolo
Yes, --button-controlled=yes has no effect on the scanner: nothing happens,
scanimage just hangs while the scanner seems to not have understood the
command, the display do not change page nor shows a prompt or some sign
that an operation is pending. I do not know if this feature should be
supported on the MB2350, I never saw such a feature even on Windows when
configuring/using my scanner. Could you tell me where to check if MB2350
supports the button-controlled mode or if you know some windows software
that can show me how it works so that I can understand what should be the
expected behaviour on Linux, if any?

Il giorno lun 29 gen 2018 alle ore 20:40 Louis Lagendijk 
ha scritto:

> On Sun, 2018-01-28 at 14:26 +, Patrick Roncagliolo wrote:
>
> 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):
>
> This sounds the same as the status on my MB5050. You may also want to test
> the button support: that probably does not work either.
>
> BR, Louis
> --
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>  to sane-devel-requ...@lists.alioth.debian.org
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-01-29 Thread Louis Lagendijk
On Sun, 2018-01-28 at 14:26 +, Patrick Roncagliolo wrote:
> 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):
This sounds the same as the status on my MB5050. You may also want to
test the button support: that probably does not work either.

BR, Louis-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-01-28 Thread 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
[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 
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@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" 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
>>
>
>
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-01-27 Thread Rolf Bensch
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
> > 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 " 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
>

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-01-25 Thread 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@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" 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
>
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

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

2018-01-25 Thread Patrick Roncagliolo
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" 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
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org