[sane-devel] Plustec 19200S problem

Robert Jaworski RmanX at gmx.de
Sat Feb 2 17:36:20 GMT 2002


Hello Henning and others,

now it is working. What I did?
Before I have installed the rpms RedHat, I have tried the original and the
fresh beta.
Now I have compiled the sources. It compiled and run without any problem. So
maybe I am too stupid to install rpm or the rpms are broken.

thanks for your support.

Robert

PS: scanimage -L gave me no output even with SANE_DEBUG_ARTEC=255, this is
why I did not post the output. During scanning I can hardly access my pc, is
this normal? I'll try some different configuration.


> Hi,
> 
> On Sat, Feb 02, 2002 at 02:47:45PM +0100, Robert Jaworski wrote:
> > I have fo nd one stupid thing I forgot. The path to /usr/lib/sane was 
> > not set.
> 
> ? Ususally you don't need to set a path for libraries. Sometimes it's
> necessary to set LD_LIBRARY_PATH or edit /etc/ld.so.conf for libaries
> in /usr/local/lib, but not in /usr/lib.
> 
> If you really set the variable or file to "/usr/lib/sane/" that's
> wrong. It won't work. Just set it to "/usr/lib", but this shouldn't be
> necessary as this is the default.
> 
> > execve("/usr/bin/scanimage", ["scanimage", "-d",  "artec:/dev/scanner"],
> [/* 29 vars */]) = 0
> [...]
> 
> > open("/usr/lib/sane/i686/mmx/libsane.so.1", O_RDONLY) = -1 
> > ENOENT (No such file or directory)
> 
> The linker shouldn't search /usr/lib/sane/ at all.
> 
> > open("/usr/lib/sane/libsane.so.1", O_RDONLY) = 3
> 
> That's the wrong library. Looks like this is a link to libsane-v4l.so.
> It should find /usr/lib/libsane.so.1, which is libsane-dll.so in
> reality.
> 
> [...]
> > open("/etc/sane.d/v4l.conf", O_RDONLY)  = 3
> 
> The v4l (Video for Linux) backend opens its config file...
> 
> > open("/dev/bttv0", O_RDWR)              = -1 ENOENT (No such file or 
> directory)
> > open("/dev/video0", O_RDWR)             = -1 EBUSY (Device or  resource
> busy)
> [...]
> 
> and tries to open some video devices...
> 
> > open("artec:/dev/scanner", O_RDWR)      = -1 ENOENT (No such file or
> directory)
> 
> Now it tries to open the file that was given on the command line. It
> will fail, because of the artec:.
> 
> > Can you please tell my why /dev/bttv and /dev/video is beeing 
> > opened?
> 
> That's because your frontend only loads the v4l backend. No other
> backends are loaded. I don't know whi there is a lbsane.so in
> /usr/lib/sane/ in the first place. But your real problem is, that you
> put /usr/lib/sane in ld.so.conf or LD_LIBRARY_PATH.
> 
> Please remove it and try again to get the log file I wrote about in my
> previous mail.
> 
> bye,
>   Henning
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
> 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




More information about the sane-devel mailing list