Import 2.3.25pre1
[davej-history.git] / drivers / usb / README.hp_scanner_sane
blob1cbc8b9941139a5436616018168ed973941da3a2
1 August 30, 1999
3 NOTE: This is all VERY alpha.  Use at your own risk.  There is no
4 warranty expressed nor implied.
7 Introduction
9 This document will hopefully provide enough info on how to get SANE
10 working with a Hewlett Packard USB capable scanner using the USB
11 interface.  The majority of HP Scanners support the Scanner Control
12 Language (SCL) which is both published by HP and supported by SANE.
13 The only HP Scanner that I'm aware of that does not support SCL is the
14 4200C.  All other HP scanners with USB interfaces should work (4100C,
15 5200C, 6200C).  Of course as HP releases new scanners this information
16 may change.
19 Requirements
21 In order to get this running you'll need USB support in your kernel in
22 addition to USB HP Scanner support.  Please refer to README.hp_scanner
23 for issues pertaining to Linux USB and USB HP Scanner support.
25 An installed version of SANE which is available from
26 http://www.mostang.com/sane/.  Testing has been performed using
27 version SANE-1.0.1.  For instructions on building and installing SANE,
28 refer to the various README files within the distribution.
31 Ok, so what do I do?
33 NOTE: $INSTALL_DIR is the location where SANE was installed.  It may
34 be /usr/local, /usr, /opt or somewhere else.  If you don't know, ask
35 your system administrator.
37 1) Make sure that you have the libsane-hp.* libraries under the
38 $INSTALL_DIR/lib/sane/ directory.
40 2) Under the directory $INSTALL_DIR/etc/sane.d/ edit the following
41 files: dll.conf, hp.conf.
43   dll.conf:  Make sure that the 'hp' entry is present and uncommented.
45   hp.conf: This should contain two lines:
47     option connect-device
48     /dev/usbscanner
50 3) You should now be able to use SANE (xscanimage or scanimage).
52 Don't forget to read any relevant man pages regarding the usage of
53 SANE.  If you have other entries uncommented in dll.conf, you my have
54 to specify the device to (x)scanimage.  The xscanimage (1) man page
55 has info on how to get 'The Gimp' to work with xscanimage.  Note that
56 Gimp support must be compiled into SANE for it work.  If you are
57 dealing with a RedHat system, you'll also need to install the
58 gimp-devel rpm package.
60 NOTE: Most of the time xscanimage will run without incident, then on
61 the next invocation it'll core dump at different locations.  I don't
62 know why yet and I don't have a work around either other than to try
63 again.  But once you get it started, it'll scan without any problems
64 (or at least it does for me).
66 David /\/elson
67 dnelson@jump.net