[saned] main: starting debug mode (level 128) [saned] read_config: searching for config file [saned] read_config: done reading config [saned] saned (AF-indep+IPv6) from sane-backends 1.0.20 starting up [saned] do_bindings: trying to get port for service "sane-port" (getaddrinfo) [saned] do_bindings: " sane-port " service unknown on your host; you should add [saned] do_bindings: sane-port 6566/tcp saned # SANE network scanner daemon [saned] do_bindings: to your /etc/services file (or equivalent). Proceeding anyway. [saned] do_bindings: [0] socket () using IPv6 [saned] do_bindings: [0] socket failed: Address family not supported by protocol [saned] do_bindings: [1] socket () using IPv4 [saned] do_bindings: [1] setsockopt () [saned] do_bindings: [1] bind () to port 6566 [saned] do_bindings: [1] listen () [saned] run_standalone: waiting for control connection [saned] handle_connection: processing client connection [saned] check_host: access by remote host: 192.168.1.2 [saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK [saned] check_host: local hostname: WL-001FC642402C [saned] check_host: local hostname(s) (from DNS): c0a8:101:1062:ff7f:: [saned] check_host: local hostname(s) (from DNS): c0a8:101:1062:ff7f:: [saned] check_host: local hostname(s) (from DNS): c0a8:101:1062:ff7f:: [saned] check_host: local hostname(s) (from DNS): WL-001FC642402C [saned] check_host: local hostname(s) (from DNS): WL-001FC642402C [saned] check_host: local hostname(s) (from DNS): WL-001FC642402C [saned] check_host: remote host doesn't have same addr as local [saned] check_host: opening config file: /etc/hosts.equiv [saned] check_host: can't open config file: /etc/hosts.equiv (No such file or directory) [saned] check_host: opening config file: saned.conf [saned] check_host: config file line: `# saned.conf' [saned] check_host: config file line: `# Configuration for the saned daemon' [saned] check_host: config file line: `' [saned] check_host: config file line: `## Daemon options' [saned] check_host: config file line: `# Port range for the data connection. Choose a range inside [1024 - 65535].' [saned] check_host: config file line: `# Avoid specifying too large a range, for performance reasons.' [saned] check_host: config file line: `#' [saned] check_host: config file line: `# ONLY use this if your saned server is sitting behind a firewall. If your' [saned] check_host: config file line: `# firewall is a Linux machine, we strongly recommend using the' [saned] check_host: config file line: `# Netfilter nf_conntrack_sane connection tracking module instead.' [saned] check_host: config file line: `#' [saned] check_host: config file line: `# data_portrange = 10000 - 10100' [saned] check_host: config file line: `' [saned] check_host: config file line: `' [saned] check_host: config file line: `## Access list' [saned] check_host: config file line: `# A list of host names, IP addresses or IP subnets (CIDR notation) that' [saned] check_host: config file line: `# are permitted to use local SANE devices. IPv6 addresses must be enclosed' [saned] check_host: config file line: `# in brackets, and should always be specified in their compressed form.' [saned] check_host: config file line: `#' [saned] check_host: config file line: `# The hostname matching is not case-sensitive.' [saned] check_host: config file line: `' [saned] check_host: config file line: `#scan-client.somedomain.firm' [saned] check_host: config file line: `#192.168.0.1' [saned] check_host: config file line: `#192.168.0.1/29' [saned] check_host: config file line: `#[2001:7a8:185e::42:12]' [saned] check_host: config file line: `#[2001:7a8:185e::42:12]/64' [saned] check_host: config file line: `' [saned] check_host: config file line: `# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and' [saned] check_host: config file line: `# /etc/services must also be properly configured to start' [saned] check_host: config file line: `# the saned daemon as documented in saned(8), services(4)' [saned] check_host: config file line: `# and inetd.conf(4) (or xinetd.conf(5)).' [saned] check_host: config file line: `' [saned] check_host: config file line: `192.168.1.0/24 #grant access to scanner from network 192.168.1.x' [saned] check_host: subnet with base IP = 192.168.1.0, CIDR netmask = 24 #grant access to scanner from network 192.168.1.x [saned] check_host: access granted from IP address 192.168.1.2 (in subnet 192.168.1.0/24 #grant access to scanner from network 192.168.1.x) [saned] init: access granted [saned] init: access granted to ram32@192.168.1.2 [saned] process_request: waiting for request [saned] process_request: got request 1 [sanei_debug] Setting debug level of epson2 to 128. [epson2] sane_epson2_init: sane-backends 1.0.20 [epson2] sane_epson2_init: reading config file, epson2.conf [epson2] scsi EPSON [epson2] usb [epson2] attach_one_usb: dev = [epson2] epson2 backend, version 1.0.117 [epson2] attach: devname = , type = 3 [epson2] attach: opening , type = 3 [epson2] usb 0x04b8 0x081c [epson2] attach_one_usb: dev = libusb:002:004 [epson2] epson2 backend, version 1.0.117 [epson2] attach: devname = libusb:002:004, type = 3 [epson2] attach: opening libusb:002:004, type = 3 [epson2] found valid EPSON scanner: 0x4b8/0x81c (vendorID/productID) [epson2] e2_set_model: model is 'generic' [epson2] esci_reset [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC @ [epson2] buf[0] 1b . [epson2] buf[1] 40 @ [epson2] e2_send: cmd count, r = 0, w = 1 [epson2] e2_recv: size = 1, buf = 0x7fff3110 [epson2] e2_recv: cmd count, r = 1, w = 1 [epson2] buf[0] 06 . [epson2] e2_discover_capabilities [epson2] esci_request_identity [epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7fff3184 [epson2] e2_send: size = 2, reply = 0 [epson2] e2_send: ESC I [epson2] buf[0] 1b . [epson2] buf[1] 49 I [epson2] e2_send: cmd count, r = 1, w = 2 [epson2] e2_recv: size = 4, buf = 0x7fff30a4 [epson2] e2_recv: cmd count, r = 2, w = 2 [epson2] buf[0] 02 . [epson2] buf[1] 12 . [epson2] buf[2] 13 . [epson2] buf[3] 00 . [epson2] e2_recv_info_block: payload length: 19 [epson2] e2_recv: size = 19, buf = 0x4229b0 [epson2] e2_recv: cmd count, r = 3, w = 2 [epson2] buf[0] 44 D [epson2] buf[1] 38 8 [epson2] buf[2] 52 R [epson2] buf[3] 64 d [epson2] buf[4] 00 . [epson2] buf[5] 52 R [epson2] buf[6] 90 . [epson2] buf[7] 01 . [epson2] buf[8] 52 R [epson2] buf[9] 40 @ [epson2] buf[10] 06 . [epson2] buf[11] 52 R [epson2] buf[12] 80 . [epson2] buf[13] 0c . [epson2] buf[14] 41 A [epson2] buf[15] 40 @ [epson2] buf[16] 6a j [epson2] buf[17] 40 @ [epson2] buf[18] 92 . [epson2] e2_set_cmd_level: D8 [epson2] e2_add_resolution: add (dpi): 100 [epson2] e2_add_resolution: add (dpi): 400 [epson2] e2_add_resolution: add (dpi): 1600 [epson2] e2_add_resolution: add (dpi): 3200 [epson2] maximum scan area: 27200x37440 [epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.179993 3200 [mm] [epson2] esci_request_status [epson2] e2_send: size = 2, reply = 4 [epson2] e2_send: ESC F [epson2] buf[0] 1b . [epson2] buf[1] 46 F [epson2] e2_send: cmd count, r = 3, w = 3 [epson2] e2_recv: size = 4, buf = 0x7fff30f4 [epson2] e2_recv: cmd count, r = 4, w = 3 [epson2] buf[0] 02 . [epson2] buf[1] 12 . [epson2] buf[2] 00 . [epson2] buf[3] 00 . [epson2] status: 12 [epson2] ready [epson2] option equipment is installed [epson2] support extended commands [epson2] esci_request_identity2 [epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7fff3184 [epson2] e2_send: size = 2, reply = 0 [epson2] e2_send: ESC i [epson2] buf[0] 1b . [epson2] buf[1] 69 i [epson2] e2_send: cmd count, r = 4, w = 4 [epson2] e2_recv: size = 4, buf = 0x7fff30a4 [epson2] e2_recv: cmd count, r = 5, w = 4 [epson2] buf[0] 02 . [epson2] buf[1] 12 . [epson2] buf[2] 3c < [epson2] buf[3] 00 . [epson2] e2_recv_info_block: payload length: 60 [epson2] e2_recv: size = 60, buf = 0x422c60 [epson2] e2_recv: cmd count, r = 6, w = 4 [epson2] buf[0] 80 . [epson2] buf[1] 0c . [epson2] buf[2] d5 . [epson2] buf[3] 00 . [epson2] buf[4] 00 . [epson2] buf[5] 00 . [epson2] buf[6] 00 . [epson2] buf[7] 00 . [epson2] buf[8] 00 . [epson2] buf[9] 00 . [epson2] buf[10] 00 . [epson2] buf[11] 00 . [epson2] buf[12] 00 . [epson2] buf[13] 00 . [epson2] buf[14] 64 d [epson2] buf[15] 00 . [epson2] buf[16] c8 . [epson2] buf[17] 00 . [epson2] buf[18] 2c , [epson2] buf[19] 01 . [epson2] buf[20] 90 . [epson2] buf[21] 01 . [epson2] buf[22] 58 X [epson2] buf[23] 02 . [epson2] buf[24] 20 [epson2] buf[25] 03 . [epson2] buf[26] b0 . [epson2] buf[27] 04 . [epson2] buf[28] 40 @ [epson2] buf[29] 06 . [epson2] buf[30] 80 . [epson2] buf[31] 0c . [epson2] buf[32] 00 . [epson2] buf[33] 00 . [epson2] buf[34] 64 d [epson2] buf[35] 00 . [epson2] buf[36] c8 . [epson2] buf[37] 00 . [epson2] buf[38] 2c , [epson2] buf[39] 01 . [epson2] buf[40] 90 . [epson2] buf[41] 01 . [epson2] buf[42] 58 X [epson2] buf[43] 02 . [epson2] buf[44] 20 [epson2] buf[45] 03 . [epson2] buf[46] b0 . [epson2] buf[47] 04 . [epson2] buf[48] 40 @ [epson2] buf[49] 06 . [epson2] buf[50] 60 ` [epson2] buf[51] 09 . [epson2] buf[52] 80 . [epson2] buf[53] 0c . [epson2] buf[54] c0 . [epson2] buf[55] 12 . [epson2] buf[56] 00 . [epson2] buf[57] 19 . [epson2] buf[58] 00 . [epson2] buf[59] 00 . [epson2] discovering max depth, NAKs are expected [epson2] e2_esc_cmd: cmd = 0x44, val = 16 [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC D [epson2] buf[0] 1b . [epson2] buf[1] 44 D [epson2] e2_send: cmd count, r = 6, w = 5 [epson2] e2_recv: size = 1, buf = 0x7fff30f8 [epson2] e2_recv: cmd count, r = 7, w = 5 [epson2] buf[0] 06 . [epson2] e2_cmd_simple: size = 1 [epson2] e2_send: size = 1, reply = 1 [epson2] buf[0] 10 . [epson2] e2_send: cmd count, r = 7, w = 6 [epson2] e2_recv: size = 1, buf = 0x7fff30f8 [epson2] e2_recv: cmd count, r = 8, w = 6 [epson2] buf[0] 06 . [epson2] e2_esc_cmd: cmd = 0x44, val = 14 [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC D [epson2] buf[0] 1b . [epson2] buf[1] 44 D [epson2] e2_send: cmd count, r = 8, w = 7 [epson2] e2_recv: size = 1, buf = 0x7fff30f8 [epson2] e2_recv: cmd count, r = 9, w = 7 [epson2] buf[0] 06 . [epson2] e2_cmd_simple: size = 1 [epson2] e2_send: size = 1, reply = 1 [epson2] buf[0] 0e . [epson2] e2_send: cmd count, r = 9, w = 8 [epson2] e2_recv: size = 1, buf = 0x7fff30f8 [epson2] e2_recv: cmd count, r = 10, w = 8 [epson2] buf[0] 15 . [epson2] e2_cmd_simple: NAK [epson2] e2_esc_cmd: cmd = 0x44, val = 12 [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC D [epson2] buf[0] 1b . [epson2] buf[1] 44 D [epson2] e2_send: cmd count, r = 10, w = 9 [epson2] e2_recv: size = 1, buf = 0x7fff30f8 [epson2] e2_recv: cmd count, r = 11, w = 9 [epson2] buf[0] 06 . [epson2] e2_cmd_simple: size = 1 [epson2] e2_send: size = 1, reply = 1 [epson2] buf[0] 0c . [epson2] e2_send: cmd count, r = 11, w = 10 [epson2] e2_recv: size = 1, buf = 0x7fff30f8 [epson2] e2_recv: cmd count, r = 12, w = 10 [epson2] buf[0] 15 . [epson2] e2_cmd_simple: NAK [epson2] maximum supported color depth: 16 [epson2] esci_request_focus_position [epson2] setting focus is not supported [epson2] esci_request_scanner_status [epson2] e2_send: size = 2, reply = 16 [epson2] e2_send: FS F [epson2] buf[0] 1c . [epson2] buf[1] 46 F [epson2] e2_send: cmd count, r = 12, w = 11 [epson2] e2_recv: size = 16, buf = 0x7fff318d [epson2] e2_recv: cmd count, r = 13, w = 11 [epson2] buf[0] 01 . [epson2] buf[1] 00 . [epson2] buf[2] 80 . [epson2] buf[3] c0 . [epson2] buf[4] 00 . [epson2] buf[5] 00 . [epson2] buf[6] 00 . [epson2] buf[7] 00 . [epson2] buf[8] 00 . [epson2] buf[9] 00 . [epson2] buf[10] 00 . [epson2] buf[11] 00 . [epson2] buf[12] 00 . [epson2] buf[13] 00 . [epson2] buf[14] 00 . [epson2] buf[15] 00 . [epson2] global status : 0x01 [epson2] adf status : 0x00 [epson2] not installed [epson2] not enabled [epson2] tpu status : 0x80 [epson2] installed [epson2] not enabled [epson2] device type : 0xc0 [epson2] main body status: 0x00 [epson2] esci_reset [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC @ [epson2] buf[0] 1b . [epson2] buf[1] 40 @ [epson2] e2_send: cmd count, r = 13, w = 12 [epson2] e2_recv: size = 1, buf = 0x7fff3110 [epson2] e2_recv: cmd count, r = 14, w = 12 [epson2] buf[0] 06 . [epson2] scanner model: generic [epson2] close_scanner: fd = 0 [epson2] net autodiscovery [epson2] attach_one_net: dev = autodiscovery [epson2] epson2 backend, version 1.0.117 [epson2] attach: devname = autodiscovery, type = 4 [epson2] attach: opening autodiscovery, type = 4 [epson2] e2_network_discovery, sent discovery packet [epson2] e2_network_discovery, end [epson2] close_scanner: fd = -1 [epson2] sane_epson2_get_devices [epson2] 0: generic [saned] process_request: waiting for request [saned] process_request: got request 2 [saned] process_request: access to resource `epson2' granted [epson2] sane_epson2_open: name = libusb:002:004 [epson2] init_options [epson2] open_scanner [epson2] esci_reset [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC @ [epson2] buf[0] 1b . [epson2] buf[1] 40 @ [epson2] e2_send: cmd count, r = 14, w = 13 [epson2] e2_recv: size = 1, buf = 0x7fff4288 [epson2] e2_recv: cmd count, r = 15, w = 13 [epson2] buf[0] 06 . [saned] process_request: sane_open returned: Success [saned] process_request: waiting for request [saned] process_request: got request 4 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 Segmentation fault