sudo -H gedit /etc/services folgendes einfügen
sane-port 6566/udp sane saned # SANE network scanner daemon
war leider schon eingefügt! Siehe Datei im Anhang!
Dann export SANE_DEBUG_BJNP="5" gesetzt und Test mit xsane
bino@bino-lan:~$ xsane
[sanei_debug] Setting debug level of bjnp to 5.
[bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.40
[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 = 46
[bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
[bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast, socket = 47
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499988....
[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 00 1e 8f 98 c6 46 c0 a8 b2 0a
[bjnp] get_scanner_name: Forward lookup for MX870.fritz.box succeeded, using as hostname
[bjnp] bjnp_allocate_device(bjnp://MX870.fritz.box:8612/timeout=1000) 0
[bjnp] get_scanner_name: Forward lookup for MX870.fritz.box succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 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 00 1e 8f 98 c6 46 c0 a8 b2 0a
[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it: MX870.fritz.box: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.178.10 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 55
[bjnp] 00000010:00 55 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 37 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 37 30 20 73 65
[bjnp] 00000060:72 69 65 73 3b
[bjnp] get_scanner_id: Scanner identity string = MFG:Canon;CMD:MultiPass 2.1,IVEC;MDL:MX870 series;CLS:IMAGE;DES:Canon MX870 series; - length = 83
[bjnp] get_scanner_id: Scanner model = MX870 series
[bjnp] add_scanner: New scanner added: bjnp://MX870.fritz.box:8612/timeout=1000, serial MX870.fritz.box, mac addres: 001e8f98c646.
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499996....
[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 00 1e 8f 98 c6 46 c0 a8 b2 0a
[bjnp] get_scanner_name: Forward lookup for MX870.fritz.box succeeded, using as hostname
[bjnp] bjnp_allocate_device(bjnp://MX870.fritz.box:8612/timeout=1000) 1
[bjnp] get_scanner_name: Forward lookup for MX870.fritz.box succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 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 00 1e 8f 98 c6 46 c0 a8 b2 0a
[bjnp] add_scanner: Scanner at bjnp://MX870.fritz.box:8612/timeout=1000 was added before, good!
[bjnp] sanei_find_devices: scanner discovery finished...
[bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.40
[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 = 133
[bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
[bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast, socket = 134
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499994....
[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 00 1e 8f 98 c6 46 c0 a8 b2 0a
[bjnp] get_scanner_name: Forward lookup for MX870.fritz.box succeeded, using as hostname
[bjnp] bjnp_allocate_device(bjnp://MX870.fritz.box:8612/timeout=1000) 0
[bjnp] get_scanner_name: Forward lookup for MX870.fritz.box succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 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 00 1e 8f 98 c6 46 c0 a8 b2 0a
[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it: MX870.fritz.box: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.178.10 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 55
[bjnp] 00000010:00 55 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 37 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 37 30 20 73 65
[bjnp] 00000060:72 69 65 73 3b
[bjnp] get_scanner_id: Scanner identity string = MFG:Canon;CMD:MultiPass 2.1,IVEC;MDL:MX870 series;CLS:IMAGE;DES:Canon MX870 series; - length = 83
[bjnp] get_scanner_id: Scanner model = MX870 series
[bjnp] add_scanner: New scanner added: bjnp://MX870.fritz.box:8612/timeout=1000, serial MX870.fritz.box, mac addres: 001e8f98c646.
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499996....
[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 00 1e 8f 98 c6 46 c0 a8 b2 0a
[bjnp] get_scanner_name: Forward lookup for MX870.fritz.box succeeded, using as hostname
[bjnp] bjnp_allocate_device(bjnp://MX870.fritz.box:8612/timeout=1000) 1
[bjnp] get_scanner_name: Forward lookup for MX870.fritz.box succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 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 00 1e 8f 98 c6 46 c0 a8 b2 0a
[bjnp] add_scanner: Scanner at bjnp://MX870.fritz.box:8612/timeout=1000 was added before, good!
[bjnp] sanei_find_devices: scanner discovery finished...
[bjnp] sanei_bjnp_open(bjnp://MX870.fritz.box:8612/timeout=1000, 0):
[bjnp] bjnp_allocate_device(bjnp://MX870.fritz.box:8612/timeout=1000) 1
[bjnp] get_scanner_name: Forward lookup for MX870.fritz.box succeeded, using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 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 00 1e 8f 98 c6 46 c0 a8 b2 0a
[bjnp] sanei_bjnp_deactivate (0)
[bjnp] bjnp_set_timeout to 300, but using minimum value 1000
[bjnp] bjnp_read_int(0, bufferptr, 0x40 = 64):
[bjnp] bjnp_poll_scanner: Poll details (type 0)
[bjnp] 00000000:42 4a 4e 50 02 32 00 00 00 02 00 00 00 00 00 50
[bjnp] 00000010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000020:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000030:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000050:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 port 8612
[bjnp] bjnp_poll_scanner: Poll details response:
[bjnp] 00000000:42 4a 4e 50 82 32 00 00 00 02 00 00 00 00 00 34
[bjnp] 00000010:00 00 00 00 00 00 00 00 00 00 00 24 00 00 00 00
[bjnp] 00000020:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000030:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00
[bjnp] bjnp_poll_scanner: Poll details (type 1)
[bjnp] 00000000:42 4a 4e 50 02 32 00 00 00 03 00 00 00 00 00 50
[bjnp] 00000010:00 01 00 00 00 00 00 00 00 62 00 69 00 6e 00 6f
[bjnp] 00000020:00 20 00 20 00 62 00 69 00 6e 00 6f 00 2d 00 6c
[bjnp] 00000030:00 61 00 6e 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000050:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 port 8612
[bjnp] bjnp_poll_scanner: Poll details response:
[bjnp] 00000000:42 4a 4e 50 82 32 00 00 00 03 00 00 00 00 00 34
[bjnp] 00000010:00 00 00 00 00 00 00 06 00 00 00 24 00 00 00 00
[bjnp] 00000020:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000030:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00
[bjnp] bjnp_poll_scanner: Poll details (type 2)
[bjnp] 00000000:42 4a 4e 50 02 32 00 00 00 04 00 00 00 00 00 74
[bjnp] 00000010:00 02 00 00 00 00 00 06 00 62 00 69 00 6e 00 6f
[bjnp] 00000020:00 20 00 20 00 62 00 69 00 6e 00 6f 00 2d 00 6c
[bjnp] 00000030:00 61 00 6e 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000050:00 00 00 00 00 00 00 00 00 00 00 14 00 00 00 00
[bjnp] 00000060:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000070:00 00 00 10 32 30 31 37 30 36 32 32 31 37 34 35
[bjnp] 00000080:35 37 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 port 8612
[bjnp] bjnp_poll_scanner: Poll details response:
[bjnp] 00000000:42 4a 4e 50 82 32 00 00 00 04 00 00 00 00 00 34
[bjnp] 00000010:00 00 00 00 00 00 00 06 00 00 00 24 00 00 00 00
[bjnp] 00000020:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000030:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00
[bjnp] bjnp_set_timeout to 300, but using minimum value 1000
[bjnp] bjnp_read_int(0, bufferptr, 0x40 = 64):
[bjnp] bjnp_poll_scanner: Poll details (type 2)
[bjnp] 00000000:42 4a 4e 50 02 32 00 00 00 05 00 00 00 00 00 74
[bjnp] 00000010:00 02 00 00 00 00 00 06 00 62 00 69 00 6e 00 6f
[bjnp] 00000020:00 20 00 20 00 62 00 69 00 6e 00 6f 00 2d 00 6c
[bjnp] 00000030:00 61 00 6e 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000050:00 00 00 00 00 00 00 00 00 00 00 14 00 00 00 00
[bjnp] 00000060:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000070:00 00 00 10 32 30 31 37 30 36 32 32 31 37 34 35
[bjnp] 00000080:35 39 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 port 8612
[bjnp] bjnp_poll_scanner: Poll details response:
[bjnp] 00000000:42 4a 4e 50 82 32 00 00 00 05 00 00 00 00 00 34
[bjnp] 00000010:00 00 00 00 00 00 00 06 00 00 00 24 00 00 00 00
[bjnp] 00000020:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000030:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00
[bjnp] bjnp_set_timeout to 300, but using minimum value 1000
[bjnp] bjnp_read_int(0, bufferptr, 0x40 = 64):
[bjnp] bjnp_poll_scanner: Poll details (type 2)
[bjnp] 00000000:42 4a 4e 50 02 32 00 00 00 06 00 00 00 00 00 74
[bjnp] 00000010:00 02 00 00 00 00 00 06 00 62 00 69 00 6e 00 6f
[bjnp] 00000020:00 20 00 20 00 62 00 69 00 6e 00 6f 00 2d 00 6c
[bjnp] 00000030:00 61 00 6e 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000050:00 00 00 00 00 00 00 00 00 00 00 14 00 00 00 00
[bjnp] 00000060:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000070:00 00 00 10 32 30 31 37 30 36 32 32 31 37 34 36
[bjnp] 00000080:30 30 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 port 8612
[bjnp] bjnp_poll_scanner: Poll details response:
[bjnp] 00000000:42 4a 4e 50 82 32 00 00 00 06 00 00 00 00 00 34
[bjnp] 00000010:00 00 00 00 00 00 00 06 00 00 00 24 00 00 00 00
[bjnp] 00000020:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000030:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00
[bjnp] sanei_bjnp_activate (0)
[bjnp] bjnp_send_job_details: Job details
[bjnp] 00000000:42 4a 4e 50 02 10 00 00 00 07 00 00 00 00 01 88
[bjnp] 00000010:00 00 00 00 00 00 00 00 00 62 00 69 00 6e 00 6f
[bjnp] 00000020:00 2d 00 6c 00 61 00 6e 00 00 00 00 00 00 00 00
[bjnp] 00000030:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000040:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000050:00 00 00 00 00 00 00 00 00 62 00 69 00 6e 00 6f
[bjnp] 00000060:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000070:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000080:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000090:00 00 00 00 00 00 00 00 00 50 00 72 00 6f 00 63
[bjnp] 000000a0:00 65 00 73 00 73 00 20 00 49 00 44 00 20 00 3d
[bjnp] 000000b0:00 20 00 37 00 33 00 32 00 38 00 00 00 00 00 00
[bjnp] 000000c0:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 000000d0:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 000000e0:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 000000f0:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000100:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000110:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000120:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000130:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000140:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000150:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000160:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000170:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000180:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 00000190:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[bjnp] 000001a0:00 00 00 00 00 00 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.178.10 port 8612
[bjnp] bjnp_send_job_details: Job details response:
[bjnp] 00000000:42 4a 4e 50 82 10 00 00 00 07 00 a0 00 00 00 04
[bjnp] 00000010:00 00 00 00
[bjnp] bjnp_open_tcp: Setting up a TCP socket, dest: 192.168.178.10 port 8612
[bjnp] bjnp_open_tcp: ERROR - Can not connect to scanner: Verbindungsaufbau abgelehnt
[bjnp] sanei_bjnp_deactivate (0)
[bjnp] sanei_bjnp_close(0):
[bjnp] sanei_bjnp_deactivate (0)
bino@bino-lan:~$
Und groups sieht so aus:
bino@bino-lan:~$ groups
bino adm lp cdrom sudo dip plugdev netdev lpadmin scanner saned sambashare adam gemdat
bino@bino-lan:~$