[sane-devel] MX895 auf Ubuntu 'Precise'

Balthasar Nebel balthasar_nebel at yahoo.de
Wed Jul 1 20:09:20 UTC 2015


Hi Louis,
I tried nslookup, but the name is not known in the network. I even added this name in /etc/hosts but with same result. I noticed that D8:BE:01 are the last 3 bytes of the MAC Address of the printer (88:87:17:D8:BE:01), not sure if this is relevant.The firewall is not up so neither the TCP nor the UDP port gets blocked.I made a trace with SANE_DEBUG_BJNP=5 and you find the result below.
Regards,Balthasar
PS: I missed notification for this list, so it took a long time until I recognized your last response. Sorry for that.

---
$ nslookup D8BE01000000.local
Server:        127.0.0.1
Address:    127.0.0.1#53

** server can't find D8BE01000000.local: NXDOMAIN
# ufw status
Status: Inaktiv

$ export SANE_DEBUG_BJNP=5
$ scanimage > /tmp/filename 2>/tmp/mfnp_trace
$ cat /tmp/mfnp_trace
[sanei_debug] Setting debug level of bjnp to 5.
[bjnp] sanei_bjnp_find_devices:
[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: eth0 is IPv4 capable, sending broadcast, socket = 3
[bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
[bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast, socket = 4
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499992....
[bjnp] sanei_find_devices: Discover response:
[bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
[bjnp]  00000010:00 01 08 00 06 04 88 87  17 d8 be 01 c0 a8 01 29 
[bjnp] get_scanner_name: Forward lookup for D8BE01000000.local succeeded, using as hostname
[bjnp] bjnp_allocate_device(bjnp://D8BE01000000.local:8612) 0
[bjnp] get_scanner_name: Forward lookup for D8BE01000000.local succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.41  port 8612
[bjnp] bjnp_get_scanner_mac_address: Discover response:
[bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
[bjnp]  00000010:00 01 08 00 06 04 88 87  17 d8 be 01 c0 a8 01 29 
[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it: D8BE01000000.local:8612
[bjnp] get_scanner_id: 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.41  port 8612
[bjnp] get_scanner_id: scanner identity:
[bjnp]  00000000:42 4a 4e 50 82 30 00 00  00 01 00 00 00 00 00 65 
[bjnp]  00000010:00 65 4d 46 47 3a 43 61  6e 6f 6e 3b 43 4d 44 3a 
[bjnp]  00000020:4d 75 6c 74 69 50 61 73  73 20 32 2e 31 2c 49 56 
[bjnp]  00000030:45 43 3b 4d 44 4c 3a 4d  58 38 39 30 20 73 65 72 
[bjnp]  00000040:69 65 73 3b 43 4c 53 3a  49 4d 41 47 45 3b 44 45 
[bjnp]  00000050:53 3a 43 61 6e 6f 6e 20  4d 58 38 39 30 20 73 65 
[bjnp]  00000060:72 69 65 73 3b 53 4f 4a  3a 42 4a 4e 50 32 2c 42 
[bjnp]  00000070:4a 4e 50 65 3b 
[bjnp] get_scanner_id: Scanner identity string = MFG:Canon;CMD:MultiPass 2.1,IVEC;MDL:MX890 series;CLS:IMAGE;DES:Canon MX890 series;SOJ:BJNP2,BJNPe; - length = 99
[bjnp] get_scanner_id: Scanner model = MX890 series
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499995....
[bjnp] sanei_find_devices: Discover response:
[bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
[bjnp]  00000010:00 01 08 00 06 04 88 87  17 d8 be 01 c0 a8 01 29 
[bjnp] get_scanner_name: Forward lookup for D8BE01000000.local succeeded, using as hostname
[bjnp] bjnp_allocate_device(bjnp://D8BE01000000.local:8612) 1
[bjnp] get_scanner_name: Forward lookup for D8BE01000000.local succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.41  port 8612
[bjnp] bjnp_get_scanner_mac_address: Discover response:
[bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
[bjnp]  00000010:00 01 08 00 06 04 88 87  17 d8 be 01 c0 a8 01 29 
[bjnp] add_scanner: Scanner at bjnp://D8BE01000000.local:8612 was added before, good!
[bjnp] sanei_find_devices: scanner discovery finished...
[bjnp] sanei_bjnp_find_devices:
[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: eth0 is IPv4 capable, sending broadcast, socket = 10
[bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
[bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast, socket = 11
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.269176....
[bjnp] sanei_find_devices: Discover response:
[bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
[bjnp]  00000010:00 01 08 00 06 04 88 87  17 d8 be 01 c0 a8 01 29 
[bjnp] get_scanner_name: Forward lookup for D8BE01000000.local succeeded, using as hostname
[bjnp] bjnp_allocate_device(bjnp://D8BE01000000.local:8612) 0
[bjnp] get_scanner_name: Forward lookup for D8BE01000000.local succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.41  port 8612
[bjnp] bjnp_get_scanner_mac_address: Discover response:
[bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
[bjnp]  00000010:00 01 08 00 06 04 88 87  17 d8 be 01 c0 a8 01 29 
[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it: D8BE01000000.local:8612
[bjnp] get_scanner_id: 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.41  port 8612
[bjnp] get_scanner_id: scanner identity:
[bjnp]  00000000:42 4a 4e 50 82 30 00 00  00 01 00 00 00 00 00 65 
[bjnp]  00000010:00 65 4d 46 47 3a 43 61  6e 6f 6e 3b 43 4d 44 3a 
[bjnp]  00000020:4d 75 6c 74 69 50 61 73  73 20 32 2e 31 2c 49 56 
[bjnp]  00000030:45 43 3b 4d 44 4c 3a 4d  58 38 39 30 20 73 65 72 
[bjnp]  00000040:69 65 73 3b 43 4c 53 3a  49 4d 41 47 45 3b 44 45 
[bjnp]  00000050:53 3a 43 61 6e 6f 6e 20  4d 58 38 39 30 20 73 65 
[bjnp]  00000060:72 69 65 73 3b 53 4f 4a  3a 42 4a 4e 50 32 2c 42 
[bjnp]  00000070:4a 4e 50 65 3b 
[bjnp] get_scanner_id: Scanner identity string = MFG:Canon;CMD:MultiPass 2.1,IVEC;MDL:MX890 series;CLS:IMAGE;DES:Canon MX890 series;SOJ:BJNP2,BJNPe; - length = 99
[bjnp] get_scanner_id: Scanner model = MX890 series
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499995....
[bjnp] sanei_find_devices: Discover response:
[bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
[bjnp]  00000010:00 01 08 00 06 04 88 87  17 d8 be 01 c0 a8 01 29 
[bjnp] get_scanner_name: Forward lookup for D8BE01000000.local succeeded, using as hostname
[bjnp] bjnp_allocate_device(bjnp://D8BE01000000.local:8612) 1
[bjnp] get_scanner_name: Forward lookup for D8BE01000000.local succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.41  port 8612
[bjnp] bjnp_get_scanner_mac_address: Discover response:
[bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
[bjnp]  00000010:00 01 08 00 06 04 88 87  17 d8 be 01 c0 a8 01 29 
[bjnp] add_scanner: Scanner at bjnp://D8BE01000000.local:8612 was added before, good!
[bjnp] sanei_find_devices: scanner discovery finished...
[bjnp] sanei_bjnp_open(bjnp://D8BE01000000.local:8612, 10170356):
[bjnp] bjnp_allocate_device(bjnp://D8BE01000000.local:8612) 1
[bjnp] get_scanner_name: Forward lookup for D8BE01000000.local succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.41  port 8612
[bjnp] bjnp_get_scanner_mac_address: Discover response:
[bjnp]  00000000:42 4a 4e 50 82 01 00 00  00 00 00 00 00 00 00 10 
[bjnp]  00000010:00 01 08 00 06 04 88 87  17 d8 be 01 c0 a8 01 29 
scanimage: open of device pixma:MX890_D8BE01000000 failed: Operation was cancelled
$ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20150701/d512698a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mfnp_trace
Type: application/octet-stream
Size: 7031 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20150701/d512698a/attachment-0001.obj>


More information about the sane-devel mailing list