[sane-devel] Two USB attached scanners

Karl Heinz Kremer khk at khk.net
Tue Apr 23 15:30:42 BST 2002


The SuSE Yast2 program probably stops to look for other scanners once
it finds one. You can however configure Sane manually by editing the 
files in /etc/sane.d. I don't know how the Nikon scanner is configured,
but for the EPSON backend you edit the file /etc/sane.d/epson.conf and
add one or two lines (I only have the beta version of SuSE 8.0 and 
I don't have it here, so I don't know what the file looks like after
the installation). 

You should first try to get both scanners working alone, so that you 
know that any problems you encounter later are caused by your new
configuration and not by the scanners or the Sane version.

You could do this with Yast2: Just turn off one scanner (or disconnect it)
at a time and re-run the scanner part of Yast2. Do one scan with each
scanner to verify that it's working. 

The problem is that depending on which scanner(s) are turned on and how
(that is in which order) they are connected to the USB bus, they will
either use the device /dev/usb/scanner0 or /dev/usb/scanner1 (that at least
is true for the EPSON scanner). THe default behavior is that only one (the
first one) device file is checked. For the EPSON backend you just add these
lines to the file epson.conf:
usb /dev/usb/scanner0
usb /dev/usb/scanner1

(The first line or a line very similar to it may already be in the file,
you don't have to add it a second time. If the path specified in the file
is e.g./dev/usbscanner0, then just use /dev/usbscanner1 for the second
path). 

Now you should be able to use the EPSON backend with your EPSON scanner.
ALl you have to do now is figure out how the Nikon scanner has to be
configured, but it will probably follow a similar pattern.

Karl Heinz



Andy H Anderson1 <andyh_anderson at uk.ibm.com> said:

> 
> Hi
>       I have an Epson 1240u and a Nikon Coolscan LS-40 both attached to my
> machine via USB.
> I have just received SuSE 8.0 and was happily installing it last night.
> It keeps telling me I can only have ONE scanner attached via SANE and toi
> choose which one to install.
> Surely this cannot be true!
> How should I setup my system to support both scanners?
> Alright, I promise not to USE both at the same time.
> 
> Thanks
> 
> Andy H Anderson,  Newcastle UK
> andyh_anderson at uk.ibm.com
> 
> 
> _______________________________________________
> Sane-devel mailing list
> Sane-devel at www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
> 



-- 






More information about the sane-devel mailing list