hi, it seems like the latest release and cvs don't
have this net problem. also, i don't need to have the exact
same setup at all in the remote and local machines.
thanks!
-c
--- Carlos Puchol <cpg@rocketmail.com> wrote:
> hi, i am totally puzzled.
>
> i have a redhat 6.2 box with an hp officejet g55 scanner attached.
> all working just fine. here is some evidence:
>
> $ scanimage -L
> device `hp:mlc:mlcpp0' is a Hewlett-Packard MODELx flatbed scanner
> device `net:localhost:hp:mlc:mlcpp0' is a Hewlett-Packard MODELx flatbed
> scanner
> $
>
> sane is sane-devel-20000802.tar.gz wrapped in a
> sane-1.0.3_0802-4 rpm, with the hpoj patches. all cool.
>
> now, another machine, say machine "c", not identical ("fresher" install of
> redhat 6.2, but with 2.2.17 instead of 2.2.16-3), but very similar for
> most practical purposes, with the same exact version of sane installed
> (recompiled afresh in the "c" machine):
>
> $ scanimage -L
> $
>
> ok ... there most be some config problem, no?
> i tried changing all the config files and such ...
> nothing i did could change any of this.
>
> the puzzling thing is that it just does NOT seem to read the
> config files, just the v4l.conf one! why??
>
>
> $ strace scanimage -L 2>&1 | grep open
> open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY) = 3
> open("/opt/hpoj-0.6/lib/libptal.so.0", O_RDONLY) = 3
> open("/usr/lib/sane/libsane.so.1", O_RDONLY) = 3
> open("/lib/libdl.so.2", O_RDONLY) = 3
> open("/lib/libnsl.so.1", O_RDONLY) = 3
> open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
> open("/lib/libm.so.6", O_RDONLY) = 3
> open("/lib/libc.so.6", O_RDONLY) = 3
> open("/usr/lib/libsnmp.so.0", O_RDONLY) = 3
> open("./v4l.conf", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/etc/sane.d/v4l.conf", O_RDONLY) = 3
> $
>
> i have tried to look at the source code a bit, but it doesn't
> jump at me. i looked at permissions, etc. nothing...
>
> # ll -a /etc/sane.d/
> total 11
> drwxr-xr-x 2 root root 1024 Oct 28 00:55 .
> drwxr-xr-x 37 root root 3072 Oct 28 00:55 ..
> -rw-r--r-- 1 root root 854 Oct 28 00:55 dc210.conf
> -rw-r--r-- 1 root root 75 Oct 27 17:50 dll.conf
> -rw-r--r-- 1 root root 31 Oct 27 17:50 hp.conf
> -rw-r--r-- 1 root root 312 Oct 27 17:51 net.conf
> -rw-r--r-- 1 root root 391 Oct 28 00:55 qcam.conf
> -rw-r--r-- 1 root root 625 Oct 28 00:55 saned.conf
> -rw-r--r-- 1 root root 0 Oct 27 17:55 v4l.conf
> #
>
> # printenv | grep -i sane
> SANE_NET_HOSTS=scanner.mydomain.com
> # tail -1 net.conf
> scanner.mydomain.com
> # cat dll.conf
> # enable the next line if you want to allow access through the network:
> net
> hp
> #
>
> any ideas what is wrong?
> i have a hunch it is something totally stupid ...
>
> yours puzzled,
>
> -carlos
>
> =====
> C. Puchol <cpg@rocketmail.com>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger - Talk while you surf! It's FREE.
> http://im.yahoo.com/
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
=====
C. Puchol <cpg@rocketmail.com>
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
-- 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 : Sat Oct 28 2000 - 03:03:41 PDT