~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/Documentation/usb/scanner-hp-sane.txt

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 Copyright (C) 1999, 2000 David E. Nelson
  2 
  3 April 26, 2000
  4 
  5 CHANGES
  6 
  7 - Amended for Linux-2.3.99-pre6-3
  8 - Updated for multiple scanner support
  9 
 10 INTRODUCTION
 11 
 12 This document will hopefully provide enough info on how to get SANE
 13 working with a Hewlett Packard USB capable scanner using the USB
 14 interface.  The majority of HP Scanners support the Scanner Control
 15 Language (SCL) which is both published by HP and supported by SANE.
 16 The only HP Scanners that I'm aware of that do not support SCL are the
 17 4200C ,3300C, and the PhotoSmart S20.  All other HP scanners with USB
 18 interfaces should work (4100C, 5200C, 6200C, and 6300C) as do models
 19 that are derived from the models above. ie the 6350C which is a 6300C
 20 with a transparency adaptor included with the scanner at time of
 21 purchase.  Of course as HP releases new scanners this information may
 22 change.
 23 
 24 
 25 REQUIREMENTS
 26 
 27 In order to get this running you'll need USB support in your kernel in
 28 addition to USB Scanner support.  Please refer to scanner.txt for
 29 issues pertaining to Linux USB and USB Scanner support.
 30 
 31 An installed version of SANE which is available from
 32 http://www.mostang.com/sane/.  Testing has been performed using
 33 version SANE-1.0.1.  For instructions on building and installing SANE,
 34 refer to the various README files within the SANE distribution.
 35 
 36 The latest SANE HP backend is available from http://www.kirchgessner.net.
 37 At the time of this writing, version 0.83 was available.
 38 
 39 
 40 OK, I'VE INSTALLED SANE. SO WHAT DO I DO NOW?
 41 
 42 NOTE: $INSTALL_DIR is the location where SANE is installed.  It may be
 43 /usr/local, /usr, /opt or somewhere else.  If you don't know, ask your
 44 system administrator.
 45 
 46 1) Make sure that you have the libsane-hp.* libraries under the
 47 $INSTALL_DIR/lib/sane/ directory.  If you don't, then the HP backend
 48 was either not compiled or installed properly.
 49 
 50 2) Under the directory $INSTALL_DIR/etc/sane.d/ edit the following
 51 files: dll.conf, hp.conf.
 52 
 53   dll.conf:  Make sure that the 'hp' entry is present and uncommented.
 54 
 55   hp.conf: This should contain two lines:
 56 
 57     /dev/usbscanner
 58     option connect-device
 59 
 60 NOTE: If you are using multiple scanners, make sure to have the correct
 61 device, ie /dev/usbscanner0.  See scanner.txt for more info.
 62 
 63 3) You should now be able to use SANE (xscanimage or scanimage).
 64 
 65 Don't forget to read any relevant man pages regarding the usage of
 66 SANE.  If you have other entries uncommented in 'dll.conf', you may
 67 have to specify the device to (x)scanimage.  Again, `man` is your
 68 friend.  The xscanimage (1) man page has info on how to get 'The Gimp'
 69 to work with xscanimage.  Note that Gimp support must be compiled into
 70 SANE for it to work.  If you are dealing with a RedHat system, this
 71 means that you'll also need to install the gimp-devel rpm package
 72 prior to compiling SANE.
 73 
 74 NOTE: The issues regarding core dumping by (x)scanimage have (or seem
 75 to be thus far) been resolved with version 0.2+ of the USB scanner
 76 driver which should be available in linux-2.3.23.  If you notice
 77 otherwise, please contact me.
 78 
 79 David /\/elson
 80 dnelson@jump.net
 81 http://www.jump.net/~dnelson

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.