[sane-devel] Canon MF4770N network

littlesincanada littlesincanada at yahoo.co.uk
Tue Apr 8 04:20:01 UTC 2014


Hi,
After managing to get USB scanning working with Rolf for the Canon 
MF4770N machine, I have now put the printer onto the network and am 
trying to get network scanning working to no avail.

Assuming that it uses the BJNP protocol, I have added the scanner to 
/etc/sane.d/pixma.conf:

bjnp://192.168.1.51

The scanner is not detected.
Here is some debug output from xsane:

=============================
[bjnp] sanei_bjnp_find_devices:
[bjnp] Adding scanner from pixma.conf: bjnp://192.168.1.51
[bjnp] bjnp_allocate_device(bjnp://192.168.1.51) 0
[bjnp] Forward lookup for Canon6073ef.local succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.51  
port 8612
[bjnp] udp_command: recv failed: Connection refused[bjnp] udp_command: 
recv failed: Connection refused[bjnp] udp_command: recv failed: 
Connection refused[bjnp] udp_command: no data received
[bjnp] Cannot read mac address, skipping this scanner
[bjnp] Scanner not yet in our list, added it: 192.168.1.51:8612
[bjnp] Get scanner identity
[bjnp]  00000000:42 4a 4e 50 02 30 00 00  00 01 00 00 00 00 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.51  
port 8612
[bjnp] udp_command: recv failed: Connection refused[bjnp] udp_command: 
recv failed: Connection refused[bjnp] udp_command: recv failed: 
Connection refused[bjnp] udp_command: no data received
[bjnp] Failed to retrieve scanner identity:
[bjnp] Cannot read scanner make & model: bjnp://192.168.1.51
[bjnp] Added all configured scanners, now do auto detection...
[bjnp] lo is not a valid IPv4 interface, skipping...
[bjnp] eth0 is IPv4 capable, sending broadcast, socket = 7
[bjnp] lo is not a valid IPv6 interface, skipping...
[bjnp] eth0 is IPv6 capable, sending broadcast, socket = 8
[bjnp] scanner discovery finished...
[pixma] pixma_find_scanners() found 0 devices
===================================

It just doesn't seem to be responding.

Looking at wireshark, there are some UDP BJNP Discover packets to port 
8612 going out, but there is nothing coming back.

Any ideas as to what I should be trying?
Is it likely that this scanner doesn't support ethernet scanning?

Cheers,
Ralph





More information about the sane-devel mailing list