[sane-devel] SCSI problems with avision backend

Rene Rebe rene.rebe@gmx.net
Fri, 12 Apr 2002 01:59:07 +0200 (CEST)


Hi.

Oops - sorry. I'll comit this into CVS this night.

This might also be in the original Tamarck backend! ...

On: Thu, 11 Apr 2002 19:11:56 +0200,
    Henning Meier-Geinitz <henning@meier-geinitz.de> wrote:
> Hi,
> 
> On Wed, Apr 10, 2002 at 10:01:51PM +0200, Henning Meier-Geinitz wrote:
> > Since the latest update of the avision backend I can't access my
> > Mustek (!) scanner anymore. It took some time to find out that the
> > reason is really the avision backend.
> 
> I think the bug is a missing sanei_scsi_close(fd) in attach() in the
> test:
> 
>   if (!found) {
>   [...]
>   
> If no Avision-Scanner is found, the fd must be closed.
> 
> For some Reason since some versions the Linux kernel blocks access to
> a SCSI device if it's opened O_EXCL. In erlier versions an error value
> was returned. I don't like the current behaviour because that
> effectivle stops me from using two scanners simultanously.
> 
> Bye,
>   Henning

k33p h4ck1n6
  René

--  
René Rebe (Registered Linux user: #248718 <http://counter.li.org>)

eMail:    rene.rebe@gmx.net
          rene@rocklinux.org

Homepage: http://drocklinux.dyndns.org/rene/

Anyone sending unwanted advertising e-mail to this address will be
charged $25 for network traffic and computing time. By extracting my
address from this message or its header, you agree to these terms.