[sane-devel] Help. Any Ideas?

Peter Talbott pet350 at hotmail.com
Sun Feb 12 04:41:12 UTC 2017

I'm hoping someone could help me with this.

My OS: kubuntu 14.04 amd64
My scanner is wired on my home network:
     Canon MF230
     IP (set static IP)

Printing works fine. Scanner will not detect with sane.
here is the debug output:

root at UbuntuLaptop:/etc/sane.d# scanimage -L
[sanei_debug] Setting debug level of pixma to 4.
[pixma] pixma is compiled with pthread support.
[pixma] pixma version 0.17.34
[sanei_debug] Setting debug level of bjnp to 3.
[bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.34
[bjnp] sanei_bjnp_find_devices: No devices specified in configuration file.
[bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do 
auto detection...
[bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
[bjnp] prepare_socket: wlan0 is IPv4 capable, sending broadcast, socket = 11
[bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
[bjnp] prepare_socket: wlan0 is IPv6 capable, sending broadcast, socket = 12
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.397658....
[bjnp] get_scanner_name: Name for not found : Temporary 
failure in name resolution
[bjnp] bjnp_allocate_device(mfnp:// 0
[bjnp] get_scanner_name: Name for not found : Temporary 
failure in name resolution
[bjnp] setup_udp_socket: Setting up a UDP socket, dest:  
port 8610
[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
[bjnp] setup_udp_socket: Setting up a UDP socket, dest:  
port 8610
[bjnp] get_scanner_id: Scanner identity string = 
Series;CLS:IMG;DES:Canon MF230 Series; - length = 88
[bjnp] get_scanner_id: Scanner model = Canon MF230 Series
[bjnp] add_scanner: New scanner added: 
mfnp://, serial, mac 
addres: 84ba3b91910e.
[bjnp] sanei_find_devices: scanner discovery finished...
[pixma] pixma_find_scanners() found 0 devices

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

root at UbuntuLaptop:/etc/sane.d# scanimage -V
scanimage (sane-backends) 1.0.26git; backend version 1.0.26
root at UbuntuLaptop:/etc/sane.d#
root at UbuntuLaptop:/etc/sane.d# more /proc/version
Linux version 3.13.0-105-generic (buildd at lgw01-59) (gcc version 4.8.4 
(Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #152-Ubuntu SMP Fri Dec 2 15:37:11 UTC 

I've compiled and installed the git sane-backened, I've tried specifying 
the device in pixma.conf with all different syntaxes of:
root at UbuntuLaptop:/etc/sane.d# more pixma.conf
# pixma.conf configuration for the sane pixma backend
# define URI's of scanners (one per line)
# This is only used for network scanners.
# normally scanners will be detected by sending a broadcast
# if this does not work under your OS, or if the scanners
# are on a different subnet, configure your scanners URI here
# method must be bjnp
# port number can normally be left out, port 8612 is used as default
# Example:
# bjnp://myscanner.my.domain:8612
# bjnp://printer-1.pheasant.org




Now where it has the hash '#' I've added them back in because it didn't 
do any good specifying them, it just took longer to run scanimage -L
It looks to me that [bjnp] automatically finds the scanner, identifies 
the scanner and adds it but pixma_find_scanners() found 0 devices.

I am totally out of ideas, any help would be great!
Thank you

More information about the sane-devel mailing list