SuSE GmbH

SuSE Support Database

Title: Agfa Snapscan Scanner

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Agfa Snapscan Scanner

Applies to

SuSE Linux: Versions since 5.3

Optimal SCSI-Scanner Configuration

The SCSI Module of the Agfa Snapscan Scanner Series is easy to use under Linux. The Packages SANE (Scanner Access Now Easy) and eventually the GIMP from the series GRA (Graphics) are neccesary.

The different models are supported from the following SANE Versions:

You can find an update to SANE 1.0.1 for SuSE Linux 6.2 under:

or from a Mirror-Server...a listing of mirrors can be found at:

The Scan-program "xscanimage" can be used directly from The GIMP. This makes scanning much more comfortable. More information on SANE and GIMP can be found at:

The SCSI Adapter that is delivered with the Scanner can be used as long as it is supported under Linux. In any case, it is safer to use only one SCSI Adapter. If, for instance, you accidently forget to turn your Scanner on and try to use it there is a chance that the hard drive will be addressed instead (which could lead to damage) because the Scannner is always "found" as the last connected device.

Configuring an Adaptec AVA-1505

The AVA1505 that is delivered with the device is supported by module aha152x. "Plug and Play" is best left "disabled" because you can save yourself an isapnp-configuration. You'll need the DOS program 1505CFG.EXE which you can get from Adaptec at:

Use the default I/O Address and Interrupt (IRQ) if possible or you'll need to set up everything by hand in the BIOS. The interrupt in question should be set in the BIOS to Legacy ISA or compatable otherwise the card will not be assigned an interrupt (unless of course you'd like to configure it with Plug and Play).
To load the module simply type the following command:
 insmod aha152x aha152x=0x140,10,7,0 

in which 0x140 is the I/O address and 10 is the interrupt.

You can check is the module is loaded with:

lsmod

or remove it using:

rmmod aha125x

Using a NCR/Symbioslogic-Controller

You can also use a less-expensive PCI Host Adapter.The widely spread NCR/Symbioslogic, for instance, is actually easier to configure because the module can be loaded without any adjustments or Parameters as follows:

insmod ncr53c8xx

Automatic Scanner Initialization

First you need to load the modules automatically at boot; add the insmod command (from above) for your adapter to the end of the file /sbin/init.d/boot.local.

The actual initialization occurs when you add the following line to the file /etc/conf.modules :

 
post-install sg echo "scsi add-single-device 1 0 2 0" >/proc/scsi/scsi
The first number (in this case the "1") is the Adapter-number. The first Adapter is "0"!

The "2" in the above line stands for the SCSI-ID of the Scanner and must be changed accordingly.

Using YaST to configure your Scanner

Assuming you've turned the scanner on and the necessary modules are loaded you should start by checking if the Scanner has been "found" by giving the command "cat /proc/scsi/scsi.

If so, start YaST (you need to be "root" user to do this) Under the memu item System Administration --> / Integrate Hardware into System --> / Configure Scanner you should be able to choose from a list of all the SCSI Devices, /dev/sgX, in your system. In nearly every case this is the highest numbered (last) SCSI Device. In addition to this you'll need to choose the type of the scanner, in this case "Snapscan".

Changing Permissions

In order to access the Scanner you'll need to change permissions for the general SCSI Device as follows:
 chmod 666 /dev/sgX
In which X is the actual device number for your system.

Scanning with the GIMP

If you've never worked with the GIMP before you should start the program now - the configuration will follow in which the directory ~/.gimp or ~/.gimp-1.1 will be created. A sub-directory of this is the "plug-ins" directory in which you should make a link to "xscanimage" by first changing to this directory and then giving the following command
 ln -s /usr/X11R6/bin/xscanimage 

The next time you start GIMP there should be a new menu item, "Aquire Image", under "Xtns". If no new menu item appears and you're using SuSE 6.2 you should update your SANE package to "sane-1.0.1"

Agfa SnapScan 123s

In order to use this Scanner under Linux you'll need "sane-1.0.1", if you have SuSE 6.1 or 6.2 you can download an update from our ftp-server (see above).

If the Scanner doesn't function with the 2.2.10er kernel it is most likely due to the sg-driver. In this case you can download a 2.2.5 kernel from our ftp-server under:
ftp://ftp.suse.com/pub/suse/i386/update/6.2/patches/ - 10kb. Please read the installations isntructions included on this page.

----------

See also:

----------

Keywords: SCANNER, AGFA, SNAPSCAN, 300, 310, 600, 1236S, VUEGO, 310S, SCSI, AVA1505, AHA152X, SANE, XSCANIMAGE, GIMP

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-fb_scanner, Copyright SuSE GmbH, Nuremberg, Germany - Version: 04. Aug 1999
SuSE GmbH - Last generated: 09. Nov 1999 16:06:49 by wimer with sdb_gen 1.00.0