[sane-devel] Canon Pixma MP970 scanner: Connection refused]
louis at lagendijk.xs4all.nl
Wed Dec 10 22:20:44 UTC 2008
could you please do the following:
set SANE_DEBUG_PIXMA to 13
in bash that is
or in tcsh
and then a scanimage and mail me the logfile? I want to have a look at
the logfileas as this really looks funny.
It would be good if you could also mail me a tcp packet dump (wireshark,
as option when you start logging). It surprises me that the correct
address is detected:
[pixma] Found scanner at ip address: 192.168.1.252
but then we start sending to 127.0.0.1. This suggest an error in the
reverse mapping of the scanners address.
What does nslookup 192.168.1.252 return? Does that return localhost?
Does /etc/hosts have the scanners address as localhost?
best regards, Louis
On Sat, 2008-12-06 at 14:37 +0100, Brian Rosenberger wrote:
> Hi Nicolas,
> I am using a Canon Pixma MP970 scanner with your latest additions to
> sane-backends. It is working with USB like a charm, but using network it
> seems that it always defaults to 127.0.0.1 (localhost) instead of using
> the scanners ip (which is 192.168.1.252).
> I tried to set ip in pixma.conf without success. Do you have any ideas?
> brian at bru02:~$ scanimage -L
> [sanei_debug] Setting debug level of pixma to 255.
> [pixma] pixma version 0.15.0
> [pixma] pixma_collect_devices() found Canon Pixma MP970 at
> [pixma] sanei_bjnp_find_devices:
> [pixma] Select returned, time left 0.996000....
> [pixma] Discover response:
> [pixma] 00000000:42 4a 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
> [pixma] 00000010:00 01 08 00 06 04 00 00 85 cb a6 8d c0 a8 01 fc
> [pixma] Found scanner at ip address: 192.168.1.252
> [pixma] Get scanner identity
> [pixma] 00000000:42 4a 4e 50 02 30 00 00 00 00 00 00 00 00 00 00
> [pixma] Sending UDP command to 127.0.0.1:8612
> [pixma] udp_command: no data received (recv): Connection refused[pixma]
> udp_command: no data received (recv): Connection refused[pixma]
> udp_command: no data received (recv): Connection refused[pixma] Cannot
> read scanner make & model: bjnp://localhost:8612
> [pixma] pixma_find_scanners() found 1 devices
> device `pixma:04A91726_20CCB5' is a CANON Canon Pixma MP970
> multi-function peripheral
More information about the sane-devel