[sane-devel] USB problems - [was"no devices available"]

earther at eartherdesigns.com earther at eartherdesigns.com
Sat Jun 21 00:59:27 UTC 2008


Good news. I have made some progress after upgrading the Hardy udev  
package but still not out of the woods.

lsusb now prints out correctly:

~$ lsusb
Bus 008 Device 001: ID 0000:0000
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 002: ID 03f0:0205 Hewlett-Packard ScanJet 3300c
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 006: ID 04a9:30fd Canon, Inc. PowerShot A610 (normal  
mode)/PowerShot A610 (PTP mode)
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

And Sane now finds the scanner:

~# SANE_DEBUG_NIASH=255 scanimage -L
[sanei_debug] Setting debug level of niash to 255.
[niash] sane_init
[niash] Looking for ScanJet 3300C...
[niash] _AttachUsb: found libusb:006:003
[niash] niash: _ReportDevice 'libusb:006:003'
[niash] Looking for ScanJet 3400C...
[niash] Looking for ScanJet 4300C...
[niash] Looking for HP ScanJet 4300c...
[niash] Looking for Snapscan Touch...
[niash] Looking for Office Scanner USB 19200...
[niash] sane_get_devices
device `niash:libusb:006:003' is a Hewlett-Packard ScanJet 3300C  
flatbed scanner
[niash] sane_exit

However, when launched, Sane spits out this error:

Failed to open device 'niash:libusb:006:002': Device busy.

Any ideas?

FWIW, the camera is having problems too.  Just in case it might be  
helpful, here's the error:

"An error occurred in the io-library ('Could not claim the USB  
device'): Could not claim interface 0 (Operation not permitted). Make  
sure no other program or kernel module (such as sdc2xx, stv680,  
spca50x) is using the device and you have read/write access to the  
device."

Thanks again for your expertise and patience.


Quoting "m. allan noah" <kitno455 at gmail.com>:
>
> xsane is not the problem, but sane probably is. run this at the
> command line as root:
>
> SANE_DEBUG_NIASH=255 scanimage -L
>
> and post the output to this list.
>
> allan
>






More information about the sane-devel mailing list