[sane-devel] Removed hpusbscsi and usbdevfs. xsane & scanimage problems

Thomas Frayne tomf@sjpc.org
Fri, 27 Feb 2004 12:37:55 -0800

I finally figured out how to get rid of hpusbscsi and usbdevfs on Redhat
Fedora Core 1.

Renaming /hpusbscsi.o to hpusbscsi.obk did not work.  It still loaded
rm /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/usb/hpusbscsi.obk
got rid of the module.

I changed usbdevfs to usbfs in 2 places in /etc/rc.sysinit and rebooted
to remove the obsolete reference to usbdevfs.

I added /usr/local/lib to /etc/ld.so.conf and executed
ldconfig to enable xsane to find libsane.so.1

scanimage -L now gives: 
device `avision:libusb:001:005' is a Hewlett-Packard ScanJet 7400c
flatbed scanner

scanimage >image.pnm scans a document, but the colors are wrong.

xsane 0.91 acquire preview fails: Failed to start scanner.  Invalid

I am currently reviewing man scanimage to see what to do about the
colors.  Is there a better place to find this information?

I was unable to find the cause of the xsane message in the xsane
documentation (where I also couldn't figure out how to get started) and
a Google search.  What should I try next?