--- sane-backends-1.0.15/sane_hp_rts88xx/sane_hp_rts88xx/patch-sane.sh.orig 2004-10-22 20:08:26.000000000 +0200 +++ sane-backends-1.0.15/sane_hp_rts88xx/sane_hp_rts88xx/patch-sane.sh 2004-11-08 08:25:50.114543264 +0100 @@ -75,8 +75,8 @@ # Modifies the Makefile.in files (this is hairy stuff) echo -n "Modifying doc/Makefile.in..." -sed "s/sane-dll.5/& sane_hp_rts88xx.5/g" $sane/doc/Makefile.in | \ - sed "s/sane-dll.man/& sane_hp_rts88xx.man/g" > $sane/doc/tmp~ +sed "s/sane-dll.5/& sane-hp_rts88xx.5/g" $sane/doc/Makefile.in | \ + sed "s/sane-dll.man/& sane-hp_rts88xx.man/g" > $sane/doc/tmp~ evaluate_retval echo -n "Modifying backend/Makefile.in..." @@ -85,7 +85,14 @@ sed 's%libsane-abaton.la: ../sanei/sanei_scsi.lo%& \ libsane-hp_rts88xx.la: ../sanei/sanei_config2.lo \ libsane-hp_rts88xx.la: ../sanei/sanei_constrain_value.lo \ -libsane-hp_rts88xx.la: ../sanei/sanei_usb.lo%' > $sane/backend/tmp~ +libsane-hp_rts88xx.la: ../sanei/sanei_scsi.lo \ +libsane-hp_rts88xx.la: ../sanei/sanei_usb.lo%' | sed ' +s%^libsane-artec_eplus48u\.la: artec_eplus48u\.lo%libsane-hp_rts88xx.la: hp_rts88xx.lo hp_rts88xx-s.lo $(EXTRA) $(LIBOBJS)\ + @$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) @USB_LIBS@ @LIBRESMGR@ \\\ + $(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \\\ + -version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)\ +\ +&%' > $sane/backend/tmp~ evaluate_retval echo -n "Relocating files..." --- sane-backends-1.0.15/sane_hp_rts88xx/sane_hp_rts88xx/sane-hp_rts88xx.man.orig 1970-01-01 01:00:00.000000000 +0100 +++ sane-backends-1.0.15/sane_hp_rts88xx/sane_hp_rts88xx/sane-hp_rts88xx.man 2004-02-07 11:35:31.000000000 +0100 @@ -0,0 +1,102 @@ +.\" $Id$ +.TH sane-hp_rts88xx 5 "02 Feb 2004" +.IX sane-hp_rts88xx + +.SH NAME +sane-hp_rts88xx - SANE backend for scanners based on the RTS8891 chipset. + +.SH DESCRIPTION +The +.B sane-hp_rts88xx +implements a SANE (Scanner Access Now Easy) backend that +provides access to RTS8891 chipset based scanners. This backend will try to support +the following models: + +MANUFACTURER: MODEL: USB ID: +.br +--------------- -------------- --------- +.br +Hewlett-Packard Scanjet 4400c 03F0-0705 +.br +Hewlett-Packard Scanjet 4470c 03F0-0805 +.br +.PP +.br + +.SH "DEVICE NAMES" +This backend expects device names of the form: +.PP +.RS +.I special +.RE +.PP +Where +.I special +is a path-name for the special device that corresponds to a USB scanner. +With GNU/Linux systems, such a device name could be +.I /dev/usb/scanner0 +or +.IR /dev/usbscanner1 , +for example. + + +.SH CONFIGURATION +The +.I hp_rts88xx.conf +file contains the device name that correspond to the hp44x0c +scanner. Empty lines and lines starting with a hash mark (#) are +ignored. +.PP +A sample configuration file is shown below: +.PP +.RS +# Comment +.br +/dev/usbscanner +# option_CCD +# CCD0 or CCD1 allowed +# if you receive a black image, change it to CCD1 +option CCD0 +.RE +.PP +The first line is ignored. The second line is the device filename to use +in order to access the hp44x0c Scanner. If no device is given, the +backend will use libUSB. + +.SH FILES +.TP +.I @CONFIGDIR@/hp_rts88xx.conf +The backend configuration file (see also description of SANE_CONFIG_DIR below). + +.TP +.I @LIBDIR@/libsane-hp_rts88xx.a +The static library implementing this backend. + +.TP +.I @LIBDIR@/libsane-hp_rts88xx.so +The shared library implementing this backend (present on systems that +support dynamic loading). +.SH ENVIRONMENT + +.TP +.B SANE_CONFIG_DIR +This environment variable specifies the list of directories that may +contain the configuration file. Under UNIX, the directories are +separated by a colon (`:'), under OS/2, they are separated by a +semi-colon (`;'). If this variable is not set, the configuration file +is searched in two default directories: first, the current working +directory (".") and then in @CONFIGDIR@. If the value of the +environment variable ends with the directory separator character, then +the default directories are searched after the explicitly specified +directories. For example, setting +.B SANE_CONFIG_DIR +to "/tmp/config:" would result in directories "tmp/config", ".", and +"@CONFIGDIR@" being searched (in this order). +.TP + +.SH "SEE ALSO" +sane(7), sane\-usb(5) +.br +http://home.foni.net/~johanneshub/rts88xx_sane +.SH AUTHOR +Johannes Hub