forwarded 422697 [EMAIL PROTECTED]

Mark Longair <[EMAIL PROTECTED]> wrote:

Hi Alessandro,

> I'm using a USB-attached Epson Perfection 1640SU.  It is detected
> by sane-find-scanner, but scanimage -L fails.  (This used to work
> with earlier versions of libsane.)  It appears from strace that
> the epson2 backend is tried first and this opens the scanner,
> performing some operations that cause the USBDEVFS ioctls to
> return EBUSY when the epson backend is tried.
>
> If I remove /etc/sane.d/epson2.conf then scanimage -L detects
> the scanner correctly and it works properly.
>
> You can find a strace of scanimage -L failing to detect the
> scanner here:
>
>    http://longair.net/strace-scanimage-fails.txt

As you can see in the strace output, the epson2 backend does not
release the USB device when exiting (the device is on fd 4, you can
see a close() call for fd 3 but nothing for fd 4); as a result, the
other backends cannot detect the device (epson, here, in this case).

Thanks,

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to