In FC4:
I discovered that my hp scanjet 2300c now has a sane back end (genesys) which claims full support. Since scanning is the only thing I use windows for (rather than buy a new scanner) I was quite excited.
I got the latest sane-backends-1.0.16.tar.gz off
www.sane-project.org, followed the instructions to install. No errors.
./configure
make uninstall
make
make install
(I know make uninstall dosn't remove all the previous install - bear with me)
sane-find-scanner correctly locates and identifies the scanner.
(Initially it would only do so when run as root, but it works fine as user after running the hotplug script.)
However - scanimage -L does not see any scanner at all!
The man pages point out that scanimage -L produces an incomplete list, and only for scanners whose backend has a conf file. Well genesys.conf is right there and correctly lists my scanner as supported.
I've read through, and followed, the man pages for sane, sane-usb, and sane-genesys.
I've been through the sane-project faqs and documentation.
The old install of sane (backends 1.0.15) in FC4 sticks some files in /etc/sane.d whereas the new one sticks everything in /usr/local/etc/sane.d ... thus make uninstall, while removing a great deal, did not remove the /etc set. I have yet to check what effect removing /etc/sane.d would do - fedora may expect sane there?
Which is part of the issue here - I had a go trying to get yum to update the sane packages ... but cannot find any. I figured that yum update xsane would do the trick... nope. Of course, the latest sane backends may just not be in the yum repos yet?
Here's some actual output:
Code:
[~]$ ls /dev/scan*
/dev/scanner-usb-:proc:bus:usb:003:002
[~]$ sane-find-scanner
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0901 [hp scanjet scanner], chip=GL646_HP) 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.
[~]$ scanimage -L
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).
[~]$ scanimage -d genesys:/dev/scanner-usb-:proc:bus:usb:003:002 > image.png
scanimage: open of device genesys:/dev/scanner-usb-:proc:bus:usb:003:002 failed: Invalid argument
Note: this is not a permissions issue as scanimage behaves the same as root - besides, /proc/bus/usb/003/002 has owner "me" with rwx for everyone.