[sane-devel] Sane doesn't create a scanner device

Johannes Meixner jsmeix at suse.de
Thu Oct 27 07:05:02 UTC 2005


Hello,

On Oct 26 18:38 Henning Meier-Geinitz wrote (shortened):
> On Wed, Oct 26, 2005 at 05:14:43PM +0200, dark_mail at gmx.net wrote:
> > [sanei_usb] sanei_usb_open: trying to open device `libusb:001:002'
> > USB error: could not set config 1: Device or resource busy
> > [sanei_usb] sanei_usb_open: libusb complained: could not set config 1:
> > Device or resource busy
> > [sanei_usb] Maybe the kernel scanner driver claims the scanner's interface?
> 
> See bug report #302207:
> https://alioth.debian.org/tracker/index.php?func=detail&aid=302207&group_id=30186&atid=410366

I would like to have you informed about what I found out, see
https://bugzilla.novell.com/show_bug.cgi?id=127524#c17

For some all-in-one devices (like the Epson Stylus Photo RX420)
which have also a cardreader unit included there is additionally
the "usb_storage" kernel module which gets in conflict with SANE.

In particular for me the "ignoring EBUSY from USB" in SANE
didn't work when both "usblp" and "usb_storage" are loaded
but it works when only "usblp" is loaded.
At least for me for printing and scanning "ignoring EBUSY from USB"
is a good workaround but it seems to be not the final solution.

>From my point of view the problem lies somehow deeper in the USB
system (or how the USB system is used) but I am no USB expert
so that I don't know at the moment what exactly causes the conflict
and what a clean solution would be.


Olaf,
regarding Iscan:
The Iscan sources contain sanei/sanei_usb.c and this must also be
changed so that the epkowa backend also "ignores EBUSY from USB", see
http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/sane-backends/sanei/sanei_usb.c.diff?r1=1.42&r2=1.43&cvsroot=sane


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: jsmeix at suse.de
90409 Nuernberg, Germany                    WWW: http://www.suse.de/



More information about the sane-devel mailing list