Page 4 of 13 FirstFirst ... 23456 ... LastLast
Results 46 to 60 of 195

Thread: [HowTo] Sane Scanner-Server with XSane Frontend

  1. #46
    Join Date
    Dec 2008
    Location
    Saint-Petersburg
    Posts
    10
    Quote Originally Posted by carterb View Post
    Hi,



    this seems to be a problem with the epson2 backend.
    I'm working on a solution.

    Regards
    Oliver
    Maybe you can share some thoughts so I can help you too

  2. #47
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Hi,

    problem with epson2-backend:

    Please try the following on a Linux mashine (Ubuntu e.g.)
    On the command line type:
    Code:
    SANE_DEBUG_NET=10
    xsane 2>net.log
    and post thge logfile.

    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
    Could you also please try to scan a image on Ubuntu with scanimage?
    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
    Code:
    epson2
    and uncomment the line
    Code:
    epson
    in:
    Code:
    /opt/etc/sane.d/dll.conf
    Restart and try again.

    Regards
    Oliver
    Last edited by carterb; 24-10-2009 at 14:24.
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  3. #48
    Join Date
    Dec 2008
    Location
    Saint-Petersburg
    Posts
    10
    Hello carterb
    I have tryed to do this already, here is the output:
    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]
    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...
    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).

  4. #49
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Hi,

    no that should not be the problem.
    Please try with epson2-debug instead and post the logfile.

    Code:
    SANE_DEBUG_EPSON2=128 
    xsane 2>ep2.log
    I need all these logs with epson2 entry uncommented and epson commented!!!

    Regards
    Oliver
    Last edited by carterb; 17-11-2009 at 13:02.
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  5. #50
    Join Date
    Dec 2008
    Location
    Saint-Petersburg
    Posts
    10
    Hi carterb,
    here is the log:
    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
    P.S. Done

  6. #51
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Hi,

    oh sorry, it will not work in that way. Please do the following on your routers command line:
    Code:
    killall xintd
    SANE_DEBUG_EPSON2=128 saned -d128 2> /tmp/epson2.log
    Now on your computer start XSane and wait for a minute.
    After that, go back to your routers command line and type:
    Code:
    Ctrl + c
    to stop the sane server.

    Post the log file. Please attach it to your post, don't paste the lines

    Regards
    Oliver
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  7. #52
    Join Date
    Dec 2008
    Location
    Saint-Petersburg
    Posts
    10
    Now on your computer start XSane and wait for a minute.
    I can not wait, because it gives me segmentation fault
    Attached Files Attached Files

  8. #53
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Hi,

    how did you install XSane on your Ubuntu?
    What version do you use.

    Regards
    Oliver
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  9. #54
    Join Date
    Dec 2008
    Location
    Saint-Petersburg
    Posts
    10
    It was installed by default, version 0.996.

  10. #55
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    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:
    Code:
    ipkg remove sane-backends
    ipkg remove sane-backends-wl500
    And install the optware-package like its explained in the How-To.


    Regards
    Oliver
    Last edited by carterb; 28-10-2009 at 08:50.
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  11. #56
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    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
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  12. #57
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Hi,

    @ram32: Please update to the optware-version of sane-backends and try again.

    Regards
    Oliver
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  13. #58
    Join Date
    Dec 2008
    Location
    Saint-Petersburg
    Posts
    10
    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'

  14. #59
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Hi,

    Code:
    ipkg install libieee1284
    will help!

    I updatet the How-To, Thanks for this information

    Regards
    Oliver
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  15. #60
    Join Date
    Dec 2008
    Location
    Saint-Petersburg
    Posts
    10
    Wow! It works!
    Great thanks to you, craterb!
    But what was wrong with previous version of sane-backends ipkg?
    Last edited by ram32; 28-10-2009 at 14:41.

Page 4 of 13 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. Replies: 24
    Last Post: 05-05-2015, 07:42
  2. SANE (Scanner server) - Any chance for WL-500g?
    By Dante_ in forum WL-500g Custom Development
    Replies: 107
    Last Post: 31-08-2012, 10:41
  3. [HowTo] Sane Scanner-Server mit XSane Frontend
    By carterb in forum German Discussion - Deutsch (DE)
    Replies: 9
    Last Post: 30-08-2012, 19:01
  4. HowTo install OpenVPN server
    By Tamadite in forum WL-500g/WL-500gx Tutorials
    Replies: 41
    Last Post: 31-05-2012, 20:41
  5. HowTo secure FTP server (SSL/TLS)
    By Tamadite in forum WL-500gP Tutorials
    Replies: 12
    Last Post: 14-10-2008, 19:38

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •