[sane-devel] Frustrated with making saned work

m. allan noah kitno455 at gmail.com
Sat Apr 21 23:55:38 UTC 2007


random thoughts from someone who does not use saned much...

1. does it work with an unmodified version of the backend?
2. does it work with scanimage instead of xsane over saned?

allan

On 4/21/07, Mac Cody <maccody at tx.rr.com> wrote:
> Hello,
>
> I am trying to get saned working with my scanner (a UMAX 2100U).
> I am using SANE backends 1.0.18, SANE fronends 1.0.14, and xsane
> 0.994.  The backend I am using is a modified version of the
> umax1220u, which I call psc_umax2100u.  It is essentially the same
> backend with all of the non-2100U support stripped out.  The driver
> works without problem directly with scanimage and xsane.  When I
> try to use the backend through saned, I encounter authentication
> problems.
>
> I have read throughly the SANE Network Daemon at
> http://penguin-breeder.org/sane/saned/, the saned manpage, and the
> sane-net manpage without a resolution of the problem.
>
> I set up the file saned.conf as follows
>
>    192.168.0.20
>    192.168.0.2
>    192.168.0.1
>
> I set up the file saned.users as follows:
>
>    xyzzy:fubar:psc_umax2100u
>
> When I start xsane, the first dialog window that is displayed shows:
>
>   Authorization required for net:192.168.0.41:psc_umax2100u
>
>   Password transmission is secure
>
> I type in the user name "xyzzy" and the password "fubar", which are
> accepted.  The xsane windows are then displayed.  When the "Scan" or
> "Preview" buttons are pressed, a second dialog window is displayed:
>
>   Authorization required for net:192.168.0.41:sane_start(handle=%p)
>
>   Backend requests plain-text password
>
> It doesn't matter what I type in for the user name and password, as
> nothing appears to be accepted.  After one or two tries, xsane aborts
> with the message
>
>    *** glibc detected *** free(): invalid pointer: 0x4001a7e6 ***
>
> I tried setting up a psc_umax2100u.users file, following the same
> format as saned.users, but that didn't work.  Probably not a valid
> file anyway.
>
> I don't know what else to do.  It seems like I'm very close, but I'm
> missing something.  Thanks in advance for your help!
>
> Mac
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
>


-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list