Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > ae419e0b311fe3d7cfbaa514223f68c2 > files > 5

as6edriver-0.4.2-2mdk.i586.rpm

as6edriver  development release 0.2  1/23/2000
revised for development release 0.4  3/7/2000
revised for development release 0.4.1 4/18/2000
revised for development release 0.4.2 10/13/2000

To install the AS6E driver do the following:
 type:

./configure
make
make install  (as root)

Edit the file /etc/as6e.conf if you are not using parport0.  You can get
information about your parallel ports by typing "dmesg" at the command line.
If you have a conventional 2.2.X or 2.4.X kernel which stores parallel port information in the
/proc directory, uncomment the appropriate port (parportX).  If not, uncomment
the numerical port address assigned to the port.  This can be read from
"dmesg" as above.


By default it installs into the /usr/local/bin directory.  If you want it to
install in a different directory, configure it with the --prefix= option (eg.
./configure --prefix=/usr will install it in the /usr/bin directory).  Make
sure it is installed in a directory in your path if you want it to work
with SANE.  It will set the suid root flag so the driver can be used without
being root, so if you are installing this on a server, check the permissions
carefully.

To make it work with SANE you will have to do the following:

1.  Get the SANE version 1.0.3 source code from http://www.mostang.com/sane

2.  Unpack the SANE source into a directory.  Copy the file
	"patch-sane-103-as6e-042" (which is included in the as6edriver package into
	the same directory- NOT into the sane-1.0.3	directory itself.

3.  Patch the SANE source by typing: patch -p0 < patch-sane-as6e-040 .

4.  Read the SANE instructions, compile and install as directed.

5.  Download and install the xsane frontend package. (recommended, but not required)

6.  Link the xsane binary to your GIMP plugins directory.

When using the xsane or xscanimage frontends you should get a device menu
choice which reads as6e:as6edriver.

Some people have experienced problems with SANE and xsane where, even after a
correct install, xsane can find no devices.  This is most often caused by the
file /etc/ld.so.conf, which lists the paths which are available for dynamic
library support.  SANE installs libraries in two directories; a primary
library directory (/usr/local/lib by default) and a subdirectory
(/usr/local/lib/sane by default).  The file /etc/ld.so.conf must contain links
to these directories, with the subdirectory (.../sane) coming after the the
primary directory.

eg.:
/usr/lib
/usr/X11R6/lib (these should already be there, along with a few others)

/usr/local/lib
/usr/local/lib/sane (these are new)

After you edit /etc/ld.so.conf you must run (as the superuser) ldconfig.