
Additional information can be found in the SANE mailing lists.
kernel: scsi : 1 host. kernel: Vendor: HP Model: C5100A Rev: R029 kernel: Type: Processor ANSI SCSI revision: 02
If you don't get a message like that you should check the SCSI howto's
for your SCSI card. If you are using a SCSI card that came with the scanner,
see here for hints configuring the cards.
ln -s /dev/sg0 /dev/scanner chmod 666 /dev/sg0
You also can try to force scanimage to use the correct device:
scanimage -d hp:/dev/sg0 > scan.ppm
This driver gives you a new device /dev/hpscan. Then you need to add to the file /usr/local/etc/sane.d/hp.conf the two lines
/dev/hpscan
option connect-device
You need at least SANE v1.01 to do that.
| Model | HP Model Number | Interface |
|---|---|---|
| ScanJet Plus | 9195A | HP Parallel Interface Card |
| ScanJet IIc | 1750A | SCSI |
| ScanJet IIcx | 2500A | SCSI |
| ScanJet IIp | 1790A | SCSI |
| ScanJet 3C | 2520A | SCSI |
| ScanJet 3P | 2570A | SCSI |
| ScanJet 4C | 2520A | SCSI |
| ScanJet 4P | 1130A | SCSI |
| ScanJet 4100C | 6290A | USB |
| ScanJet 5P | 5110A | SCSI |
| ScanJet 5100C | 5190A | parallel port |
| ScanJet 5200C | 7190A | parallel port/USB |
| ScanJet 6100C | 2520A | SCSI |
| ScanJet 6200C | 6270A | SCSI/USB |
| ScanJet 6250C | 6270A | SCSI/USB |
| ScanJet 6300C | 7670A | SCSI/USB |
| ScanJet 6350C | 7670A | SCSI/USB |
| ScanJet 6390C | 7670A | SCSI/USB |
| PhotoSmart PhotoScanner | 5100A | SCSI |
For the HP parallel interface card (ScanJet Plus) and parallel port interface additional kernel drivers may be required.
Note: Because Hewlett-Packard does no longer produce scanners which support SCL (beside MFP's), this list is complete. Other HP-scanners are not supported by the hp-backend. But you can find support for other HP-scanners on
Here are some links to backends which support HP-scanners not supported by the hp-backend:
cat /proc/bus/usb/devicesThis gives you listings similar to the following:
T: Bus=01 Lev=01 Prnt=01 Port=00 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=0601 Rev= 1.00 S: Product=HP ScanJet 6300C S: SerialNumber=SG98P161P3PE 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=250msThe entry "Product=" should show your type of scanner. If you don't find an entry for your scanner, it is not recognized. Check if your kernel supports USB and if you have installed the necessary packages.
cat /proc/bus/usb/driversThis should give you something like
usbdevfs
hub
hid
48- 63: usbscanner
This indicates that the usbscanner driver is available. Now have a look
at the permissions of the device /dev/usbscanner by
ls -l /dev/usbscannerIf it shows
crw-r--r-- 1 root root 180, 48 Jan 19 2001 /dev/usbscannerit is not ok. Only root can read and write to the scanner. To allow everyone to use it, do
chmod 666 /dev/usbscannerNow look where the configuration file hp.conf of SANE is located. It should be at /etc/sane.d/hp.conf or /usr/local/etc/sane.d/hp.conf. To that file you need to add the two lines
/dev/usbscanner option connect-deviceThe file then should look like
scsi HP /dev/scanner /dev/usbscanner option connect-deviceYou might need to use /dev/usb/scanner0 instead of /dev/usbscanner.
If you need to upgrade to kernel 2.2.19 manually, you also need the USB scanner module scanner.o. As root, load it and make a device /dev/usbscanner by
mknod usbscanner c 180 48Then you can continue with the description above. (Thank's to Wolfgang Rapp for hints about USB).
option dumb-readin hp.conf.
| HP model number | HP product name |
|---|---|
| HP 9190A | ScanJet |
| HP 9195A | ScanJet + |
| HP 1750A | ScanJet IIc |
| HP 1790A | ScanJet IIp |
| HP 2500A | ScanJet IIcx |
| HP 2570A | ScanJet 3p |
| HP 2520A | ScanJet 3c |
| HP 2520A | ScanJet 4c |
| HP 1130A | ScanJet 4p |
| HP 5110A | ScanJet 5p |
| HP 6290A | ScanJet 4100C |
| HP 5190A | ScanJet 5100C |
| HP 7190A | ScanJet 5200C |
| HP 2520A | ScanJet 6100C |
| HP 6270A | ScanJet 6200C |
| HP 7670A | ScanJet 6300C |
Last revised: 29th Oct. 2006
This page has been viewed
times since 08th. Dec. 2001.