https://bugzilla.novell.com/show_bug.cgi?id=408518
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=408518#c7
--- Comment #7 from Johannes Meixner 2008-09-05 00:43:22 MDT ---
Only for your information
(I am really neither a kernel nor a libusb expert):
I think the interesting error message in the strace is
"scanimage: open of device avision:libusb:003:004 failed:
Invalid argument".
But I have no idea what the "Invalid argument" actually is.
I assume that an libusb call fails but I have no idea
which call fails and why it fails.
Perhaps "dmesg" shows something regarding USB at that time?
Perhaps you get more meaningful messages when you
do the "Trouble-Shooting (Debugging)" as described at
http://en.opensuse.org/SDB:Configuring_Scanners_from_SUSE_LINUX_9.2
i.e. do something like (see man sane-usb):
-----------------------------------------------------------------
export SANE_DEBUG_DLL=4
export SANE_DEBUG_AVISION=7
export SANE_DEBUG_SANEI_USB=128
scanimage -d avision:libusb:xxx:yyy -T && echo OK || echo FAILED
-----------------------------------------------------------------
Some background information:
Usually when a scanner driver for SCSI and USB scanners starts,
it scans the SCSI bus and the USB to find matching scanners.
Because you have a USB scanner, there are the SCSI failures.
To avoid the useless SCSI scan in your case, it should help
to specify only you exact model in your driver's config file,
see "man sane-avision", e.g. have in /etc/sane.d/avision.conf
an active line like
usb 0x03f0 0x0701
Preferably do the above described "Trouble-Shooting (Debugging)"
with such a line in /etc/sane.d/avision.conf to avoid tons
of meaningless messages when the whole SCSI bus and USB
is scanned only to find your scanner.
By the way:
What is in your /etc/sane.d/avision.conf?
My default one has no active line (which usually means
the driver does autoprobing of the SCSI bus and USB).
But I don't have a scanner to test this driver myself.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.