[sane-devel] Error messages when starting "scanimage"

Dr Rainer Woitok rainer.woitok at gmail.com
Wed Jun 6 17:32:09 BST 2018


Greetings,

whenever I'm starting "scanimage" I get a bundle of error messages:

$ SANE_CONFIG_DIR=$HOME/.config/sane scanimage --device pixma:MX880_192.168.2.199 -T
[bjnp] udp_command: ERROR - no data received (timeout = 1000)
[bjnp] bjnp_init_device_structure: Cannot read mac address, skipping this scanner
[bjnp] udp_command: ERROR - no data received (timeout = 1000)
[bjnp] add_scanner: ERROR - Cannot read scanner make & model: bjnp://new-host.local:8612/timeout=1000
[bjnp] udp_command: ERROR - no data received (timeout = 1000)
[bjnp] bjnp_init_device_structure: Cannot read mac address, skipping this scanner
[bjnp] udp_command: ERROR - no data received (timeout = 1000)
[bjnp] add_scanner: ERROR - Cannot read scanner make & model: bjnp://new-host.local:8612/timeout=1000
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1914 bytes...	PASS
scanimage: reading one byte...		PASS
scanimage: stepped read, 2 bytes... 	PASS
scanimage: stepped read, 4 bytes... 	PASS
scanimage: stepped read, 8 bytes... 	PASS
scanimage: stepped read, 16 bytes... 	PASS
scanimage: stepped read, 32 bytes... 	PASS
scanimage: stepped read, 64 bytes... 	PASS
scanimage: stepped read, 128 bytes... 	PASS
scanimage: stepped read, 256 bytes... 	PASS
scanimage: stepped read, 512 bytes... 	PASS
scanimage: stepped read, 1024 bytes... 	PASS
scanimage: stepped read, 2048 bytes... 	PASS
scanimage: stepped read, 2047 bytes... 	PASS
scanimage: stepped read, 1023 bytes... 	PASS
scanimage: stepped read, 511 bytes... 	PASS
scanimage: stepped read, 255 bytes... 	PASS
scanimage: stepped read, 127 bytes... 	PASS
scanimage: stepped read, 63 bytes... 	PASS
scanimage: stepped read, 31 bytes... 	PASS
scanimage: stepped read, 15 bytes... 	PASS
scanimage: stepped read, 7 bytes... 	PASS
scanimage: stepped read, 3 bytes... 	PASS
$ ls -l $HOME/.config/sane
total 8
-rw------- 1 rainer rainer    6 2017-10-27 13:01 dll.conf
-rw------- 1 rainer rainer 1053 2018-06-06 17:54 pixma.conf
$ more $HOME/.config/sane/dll.conf 
pixma
$ grep -v '^#' $HOME/.config/sane/pixma.conf 
bjnp-timeout=100
bjnp://192.168.2.199/timeout=5000
bjnp-timeout=100
$

The name "new-host.local" was assigned to my scanner/printer by my rout-
er, and I have not yet found a way to change it to something reasonable.
But it refers to the same  IP address 192.168.2.199  which I also use in
the "scanimage" command.

What is causing  these error messages  and how can I prevent them?   And
why is  "scanimage"  using the  default timeout of 1000  rather than the
configured timeout of 100?

Sincerely,
  Rainer



More information about the sane-devel mailing list