Hello, I went on debugging this issue and with SANE_DEBUG_SANEI_USB=255 I saw, that scanimage seems also to find my USB scanner HP ScanJet 5300C, but is unable to open the interface:
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0701 [avision] attach: (Version: 1.0 Build: 80) [avision] attach: opening libusb:003:002 [sanei_usb] sanei_usb_open: trying to open device `libusb:003:002' Check that you have permissions to write to 003/002 and, if you don't, that you set up hotplug (http://linux-hotplug.sourceforge.net/) correctly. USB error: could not claim interface 0: Device or resource busy [sanei_usb] sanei_usb_open: libusb complained: could not claim interface 0: Device or resource busy [sanei_usb] Maybe the kernel scanner driver claims the scanner's interface? [avision] attach: open failed (Device busy) I am running SCANIMAGE -L as root, so there should be no permission problem. Any hints how to solve this issue? Thanks and regards, Thomas > Hello Guys, > > I installed Suse Linux 9.1 with SANE 1.0.13 two weeks ago and I am now > trying to get my scanner HP ScanJet 5300C to work, but unfortunately > without any success up to now. > I searched with Google and found many hints how to get a HP ScanJet 5300C > to work with SANE, but I was either too stupid to apply the hints or they > did not work at all. Because I am quite new in the Linux business, I > probably do not know where to look and which information you might need to > help me, but I try my best. > > As I have said, I am using > Suse Linux 9.1 (kernel 2.6.5) > SANE 1.0.13 > > SANE-FIND-SCANNER as root: > found SCSI scanner "HP ScanJet 5300C 6.00" at /dev/sg0 > # Your SCSI scanner was detected. It may or may not be supported by SANE. > Try > # scanimage -L and read the backend's manpage. > > found USB scanner (vendor=0x03f0, product=0x0701) at libusb:003:002 > # Your USB scanner was (probably) detected. It may or may not be > supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports > can't be > # detected by this program. > > SCANIMAGE -L as root: > device `avision:/dev/sg0' is a Hewlett-Packard ScanJet 5300C flatbed > scanner > > ***************************************** > > SANE-FIND-SCANNER as user: > # No SCSI scanners found. If you expected something different, make sure > that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x03f0, product=0x0701) at libusb:003:002 > # Your USB scanner was (probably) detected. It may or may not be > supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports > can't be > # detected by this program. > > # You may want to run this program as root to find all devices. Once you > # found the scanner devices, be sure to adjust access permissions as > # necessary. > > SCANIMAGE -L as user: > No scanners were identified. If you were expecting something different, > check that the scanner is plugged in, turned on and detected by the > sane-find-scanner tool (if appropriate). Please read the documentation > which came with this software (README, FAQ, manpages). > > ************************************** > > Obviously, SCANIMAGE does only detect a SCSI scanner, but I connected my > scanner with USB and I even do not have a SCSI port in my PC. Also as a > normal user SCANIMAGE does not find any scanner which seems to be an > authorization problem. > > But when I start e. g. XSANE (0.92) I receive the message "no devices > available" and the program closes again (it does not matter if I run it as > root or as normal user). > > It seems to me, that SCANIMAGE does not really detect my scanner even if it > displays that it has found one (avision:/dev/sg0). > > Does anyone know what I can do to force SCANIMAGE to detect my scanner? If > you need further information about my setup, please feel free to contact me > and tell me what information you need. > > I would appreciate your help very much as I do not want to go back to > Windows only to get my scanner to work. ;-) > > With best regards, > Thomas
