[sane-devel] How to download files for Artec e+48u scanner?

Bjoern Brill brill@fs.math.uni-frankfurt.de
Thu, 11 Dec 2003 16:14:37 +0100 (CET)


Sorry, had to resend this, used a wrong From: address first time.

---------- Forwarded message ----------
Date: Thu, 11 Dec 2003 14:30:39 +0100 (CET)
From: Bjoern Brill <brill@fs.math.uni-frankfurt.de>
To: sane-devel@lists.alioth.debian.org
Subject: Re: [sane-devel] How to download files for Artec e+48u scanner?


On Thu, 11 Dec 2003, cr wrote:

Hello Chris,

> I'm running Debian Woody and have a Artec e+ 48u scanner.   I've read all=
 the
> manuals and got to the point where sane-find-scanner works and returns th=
e
> right vendor/product id's.
>
> The help file sane-artec_eplus48u.5.html says that I need
> the following:
>
> Artec48.usb  off the CD that came with the driver (it doesn't say where t=
o
> put it).   I got that one and put it in   /etc/sane.d/  where the  sane
> *.conf files seem to be.    I have no idea if that's the right place.
>
> Plus I need:
>
> /usr/local/etc/sane.d/artec_eplus48u.conf
> /usr/local/lib/sane/libsane-artec_eplus48u.a
> or
> /usr/local/lib/sane/libsane-artec_eplus48u.so
>
> I don't seem to have any sane subdirectory in /usr/local/lib, nor
> do I have a /usr/local/etc/
> I do have a /etc/sane/d/  where many conf files are (but not the Artec on=
e).
>
> I conclude that Debian Woody probably missed out on the Artec 48u files a=
nd

1. For SANE packages included im most (if not any) distribution,
including Debian, replace /usr/local/etc by /etc and other instances of
/usr/local by /usr . /usr/local is for additional stuff (not from
the distro) installed by you.
By the way, "dpkg --listfiles libsane | less" will show you all files
installed from the libsane (aka sane-backends) Debian package.

2. The backend's home page <http://www.angelfire.com/linux/crapsite/> says
"This backend is included in SANE versions >=3D 1.0.10". The sane
version in Debian woody is 1.0.7 .

> needs an update.   However, following the link from the Sane site
> (www.sane-project.org/source.html) to Debian Woody
> http://people.debian.org/~aurel32/sane.html  seems not to work; following=
 the
> link to the Sid sources at
> http://packages.debian.org/unstable/libs/libsane.html  gets me "packages
> .debian.org is down at the moment"  (yes I know why).
>
people.debian.org is partially dysfunctional for the same reason.
pakages.debian.org is just a spiffy web interface to the debian package
archives. The archives themselves (e.g. ftp.debian.org) are OK and can be
accessed via ftp and http. source packages should be in directory
pool/main/s/sane-backends/ .

> Anyway, I don't really want to download a *huge* package from debian.org =
(if
> and when it ever starts working again) just to get two files.
>
> Can anyone help with the following questions:
>
> Is there anywhere I can download just the e+48u libsane and conf files fr=
om?
> Where (in a Debian system) should those files go?

I doubt that dropping newer .so files into an old installation  would
work. Look at http://www.apt-get.org/ for a newer libsane package
compiled for woody. Adrian Bunk's excellent backports collection should
have one. libsane is about 2 megabyte, so it's not that huge. Maybe you
need a newer libusb package as well, but try with the one you have first.

> Where should the Artec48.usb file off the CD go?
Well, in section CONFIGURATION, the sane-artec_eplus48u man page says

    Every usb section can have additional options

    artecFirmwareFile <path>/Artec48.usb
        The path to the firmware file. This option is required.

so the answer is: wherever you like, but you have to say so in the conf
file. For Debian, I would recommend putting it into /usr/lib/sane .

>
> Regards
>
> Chris
>
Cheers,

Bj=F6rn
--
Bj"orn Brill <brill@fs.math.uni-frankfurt.de>
Frankfurt am Main, Germany