Hi,
take a look at this How-To.
http://wl500g.info/showthread.php?p=160036#post160036
Regards
Oliver
Printable View
Hi,
take a look at this How-To.
http://wl500g.info/showthread.php?p=160036#post160036
Regards
Oliver
Did you ever discover what the problem was? I have the same issue with my canon mx310
here is my saned -d5 log:
I should also state that i am using a usb hub to connect my printer and usb pendrive to the same usb port on my router (linksys e4200)Quote:
Tomato v1.28.9007 MIPSR2_RAF K26 USB VPN-NOCAT
root@E3000:/tmp/home/root# saned -d5
[saned] main: starting debug mode (level 5)
[saned] read_config: searching for config file
[saned] read_config: done reading config
[saned] saned (AF-indep+IPv6) from sane-backends 1.0.22 starting up
[saned] do_bindings: trying to get port for service "sane-port" (getaddrinfo)
[saned] do_bindings: [0] socket () using IPv6
[saned] do_bindings: [0] setsockopt ()
[saned] do_bindings: [0] bind () to port 6566
[saned] do_bindings: [0] listen ()
[saned] do_bindings: [1] socket () using IPv4
[saned] do_bindings: [1] setsockopt ()
[saned] do_bindings: [1] bind () to port 6566
[saned] do_bindings: [1] bind failed: Address already in use
[saned] run_standalone: waiting for control connection
[saned] handle_connection: processing client connection
[saned] check_host: detected an IPv4-mapped address
[saned] check_host: access by remote host: ::ffff:192.168.1.62
[saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK
[saned] check_host: local hostname: E3000
[saned] check_host: local hostname(s) (from DNS): c0a8:101:d841:b97f::
[saned] check_host: local hostname(s) (from DNS): c0a8:101:d841:b97f::
[saned] check_host: local hostname(s) (from DNS): c0a8:101:d841:b97f::
[saned] check_host: local hostname(s) (from DNS): E3000
[saned] check_host: local hostname(s) (from DNS): E3000
[saned] check_host: local hostname(s) (from DNS): E3000
[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: `192.168.1.0/24'
[saned] check_host: subnet with base IP = 192.168.1.0, CIDR netmask = 24
[saned] check_host: access granted from IP address 192.168.1.62 (in subnet 192.168.1.0/24)
[saned] init: access granted
[saned] init: access granted to Bob@::ffff:192.168.1.62
[saned] process_request: waiting for request
[saned] process_request: got request 1
[saned] process_request: waiting for request
[saned] process_request: got request 2
[saned] process_request: access to resource `pixma' granted
[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 7
[saned] start_scan: trying to bind data port 0
[saned] start_scan: using port 29841 for data
[saned] process_request: waiting for data connection
[saned] process_request: access to data port from ::ffff:192.168.1.62
[saned] do_scan: start
[saned] do_scan: processing RPC request on fd 4
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] do_scan: trying to read 8188 bytes from scanner
[saned] do_scan: read 0 bytes from scanner
[saned] do_scan: status = `Error during device I/O'
[saned] do_scan: statuscode `Error during device I/O' was added to buffer
[saned] do_scan: select_fd was closed --> EOF
[saned] do_scan: trying to write 9 bytes to client
[saned] do_scan: wrote 9 bytes to client
[saned] do_scan: done, status=End of file reached
[saned] process_request: waiting for request
[saned] process_request: got request 8
[saned] process_request: waiting for request
[saned] process_request: got request 5
[saned] process_request: waiting for request
...
[saned] process_request: waiting for request
[saned] process_request: got request 6
[saned] process_request: waiting for request
http://i.imgur.com/4L4k3.png
and here is my dmesg log when error occurs:
Quote:
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
PCI: Setting latency timer of device 0000:00:04.1 to 64
ehci_hcd 0000:00:04.1: EHCI Host Controller
ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:04.1: irq 5, io mem 0x18004000
ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
PCI: Setting latency timer of device 0000:00:04.0 to 64
ohci_hcd 0000:00:04.0: OHCI Host Controller
ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:04.0: irq 5, io mem 0x18009000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver usblp
usblp: USB Printer Device Class driver
usb 1-1: new high speed USB device using ehci_hcd and address 2
vlan1: add 33:33:00:00:00:01 mcast address to master interface
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
vlan1: dev_set_allmulti(master, 1)
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
vlan1: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan1 entered promiscuous mode
usb 1-1.1: new high speed USB device using ehci_hcd and address 3
device eth1 entered promiscuous mode
usb 1-1.1: configuration #1 chosen from 1 choice
usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04A9 pid 0x1728
usblp1: USB Bidirectional printer dev 3 if 2 alt 0 proto 2 vid 0x04A9 pid 0x1728
usb 1-1.2: new high speed USB device using ehci_hcd and address 4
Registered led device: 1-1.1
usb 1-1.2: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
Registered led device: 1-1.2
device eth2 entered promiscuous mode
br0: port 3(eth2) entering forwarding state
br0: port 2(eth1) entering forwarding state
br0: port 1(vlan1) entering forwarding state
vlan2: Setting MAC address to c0 c1 c0 1d d5 7c.
vlan2: add 33:33:00:00:00:01 mcast address to master interface
vlan2: add 01:00:5e:00:00:01 mcast address to master interface
scsi 0:0:0:0: Direct-Access SanDisk Cruzer Fit 1.26 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 15633408 512-byte hardware sectors (8004 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
TCP vegas registered
usb 1-1.1: usbfs: interface 1 claimed by usblp while 'saned' sets config #1
usb 1-1.1: usbfs: interface 1 claimed by usblp while 'saned' sets config #1
usb 1-1.1: usbfs: interface 1 claimed by usblp while 'saned' sets config #1
I think I've got the same problem with the above Printer/Scanner.
I finally got my device (WL500GP V2) updated so this is what I get, when starting SANE standalone saned -d28 in the syslog:
seems, that the wl500gp sticks to see the brother dcp 7055 as a printer only and while sane is trying to use it as a scanner, the kernel rejects that ...!Quote:
Aug 31 11:36:05 kernel: usb 1-1.2: usbfs: interface 0 claimed by usblp while 'saned' sets config #1
It would be great to know, how to solve that (BTW: scanimage -L doesn't list the scanner!)
Regards
Zigster