[sane-devel] HP ScanJet 5300c only partially detected

Damon Butler damon at hddesign.com
Thu May 11 13:45:16 UTC 2006


Hi,

I have a HP ScanJet 5300c (USB connection) hooked up to my Intel MacMini
(Mac OS X 10.4.6, fully updated). After installing SANE via the latest
darwinports ...

-----
% port installed | grep sane
   sane-backends @1.0.17_0+local-backends (active)
   twain-sane @1.2_0 (active)
-----

... sane-find-scanner detects the scanner, but scanimage does not!

Here is the relevant output from sane-find-scanner:

-----
% sane-find-scanner
<snip>
found USB scanner (vendor=0x03f0, product=0x2205) at
libusb:003:002-03f0-2205-00-00
   # Your USB scanner was (probably) detected. It may or may not be
supported by
   # SANE. Try scanimage -L and read the backend's manpage.
<snip>
-----

And here is the output from scanimage -L:

-----
% scanimage -L

No scanners were identified.<snip>
-----

At first, I thought all I had dto do was edit the driver file for my
scanner, which, according to the SANE website, is the avision driver.
Based on the output of sane-find-scanner, here is how I edited
/opt/local/etc/sane.d/avision.conf:

-----
#option disable-gamma-table
#option disable-calibration
#option force-a4

scsi AVISION
scsi FCPA
scsi MINOLTA
scsi MITSBISH MCA-S600C
scsi MITSBISH MCA-SS600
scsi HP
scsi hp

scsi /dev/scanner
# usb libusb:002:003
# usb 0x03f0 0x0701
usb libusb:003:002-03f0-2205-00-00
usb 0x03f0 0x2225
-----

I have tried using just one of the two "usb" address lines at the end,
as well as both at the same time, and none of the three possibilities
results in a successful scanimage call.

FYI: The scanimage binary does appear to be properly linked to libusb:

-----
% otool -L /opt/local/bin/scanimage
/opt/local/bin/scanimage:

/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 

(compatibility version 150.0.0, current version 368.26.0)
         /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
(compatibility version 1.0.0, current version 275.0.0)
         /opt/local/lib/libsane.1.dylib (compatibility version 2.0.0,
current version 2.17.0)
         /opt/local/lib/libusb-0.1.4.dylib (compatibility version 9.0.0,
current version 9.4.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.1.5)
         /opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0,
current version 63.0.0)
-----

I feel like I'm really REALLY close to getting this thing to work. What
am I missing?

Thanks,
--Damon




More information about the sane-devel mailing list