Page 5 of 5 FirstFirst ... 345
Results 61 to 75 of 195

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Help needed for Brother MFC-7340

    Hi all

    I had difficulties in figuring out how to make the scanner work over the network.

    Router: ASUS RT-N16
    Firmware: Tomato v1.28.9054 MIPSR2-beta K26 USB Ext
    I installed all the packages mentioned in the thread but with no luck to get the scanner working

    sane-find-scanner could find the scanner
    found USB scanner (vendor=0x04f9, product=0x01e7) at libusb:001:003

    but scanimage -L could not identify the scanner:
    No scanners were identified. If you were expecting something different,
    check that the scanner is plugged in, turned on and detected by the
    sane-find-scanner tool (if appropriate). Please read the documentation
    which came with this software (README, FAQ, manpages).

    I found the drivers at brother website but they are in .deb and .rpm format and could not be installed

    Any suggestions will be appreciated. Thank you!

  2. #2

    Brother DCP-7010

    Does anyone know if there is a solution for my Brother DCP-7010 Multi Printer/Scanner?

    sane-find-scanner returns the device but scanimage -L show up the default error/no device found message.

    For sane-backends/i386 the brother2 shoud work external, but I do not understand how they mean that.. see
    http://www.sane-project.org/lists/sa...tml#S-BROTHER2

    Maybe I can use the Linux drivers from:
    http://welcome.solutions.brother.com.../en/index.html ?

    I would be very happy if somebody know a solution...

    Regards

    FordPerfect

  3. #3
    Hi all.

    I have a problem with DIR-320 (Oleg's FW), Sane and MP540.

    My English is bad and i can's tell you long story about usb-hub, flash-card formatting and other =)

    So, after night of linux-adventures, i have:

    sane-find-scanner : found USB scanner... (bla-bla-bla, all ok).
    scanimage -L : device (bla-bla-bla) is a PIXMA MP540 multi-functional... (all good too).

    But when i try:

    scanimage -T
    or
    scanimage --format=tiff > /opt/backup/test.tiff

    My scanner do nothing. He write "Scanning in process" on the display, but it's not work. In terminal i have:

    Code:
    [admin@(none) root]$ scanimage -T
    scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
    scanimage: acquiring RGB frame, 8 bits/sample
    scanimage: reading one scanline, 1914 bytes...
    And nothing write when just scanimage --format=tiff > /opt/backup/test.tiff.

    It is necessary to tell, that test.tiff is creating in folder, but have 0Kb size.

    Somebody solve this problem?

  4. #4

    Thumbs down SANE + HPLIP + Tomato + F300 hangs with large scan areas

    SANE + HPLIP 3.11.3a-1 + Tomato v1.28.8754 ND USB Std + Hp Deskjet F380 (F300 series) only works with small scan areas.

    The problem is also related to DPIs, but I can't manage to get one full page with 75 DPI, which is the lowest possible.

    If i get a small area (around 1/4 of the full glass) it will scan at some times, if i increase the DPI, it won't scan. I will get an Error during device I/O, even if I try to scan directly from scanimage.

    I would like to have the scanner function of my AiO printer working, at least to scan the full glass in low resolutions (<=150).

    I can't load previews as well.

    I thought it could be a memory problem, since it does scan small areas, but it is not, in fact, the memory usage doesn't increase much during the scan, I even created a 128MB swap partition in my flash drive (was afraid of doing so, since it would wear it quickly, will probably remove now), but it didn't change anything, it still doesn't scan with more than 55% of the router's memory (16MB) free and more than 97% of the swap memory free.

    I would also like to know where else should I look for a solution to this issue, already googled for hours and hours... Maybe someone could recommend me another forum or place to ask for help.

    Thanks all in advance for your effort in helping me out,

    Igor Campos

    Here are my configuration files:

    /opt/etc/sane.d/dll.conf
    Code:
    hpaio
    /opt/etc/sane.d/saned.conf
    Code:
    192.168.0.0/24
    /opt/etc/xinetd.d/saned
    Code:
    service saned
    {
            port = 6566
            socket_type = stream
            server = /opt/sbin/saned
            protocol = tcp
            user = root
            group = root
            wait = no
            disable = no
    }
    /opt/etc/xinetd.conf
    Code:
    # Copyright 1999-2004 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    # Sample configuration file for xinetd
    
    defaults
    {
            only_from      = localhost 192.168.0.0/24
            instances      = 60
            log_type       = FILE /opt/var/xinetd.log
            log_on_success = HOST PID
            log_on_failure = HOST
            cps            = 25 30
    }
    
    includedir /opt/etc/xinetd.d
    Everything is configured properly, I got the dbus and cups installed since both are required for hplip to work properly.

    Here are some other files, that shows what happens:

    sane-find-scanner
    Code:
      # sane-find-scanner will now attempt to detect your scanner. If the
      # result is different from what you expected, first make sure your
      # scanner is powered up and properly connected to your computer.
    
      # No SCSI scanners found. If you expected something different, make sure that
      # you have loaded a kernel SCSI driver for your SCSI adapter.
      # Also you need support for SCSI Generic (sg) in your operating system.
      # If using Linux, try "modprobe sg".
    
    found USB scanner (vendor=0x03f0 [HP], product=0x5511 [Deskjet F300 series]) at libusb:001:006
      # Your USB scanner was (probably) detected. It may or may not be supported by
      # SANE. Try scanimage -L and read the backend's manpage.
    
      # Not checking for parallel port scanners.
    
      # Most Scanners connected to the parallel port or other proprietary ports
      # can't be detected by this program.
    scanimage -L
    Code:
    device `hpaio:/usb/Deskjet_F300_series?serial=CN6BSGK1M104KH' is a Hewlett-Packard Deskjet_F300_series all-in-one
    hp-probe
    Code:
    root@white:/opt/bin# ./hp-probe -busb
    warning: python-dbus not installed.
    warning: hp-probe should not be run as root/superuser.
    
    HP Linux Imaging and Printing System (ver. 0.0.0)
    Printer Discovery Utility ver. 4.1
    
    Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
    This software comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to distribute it
    under certain conditions. See COPYING file for more details.
    
    
    --------------------
    | DEVICE DISCOVERY |
    --------------------
                                                                                                                                                                                                                                                 Device URI                                         Model
      -------------------------------------------------  ----------------------
      hp:/usb/Deskjet_F300_series?serial=CN6BSGK1M104KH  HP Deskjet F300 series
    
    Found 1 printer(s) on the 'usb' bus.
    
    
    Done.
    scanimage > test.jpg
    Code:
    scanimage: sane_start: Error during device I/O
    saned -d5
    Code:
    [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: " 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.0.10
    [saned] check_host: remote host is not IN_LOOPBACK nor IN6_LOOPBACK
    [saned] check_host: local hostname: white
    [saned] check_host: local hostname(s) (from DNS): c0a8:2:1862:ff7f::
    [saned] check_host: local hostname(s) (from DNS): c0a8:2:1862:ff7f::
    [saned] check_host: local hostname(s) (from DNS): c0a8:2:1862:ff7f::
    [saned] check_host: local hostname(s) (from DNS): white
    [saned] check_host: local hostname(s) (from DNS): white
    [saned] check_host: local hostname(s) (from DNS): white
    [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: `192.168.0.0/24'
    [saned] check_host: subnet with base IP = 192.168.0.0, CIDR netmask = 24
    [saned] check_host: access granted from IP address 192.168.0.10 (in subnet 192.168.0.0/24)
    [saned] init: access granted
    [saned] init: access granted to darthwissen@192.168.0.10
    [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 `hpaio' 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 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
    [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
    to be continued... (saned -d5 is huge)
    Last edited by darthwissen; 05-05-2011 at 05:05. Reason: missing conf file

  5. #5
    I am so hoping someone can help me here because I sure as heck won't get any help on any of the DD-WRT forums. I have and HP PSC 1610 printer/scanner combo. I have followed all the directions here and even gone with the older version of dbus but to no avail. I am still getting this error. Any help would be appreciated.


    root@DD-WRT:~# scanimage -T
    process 15247: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3046.
    This is normally a bug in some application using the D-Bus library.
    D-Bus not compiled with backtrace support so unable to print a backtrace
    Aborted


    Hoping you can help!

    Joe

  6. #6
    *removed*
    followed this instead for tomato: http://shcherbyna.com/?p=960
    Last edited by bseos; 30-07-2012 at 16:17.

  7. #7
    Hi Madi123,
    I check the content of the sane folders, but where should I put this file - pixma_imageclass.C.new?

    Further research it is because of "usblp"
    Last edited by Bogie67; 08-04-2013 at 14:25.

  8. #8

    SCX-4200 problems

    Hi,

    I have a problem with SCX-4200
    Config:
    ASUS RT-N16
    Firmware: 1.9.2.7-rtn-r4667

    sane version 1.0.22

    Entering sane-find-scanner gives:
    Code:
    [root@Router /]$ sane-find-scanner
    
      # sane-find-scanner will now attempt to detect your scanner. If the
      # result is different from what you expected, first make sure your
      # scanner is powered up and properly connected to your computer.
    
      # No SCSI scanners found. If you expected something different, make sure that
      # you have loaded a kernel SCSI driver for your SCSI adapter.
      # Also you need support for SCSI Generic (sg) in your operating system.
      # If using Linux, try "modprobe sg".
    
    found USB scanner (vendor=0x04e8 [Samsung], product=0x341b [SCX-4200 Series]) at libusb:001:002
      # Your USB scanner was (probably) detected. It may or may not be supported by
      # SANE. Try scanimage -L and read the backend's manpage.
    
      # Not checking for parallel port scanners.
    
      # Most Scanners connected to the parallel port or other proprietary ports
      # can't be detected by this program.
    Entering scanimege -L
    Code:
    [root@Router /]$ scanimage -L
    
    No scanners were identified. If you were expecting something different,
    check that the scanner is plugged in, turned on and detected by the
    sane-find-scanner tool (if appropriate). Please read the documentation
    which came with this software (README, FAQ, manpages).
    nano /opt/etc/sane.d/xerox_mfp.conf :
    Code:
    #Samsung SCX-4200
    usb 0x04e8 0x341b
    in saned.conf
    Code:
    # saned.conf
    # Configuration for the saned daemon
    
    ## Daemon options
    # Port range for the data connection. Choose a range inside [1024 - 65535].
    # Avoid specifying too large a range, for performance reasons.
    #
    # ONLY use this if your saned server is sitting behind a firewall. If your
    # firewall is a Linux machine, we strongly recommend using the
    # Netfilter nf_conntrack_sane connection tracking module instead.
    #
    # data_portrange = 10000 - 10100
    
    
    ## Access list
    # A list of host names, IP addresses or IP subnets (CIDR notation) that
    # are permitted to use local SANE devices. IPv6 addresses must be enclosed
    # in brackets, and should always be specified in their compressed form.
    #
    # The hostname matching is not case-sensitive.
    
    #scan-client.somedomain.firm
    #192.168.0.1
    #192.168.0.1/29
    #[2001:7a8:185e::42:12]
    #[2001:7a8:185e::42:12]/64
    
    192.168.1.0/24 #grant access to scanner from network 192.168.1.x
    
    # NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and
    # /etc/services must also be properly configured to start
    # the saned daemon as documented in saned(8), services(4)
    # and inetd.conf(4) (or xinetd.conf(5)).
    could you help me please?

  9. #9

    Unhappy

    Quote Originally Posted by iGeophysix View Post
    Hi,

    I have a problem with SCX-4200
    Config:
    ASUS RT-N16
    Firmware: 1.9.2.7-rtn-r4667

    sane version 1.0.22
    I have same problem, but I have version 1.0.23.
    I can't find answer

  10. #10
    Join Date
    Dec 2008
    Location
    Netherlands
    Posts
    74
    Hope someone is still out there involved in this project.

    Finally decided to get saned installed on my WL-500gx (Oleg 1.9.2.7-d-r2624) for Canon Pixma MP520.
    Got it installed after a couple of trials, but I can't get the scanner to complete any scans.

    Here's what happens roughly (from my linux console):

    Code:
    user@ubuntu:~$ scanimage -L
    device `net:192.168.1.2:pixma:04A91724_16B31B' is a CANON Canon PIXMA MP520 multi-function peripheral
    That's nice, cause it is the right answer. But when I proceed to test or scan, I get this:

    Code:
    user@ubuntu:~$ scanimage -T
    scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
    scanimage: acquiring RGB frame, 8 bits/sample
    scanimage: reading one scanline, 1914 bytes...	
    
    ... continues forever ...^C
    scanimage: received signal 2
    scanimage: trying to stop scanner
    
    ... also continues forever ...
    Same goes for trying this directly from the router's prompt:

    Code:
    [root@WL500G root]$ scanimage -L
    device `pixma:04A91724_16B31B' is a CANON Canon PIXMA MP520 multi-function peripheral
    Code:
    [root@WL500G root]$ scanimage -T
    scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
    scanimage: acquiring RGB frame, 8 bits/sample
    scanimage: reading one scanline, 1914 bytes...
    
    ... continues forever ...
    I've tried different USB cables but nothing changes. Printing via the same router and USB cable is fine, so I think this is not the issue. Needless to say, I can scan just fine with the same USB cable plugged straight into my laptop/desktop.
    When I try to scan an image using SimpleScan or XSane, I can hear the scanner motor running and the scanner display says "Scanning ..." but that's all, the software just hangs until I power cycle the scanner.

    In case you're wondering, here's what I have installed:
    Code:
    [root@WL500G ipkg]$ ipkg list_installed
    ipkg-opt - 0.99.163-10 - The Itsy Package Manager
    libieee1284 - 0.2.11-1 - libieee1284 is a cross-platform library for parallel port access.
    libjpeg - 6b-3 - collection of jpeg tools
    libtiff - 3.9.5-1 - Tag Image File Format Libraries
    libuclibc++ - 0.2.2-9 - C++ standard library designed for use in embedded systems
    libusb - 0.1.12-2 - Library for interfacing to the USB subsystem.
    ncurses - 5.7-3 - NCurses libraries
    psmisc - 22.13-1 - A set of some small useful utilities that use the proc filesystem.
    sane-backends - 1.0.22-1 - SANE is a universal scanner interface
    uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
    xinetd - 2.3.14-11 - Highly configurable, modular and secure inetd
    zlib - 1.2.5-1 - zlib is a library implementing the 'deflate' compression system.
    Last edited by EdP; 09-05-2014 at 15:06.

Page 5 of 5 FirstFirst ... 345

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
  •