Re: Problem starting saned

From: Henning Meier-Geinitz (hmg-ml@gmx.de)
Date: Sun Nov 12 2000 - 12:12:59 PST

  • Next message: Paul Floyd: "Latest snapscan non-portable"

    Hi,

    On Sun, Nov 12, 2000 at 10:56:26AM -0800, Matthew J. Cole wrote:
    > > * Use a current version of SANE (1.0.3)
    > Unfortunately, the machine is a 486 with very little hard drive space,
    > so having to compile SANE on it is something I'd like to avoid, and
    > there is no pre-compiled binary for 1.0.3.

    I think there were some changes in the net/saned code since 1.0.1 but
    you may look at the ChangeLog of 1.0.3 to verify this.
    You may compile only your backend by removing all but umax and net
    from RELOADABLE_BACKENDS in backends/Makefile. Compiling on a faster
    computer and transfering should also work.

    > > * To look for the source of errors, use saned directly on the command
    > > line (disable it in inetd.conf while testing):
    > > saned -d128
    > > You will get some information in the syslog.
    > How exactly do you access syslog information? I get nothing on the
    > console, and I can't find any log file or anything...

    That depends on your configuration (etc/syslog.conf). Here I can look at
    /var/log/messages or /var/log/daemon. On the console you get the
    messages from the backends (if you set the variables).

    > When I type SANE_DEBUG_UMAX=255 saned -d128, I simply get
    > "SANE_DEBUG_UMAX=255: Command not found."

    Depends on your shell. That's the way it works with bash. Try
    setenv SANE_DEBUG_UMAX=255
    saned -d128

    With bash you could also use
    export SANE_DEBUG_UMAX=255
    saned -d128
    or look in the documentaion of your shell how to set variables.

    > I have made some progress, however. I've found, when I run saned -d128
    > >from the command line, XSane running on the client will see the scanner
    > on the server. I can begin a preview capture, and it seems to work okay
    > at first, but as it nears the completion of the preview scan, saned dies
    > on the server and XSane dies on the client.

    I'm not sure if there were any bugs in umax.c concerning scanning over
    the net in 1.0.1. Maybe Oliver Rauch can answer this.

    Bye,
      Henning

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Sun Nov 12 2000 - 12:03:35 PST