Maybe you can share some thoughts so I can help you too :)
Printable View
Hi,
problem with epson2-backend:
Please try the following on a Linux mashine (Ubuntu e.g.)
On the command line type:
and post thge logfile.Code:SANE_DEBUG_NET=10
xsane 2>net.log
Could you also please try to scan a image on Ubuntu with scanimage?Quote:
Network scanning?
Many thanks for the HowTo!
I followed the whole thing and my Epson all-in-one RX520 is now connected to the ASUS WL-500 g Premium.
What is working:
* printing ubuntu Karmic & Jaunty
* printing Windows XP
* sane-find-scanner detects the scanner
* scanimage -L detects the scanner after adding "0x04b8 0x081a" to epson2.conf
I scanned an image (with scanimage) locally on the router and was able to save to the external storage device.
What is not working:
scanning over the network with xsane (Ubuntu and Windows XP)
* I double checked with the instructions in the HowTo
* what am I doing wrong - have missed something
* how to analyse - logs - commands ?
Reply With Quote
I think the problem is related to xsane with epson2-backend because like ram32 told us, scanimage works.
Please also try to scan with scanimage from Windows.
If my suspicion is right, I have to ask the developer of XSane if he has an solution.
Only for testing: Comment the line
and uncomment the lineCode:epson2
in:Code:epson
Restart and try again.Code:/opt/etc/sane.d/dll.conf
Regards
Oliver
Hello carterb :)
I have tryed to do this already, here is the output:
It only seems to be the auth problem, but when I put my login, password and backend in saned.users file on router, and xsane prompts me for login/pw, there is the same segmentation fault...Code:[sanei_debug] Setting debug level of net to 10.
[net] sane_init: authorize = 0x413a70, version_code = 0x7fff8a519aa4
[net] sane_init: SANE net backend version 1.0.14 (AF-indep+IPv6) from sane-backends 1.0.19
[net] sane_init: Client has little endian byte order
[net] sane_init: searching for config file
[net] net_avahi_browse_callback: CACHE_EXHAUSTED
[net] sane_init: trying to add 192.168.1.1
[net] add_device: adding backend 192.168.1.1
[net] add_device: backend 192.168.1.1 added
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: evaluating environment variable SANE_NET_TIMEOUT
[net] sane_init: done
[net] sane_get_devices: local_only = 0
[net] connect_dev: trying to connect to 192.168.1.1
[net] connect_dev: [0] connection succeeded (IPv4)
[net] connect_dev: sanei_w_init
[net] connect_dev: net_init (user=ram32, local version=1.0.3)
[net] connect_dev: freeing init reply (status=Success, remote version=1.0.3)
[net] connect_dev: done
[net] net_avahi_browse_callback: ALL_FOR_NOW
[net] sane_get_devices: got 192.168.1.1:epson2:libusb:002:004
[net] sane_get_devices: finished (1 devices)
[net] sane_open("192.168.1.1:epson2:libusb:002:004")
[net] sane_open: host = 192.168.1.1, device = epson2:libusb:002:004
[net] sane_open: device found in list
[net] sane_open: net_open
[net] sane_open: getting option descriptors
[net] fetch_options: 0x2782510
[net] fetch_options: get_option_descriptors
[net] fetch_options: creating 45 local option descriptors
[net] fetch_options: copying 45 option descriptors
[net] fetch_options: 45 options fetched
[net] sane_open: success
[net] sane_control_option: option 0, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 1
[net] sane_get_option_descriptor: option 2
[net] sane_get_option_descriptor: option 2
[net] sane_control_option: option 2, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 3
[net] sane_get_option_descriptor: option 4
[net] sane_get_option_descriptor: option 5
[net] sane_get_option_descriptor: option 5
[net] sane_control_option: option 5, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 6
[net] sane_get_option_descriptor: option 7
[net] sane_get_option_descriptor: option 8
[net] sane_get_option_descriptor: option 8
[net] sane_control_option: option 8, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 9
[net] sane_get_option_descriptor: option 10
[net] sane_get_option_descriptor: option 10
[net] sane_control_option: option 10, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 11
[net] sane_get_option_descriptor: option 12
[net] sane_get_option_descriptor: option 13
[net] sane_get_option_descriptor: option 14
[net] sane_get_option_descriptor: option 15
[net] sane_get_option_descriptor: option 15
[net] sane_control_option: option 15, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 16
[net] sane_get_option_descriptor: option 17
[net] sane_get_option_descriptor: option 18
[net] sane_get_option_descriptor: option 19
[net] sane_get_option_descriptor: option 19
[net] sane_control_option: option 19, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 20
[net] sane_get_option_descriptor: option 21
[net] sane_get_option_descriptor: option 22
[net] sane_get_option_descriptor: option 23
[net] sane_get_option_descriptor: option 24
[net] sane_get_option_descriptor: option 25
[net] sane_get_option_descriptor: option 26
[net] sane_get_option_descriptor: option 27
[net] sane_get_option_descriptor: option 28
[net] sane_get_option_descriptor: option 29
[net] sane_get_option_descriptor: option 30
[net] sane_get_option_descriptor: option 31
[net] sane_get_option_descriptor: option 32
[net] sane_get_option_descriptor: option 33
[net] sane_get_option_descriptor: option 33
[net] sane_control_option: option 33, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 34
[net] sane_get_option_descriptor: option 34
[net] sane_control_option: option 34, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 35
[net] sane_get_option_descriptor: option 35
[net] sane_control_option: option 35, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 36
[net] sane_get_option_descriptor: option 36
[net] sane_control_option: option 36, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 37
[net] sane_get_option_descriptor: option 38
[net] sane_get_option_descriptor: option 38
[net] sane_control_option: option 38, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 39
[net] sane_get_option_descriptor: option 40
[net] sane_get_option_descriptor: option 41
[net] sane_get_option_descriptor: option 42
[net] sane_get_option_descriptor: option 43
[net] sane_get_option_descriptor: option 44
[net] sane_get_option_descriptor: option 38
[net] sane_get_option_descriptor: option 38
[net] sane_control_option: option 38, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: remote done (Success, info 0)
[net] sane_control_option: done (Success, info 0)
[net] sane_get_option_descriptor: option 2
[net] sane_get_option_descriptor: option 2
[net] sane_control_option: option 2, action 0
[net] sane_control_option: remote control option
[net] sane_control_option: auth required
[net]
I even tried strace xsane, but it didn't give it to me any clues.
Also, with epson backend (not epson2!), the scanning module in my RX640 all-in-one cannot be recognized. It seems that this scanner is not supported by epson backend (it is supported with epkowa backend however, but this backend doesn't included in sane-backends package).
Hi,
no that should not be the problem.
Please try with epson2-debug instead and post the logfile.
I need all these logs with epson2 entry uncommented and epson commented!!!Code:SANE_DEBUG_EPSON2=128
xsane 2>ep2.log
Regards
Oliver
Hi carterb,
here is the log:
P.S. Done :)Code:[sanei_debug] Setting debug level of epson2 to 128.
[epson2] sane_epson2_init: sane-backends 1.0.19
[epson2] sane_epson2_init: reading config file, epson2.conf
[epson2] scsi EPSON
[epson2] usb
[epson2] attach_one_usb: dev =
[epson2] SANE Epson 2 Backend v0.1.16 - 2007-12-30
[epson2] attach: devname = , type = 3
[epson2] attach: opening , type = 3
[epson2] net autodiscovery
[epson2] attach_one_net: dev = autodiscovery
[epson2] SANE Epson 2 Backend v0.1.16 - 2007-12-30
[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
Hi,
oh sorry, it will not work in that way. Please do the following on your routers command line:
Now on your computer start XSane and wait for a minute.Code:killall xintd
SANE_DEBUG_EPSON2=128 saned -d128 2> /tmp/epson2.log
After that, go back to your routers command line and type:
to stop the sane server.Code:Ctrl + c
Post the log file. Please attach it to your post, don't paste the lines :)
Regards
Oliver
I can not wait, because it gives me segmentation fault :)Quote:
Now on your computer start XSane and wait for a minute.
Hi,
how did you install XSane on your Ubuntu?
What version do you use.
Regards
Oliver
It was installed by default, version 0.996.
Hi at all,
NEWS about sane-backends:
Since I am official Maintainer of the sane-backends optware package, you should use the optware package of sane-backends now.
I will update the package with every revision.
The HowTo is updated for use with the optware package :)
For all people who have my old version installed (zip-File from rapidshare), please uninstall this version and install the one from the optware-server.
The old version will not get supported by me anymore:
Just do a:
And install the optware-package like its explained in the How-To.Code:ipkg remove sane-backends
ipkg remove sane-backends-wl500
Regards
Oliver
Hi,
@ram32: At this moment I have no idea what could be the reason for the problem with epson2. I have asked the developer of XSane and also the sane-devil-mailinglist. I will post as soon as I get answer.
Regards
Oliver
Hi,
@ram32: Please update to the optware-version of sane-backends and try again.
Regards
Oliver
Hmm, strange. I removed previous sane-backends installation, installed it from optware, configured it, and now I've got:
Code:[admin@WL-001FC642402C root]$ sane-find-scanner
sane-find-scanner: can't load library 'libieee1284.so.3'
[admin@WL-001FC642402C root]$ scanimage -L
scanimage: can't load library 'libieee1284.so.3'
Hi,
will help!Code:ipkg install libieee1284
I updatet the How-To, Thanks for this information :)
Regards
Oliver
Wow! It works! :cool: :cool: :cool:
Great thanks to you, craterb!
But what was wrong with previous version of sane-backends ipkg?