[sane-devel] ScanJet 4100C

Peter Kirchgessner peter@kirchgessner.net
Thu, 05 Jun 2003 06:57:27 +0200


Hi Lee,

sane-backends-1.0.12 has the more current backend than 
sane-1.0.9.hp.1.01. But in your case it should make no difference.
Please have a look at your /usr/local/etc/sane.d/hp.conf. It should have 
lines with

# HP ScanJet 4100C
usb 0x03f0 0x0101

You can also activate the lines

/dev/usb/scanner0
   option connect-device

if the scanner is not recognized automatically. And please check which 
libraries are used. The libraries at /usr/lib/sane maybe the libraries 
which have been installed by your RedHat distribution. And at 
/usr/local/lib/sane your compiled libraries may be placed.

Sincerely

Peter

Then libusb should find
Lee Morgan schrieb:
> Hello,
> 
> I have RedHat 8.0 installed, when I run scanimage I get the following result:
> 
> [root@shodan sane.d]# scanimage -d hp:/dev/usb/scanner0
> scanimage: open of device hp:/dev/usb/scanner0 failed: Invalid argument
> 
> I have compiled and installed sane-backends-1.0.12 and used the 
> sane-1.0.9.hp.1.01 source.
> 
> The scanner is detected at /dev/usb/scanner0:
> 
> [root@shodan sane.d]# sane-find-scanner
> # Note that sane-find-scanner will find any scanner that is connected
> # to a SCSI bus and some scanners that are connected to the Universal
> # Serial Bus (USB) depending on your OS. It will even find scanners
> # that are not supported at all by SANE. It won't find a scanner that
> # is connected to a parallel or proprietary port.
> 
> # If your scanner uses SCSI, you must have a driver for your SCSI
> # adapter and support for SCSI Generic (sg) in your Operating System
> # in order for the scanner to be used with SANE. If your scanner is
> # NOT listed above, check that you have installed the drivers.
> 
> sane-find-scanner: found USB scanner (vendor = 0x03f0, product = 0x0101) at 
> device /dev/usb/scanner0
> 
> But the product string is not reported when i cat /proc/bus/usb/devices:
> 
> T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=03f0 ProdID=0101 Rev= 1.00
> S:  SerialNumber=00MY8BH535KN
> C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  16 Ivl=0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=250ms
> 
> The scanner is a ScanJet4100C.
> 
> Where am I going wrong?  Is this a problem with the scanimage?
> 
> Regards,
> 
> Lee
> 
> 
> 
> 
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
> 


-- 
Peter Kirchgessner
http://www.kirchgessner.net
mailto:peter@kirchgessner.net