[sane-devel] Canon MX922 scan error

Louis Lagendijk louis at fazant.net
Wed Feb 28 18:23:36 UTC 2018


On Sun, 2018-02-25 at 14:45 -0400, J. Paul Bissonnette wrote:
> On Sat, 24 Feb 2018 15:14:22 +0100
> Louis Lagendijk <louis at fazant.net> wrote:

Can you please do the following (as root):


tcpdump host <ip-address of scanner>
and then in a different window:
scanimage -L


Given the fact that the scanner does not work on USB either, this is
not going to help. @Rolf Bensch: do you have any idea why the MX922
stopped working? 

> I checked the scanner with windows 7, the scanner is functional.
> 
> jpb at maple:~$ sudo tcpdump host 192.168.0.108
> [sudo] password for jpb: 
> tcpdump: verbose output suppressed, use -v or -vv for full protocol
> decode listening on eno1, link-type EN10MB (Ethernet), capture size
> 262144 bytes 08:54:51.457427 IP 192.168.0.108.8612 >
> 192.168.0.5.8612:
> UDP, length 32 08:54:51.457464 IP 192.168.0.108.8612 >
> 192.168.0.5.8612: UDP, length 32 08:54:51.522781 IP 192.168.0.5.58749
> >
> 192.168.0.108.8612: UDP, length 16 08:54:51.524481 IP
> 192.168.0.108.8612 > 192.168.0.5.58749: UDP, length 32
> 08:54:51.524629
> IP 192.168.0.5.58617 > 192.168.0.108.8612: UDP, length 16
> 08:54:51.526334 IP 192.168.0.108.8612 > 192.168.0.5.58617: UDP,
> length
> 117 08:54:51.571296 IP 192.168.0.5.50297 > 192.168.0.108.8612: UDP,
> length 16 08:54:51.573604 IP 192.168.0.108.8612 > 192.168.0.5.50297:
> UDP, length 32 08:54:56.821491 ARP, Request who-has 192.168.0.108
> tell
> 192.168.0.5, length 28 08:54:56.822500 ARP, Reply 192.168.0.108 is-at
> 00:bb:c1:22:e6:97 (oui Unknown), length 46
> 
> jpb at maple:~$  scanimage -L
> device `pixma:MX920_192.168.0.108' is a CANON Canon PIXMA MX920
> Series
> multi-function peripheral
> 
> 
> 1) Connect the scanner using a USB cable. Does it work? No
-> so here is the issue: there is a problem in the backend itself, as
bjnp just changes the interface but the actual scanner handling is
exactly the same as for USB. We need input from Rolf Bensch as he knows
much more about the scanning code then I do....

> 
>  xsane -v
> xsane-0.999 (c) 1998-2013 Oliver Rauch
>   E-mail: Oliver.Rauch at xsane.org
>   package xsane-0.999
>   compiled with GTK-2.24.29
>   with color management function
>   with GIMP support, compiled with GIMP-2.8.16
>   XSane output formats: jpeg, pdf(compr.), png, pnm, ps(compr.),
> tiff,
>  txt jpb at maple:~$ 

Try scanimage before going to xsane. Scanimage is easier to use from
the command line and has some debugging options as well.


> 1st click on scan error
> [bjnp] bjnp_open_tcp: ERROR - Can not connect to scanner: Connection
> refused 2nd click no error
> save number is advanced from 001.jpeg to 002.jpeg
> 1st click on scan error
> [bjnp] bjnp_open_tcp: ERROR - Can not connect to scanner: Connection
> refused 2nd click no error
> the save number is advanced
> 
Please note that you need to power cycle the scanner when you get the
TCP connect error and probably for USB as well.


BR, Louis



More information about the sane-devel mailing list