Added hp3500 backend which supports the HP ScanJet 3500 series, including the

3500C, 3530C and 3570C (patch from Troy Rollo <sane@troy.rollo.name>) (bug
#302687).
merge-requests/1/head
Henning Geinitz 2005-12-20 17:55:45 +00:00
rodzic df2a8b6180
commit 07757d4c85
11 zmienionych plików z 3080 dodań i 4 usunięć

Wyświetl plik

@ -38,6 +38,7 @@ Backends:
hp: Peter Kirchgessner (*)
Geoffrey Dairiki
hpsj5s: Max Vorobiev
hp3500: Troy Rollo
hp4200: Adrian Perez Jorge, Andrew John Lewis, Arnar Mar Hrafnkelsson,
Frank Zago, Henning Meier-Geinitz (*)
hp5400: Martijn van Oosterhout, Thomas Soumarmon (*)
@ -205,5 +206,6 @@ Thomas Soumarmon <soumarmt@nerim.net>
Tom Martone <tom@martoneconsulting.com>
Tom Wang <tom.wang@mustek.com.tw>
Tristan Tarrant <ttarrant@etnoteam.it>
Troy Rollo <sane@troy.rollo.name>
Ullrich Sigwanz <usigwanz@freesurf.ch>
Ulrich Deiters <ukd@xenon.pc.Uni-Koeln.DE>

Wyświetl plik

@ -2,6 +2,12 @@
* backend/dll.c doc/descriptions/dll.desc: Fixed dynamic loading
on current HP/UX systems (bug #302732).
* AUTHORS ChangeLog configure configure.in backend/Makefile.in
backend/dll.conf backend/hp3500.c doc/Makefile.in
doc/sane-hp3500.man doc/sane.man doc/descriptions/hp3500.desc:
Added hp3500 backend which supports the HP ScanJet 3500 series,
including the 3500C, 3530C and 3570C (patch from Troy Rollo
<sane@troy.rollo.name>) (bug #302687).
2005-12-18 Henning Meier-Geinitz <henning@meier-geinitz.de>

Wyświetl plik

@ -113,6 +113,7 @@ DISTFILES = abaton.c abaton.conf abaton.h agfafocus.c agfafocus.conf \
hp-option.h hp.README hp-scl.c hp-scl.h hp-scsi.h hp.TODO \
hpsj5s.c hpsj5s.conf hpsj5s.h \
hp4200.c hp4200.conf hp4200.h hp4200_lm9830.c hp4200_lm9830.h \
hp3500.c \
hp5400.c hp5400.h hp5400.conf hp5400_debug.c hp5400_debug.h \
hp5400_internal.c hp5400_internal.h hp5400_xfer.h \
hp5400_sane.c hp5400_sanei.c hp5400_sanei.h \
@ -370,6 +371,9 @@ libsane-hp.la: ../sanei/sanei_usb.lo
libsane-hp.la: $(addsuffix .lo,$(EXTRA_hp))
libsane-hp.la: ../sanei/sanei_pio.lo
libsane-hp.la: ../sanei/sanei_thread.lo
libsane-hp3500.la: ../sanei/sanei_usb.lo
libsane-hp3500.la: ../sanei/sanei_thread.lo
libsane-hp3500.la: ../sanei/sanei_constrain_value.lo
libsane-hp4200.la: ../sanei/sanei_constrain_value.lo
libsane-hp4200.la: ../sanei/sanei_usb.lo
libsane-hp4200.la: ../sanei/sanei_pv8630.lo

Wyświetl plik

@ -24,6 +24,7 @@ genesys
gt68xx
hp
hpsj5s
hp3500
hp4200
hp5400
ibm

2959
backend/hp3500.c 100644

Plik diff jest za duży Load Diff

2
configure vendored
Wyświetl plik

@ -26482,7 +26482,7 @@ echo "$as_me: Manually selected backends: ${BACKENDS}" >&6;}
plustek_pp ricoh s9036 sceptre sharp \
sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u \
artec_eplus48u ma1509 ibm hp5400 u12 snapscan niash sm3840 hp4200 \
sm3600"
sm3600 hp3500"
if test "${sane_cv_use_libjpeg}" != "yes"; then
echo "*** disabling DC210 backend (failed to find JPEG library)"

Wyświetl plik

@ -341,7 +341,7 @@ else
plustek_pp ricoh s9036 sceptre sharp \
sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u \
artec_eplus48u ma1509 ibm hp5400 u12 snapscan niash sm3840 hp4200 \
sm3600"
sm3600 hp3500"
if test "${sane_cv_use_libjpeg}" != "yes"; then
echo "*** disabling DC210 backend (failed to find JPEG library)"

Wyświetl plik

@ -53,7 +53,7 @@ SECT5 = sane-abaton.5 sane-agfafocus.5 sane-apple.5 sane-as6e.5 sane-dll.5 \
sane-coolscan2.5 sane-hpsj5s.5 sane-gt68xx.5 sane-artec_eplus48u.5 \
sane-ma1509.5 sane-ibm.5 sane-hp5400.5 sane-plustek_pp.5 sane-u12.5 \
sane-niash.5 sane-sm3840.5 sane-genesys.5 sane-hp4200.5 \
sane-mustek_usb2.5
sane-mustek_usb2.5 sane-hp3500.5
SECT7 = sane.7
SECT8 = saned.8
MANPAGES = $(SECT1) $(SECT5) $(SECT7) $(SECT8)
@ -106,7 +106,7 @@ DISTFILES = Makefile.in backend-writing.txt descriptions.txt \
sane-hpsj5s.man gamma4scanimage.man sane-gt68xx.man sane-artec_eplus48u.man \
sane-ma1509.man sane-ibm.man sane-hp5400.man sane-plustek_pp.man \
sane-u12.man sane-niash.man sane-sm3840.man sane-genesys.man sane-hp4200.man \
sane-mustek_usb2.man
sane-mustek_usb2.man sane-hp3500.man
.PHONY: all clean depend dist distclean html html-man install \
sane-html uninstall

Wyświetl plik

@ -0,0 +1,45 @@
; SANE Backend specification file
;
; It's basically emacs-lisp --- so ";" indicates comment to end of line.
; All syntactic elements are keyword tokens, followed by a string or
; keyword argument, as specified.
;
; ":backend" *must* be specified.
; All other information is optional (but what good is the file without it?).
;
:backend "hp3500" ; name of backend
:version "1.0" ; version of backend
:new :yes
:manpage "sane-hp3500" ; name of manpage (if it exists)
:url "http://projects.troy.rollo.name/rt-scanners/" ; backend's web page
:comment "HP3500 series scanners."
:devicetype :scanner ; start of a list of devices....
; other types: :stillcam, :vidcam,
; :meta, :api
:mfg "Hewlett-Packard" ; name a manufacturer
:url "http://www.hp.com"
:model "ScanJet 3500C" ; name models for above-specified mfg.
:interface "USB" ; interface type of the device:
; "SCSI", "USB", "Parport (EPP)",
; "Parport (SPP)", "Parport (ECP)",
; "Serial port" or "Propretiary".
:status :good
:model "ScanJet 3530C" ; name models for above-specified mfg.
:interface "USB" ; interface type of the device:
:status :good
:model "ScanJet 3570C" ; name models for above-specified mfg.
:interface "USB" ; interface type of the device:
:status :good
; :comment and :url specifiers are optional after :mfg, :model, :desc,
; and at the top-level.

Wyświetl plik

@ -0,0 +1,53 @@
.TH sane-hp3500 5 "27 Nov 2005" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy"
.IX sane-hp3500
.SH NAME
sane-hp3500 \- SANE backend for Hewlett-Packard ScanJet 3500 series scanners
.SH DESCRIPTION
The
.B sane-hp3500
library implements a SANE (Scanner Access Now Easy) backend that provides
access to the following Hewlett-Packard USB flatbed scanners:
.PP
.RS
ScanJet 3500C
.br
ScanJet 3530C
.br
ScanJet 3570C
.RE
.PP
If you own a scanner other than the ones listed above that works with this
backend, please let us know this by sending the scanner's exact model name and
the USB vendor and device ids (e.g. from
.IR /proc/bus/usb/devices ,
.I sane-find-scanner
or syslog) to us. Even if the scanner's name is only slightly different from
the models mentioned above, please let us know.
.SH CONFIGURATION
None required.
.SH FILES
.TP
.I @LIBDIR@/libsane-hp3500.a
The static library implementing this backend.
.TP
.I @LIBDIR@/libsane-hp3500.so
The shared library implementing this backend (present on systems that
support dynamic loading).
.SH ENVIRONMENT
.B SANE_DEBUG_HP3500
If the library was compiled with debug support enabled, this
environment variable controls the debug level for this backend. Higher
debug levels increase the verbosity of the output.
Example:
export SANE_DEBUG_HP3500=4
.SH "SEE ALSO"
.BR sane (7),
.BR sane-usb (5),
.br
.I http://projects.troy.rollo.name/rt-scanners/
.SH AUTHOR
Troy Rollo <sane@troy.rollo.name>

Wyświetl plik

@ -270,6 +270,11 @@ The SANE backend for the Hewlett-Packard ScanJet 5S scanner. See
.BR sane-hpsj5s (5)
for details.
.TP
.B hp3500
The SANE backend for the Hewlett-Packard ScanJet 3500 series. See
.BR sane-hp3500 (5)
for details.
.TP
.B hp4200
The SANE backend for the Hewlett-Packard ScanJet 4200 series. See
.BR sane-hp4200 (5)
@ -796,6 +801,7 @@ for details).
.BR sane-gt68xx (5),
.BR sane-hp (5),
.BR sane-hpsj5s (5),
.BR sane-hp3500 (5),
.BR sane-hp4200 (5),
.BR sane-hp5400 (5),
.BR sane-ibm (5),