Wykres commitów

3680 Commity (5314cf8c2e518ca2819a7d305dc7e568020b442d)

Autor SHA1 Wiadomość Data
Pierre Willenbrock 9d7fb593a1 Calculate shading coefficients using maximum input resolution available
This still needs to honor half_ccd settings
2009-03-21 14:30:30 +00:00
Pierre Willenbrock f261d52e11 Remove park_head
It is redirected to slow_back_home in all cases
2009-03-21 14:28:57 +00:00
Pierre Willenbrock 8994e0cb07 Fix calculation of pixel number used in calibration 2009-03-21 14:27:06 +00:00
Pierre Willenbrock d2fb13c37d Enable Motor again for combined dark/bright calibration 2009-03-21 14:25:39 +00:00
m. allan noah d4db7b091e * backend/fujitsu.[ch]: backend v91
- remove unused temp file code
2009-03-20 23:17:35 +00:00
m. allan noah 7c6628312e * backend/hpljm1005.c: use private function instead of round() 2009-03-20 14:48:21 +00:00
Pierre Willenbrock 5864030834 Add basic support for Visioneer XP100 rev 3 and USB IDs for Syscan DocketPort 465 2009-03-19 22:27:53 +00:00
Louis Lagendijk 0086173dd3 2009-03-06 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c backend/pixma_bjnp.h
        backend/pixma_bjnp_private.h backend/pixma_io_sanei.c:
        Make bjnp protocol more resilient against packet loss and corruption
        Changed timeout for all responses to be at least 10 seconds
        Send all broadcasts for scanner detection 5 times
        Made sure scanners are added to device list only once
        Changed device-id for bjnp so it uses scanner hostname/ip-address
        instead of mac address as this is more human friendly.
        To make room, use scanner model instead of USB-id (which is bogus
        for network scanners
2009-03-17 19:29:39 +00:00
m. allan noah dd3db8d510 * doc/desc/gt68xx.desc, backend/gt68xx.conf.in: add NeatReceipts Mobile Scanner (from Kelly Price) 2009-03-17 13:13:55 +00:00
m. allan noah 1636ba5334 * frontend/scanimage.c, doc/scanimage.man: make -B (buffer-size)
selectable, and make long name consistent. (#309672 by Johannes Berg)
2009-03-14 18:10:38 +00:00
Julien BLACHE f29d2ac068 Explicitly bind IPv6 addresses first. 2009-03-13 17:02:25 +00:00
m. allan noah 5718d5a4ed * tools/sane-desc.c: remove 8859-1 chars from string cleaner,
enforce only printable ASCII on output (bug 311539)
2009-03-13 13:48:44 +00:00
Ilia Sotnikov bb89e6b720 - Remove unnecessary 'res' variable assignment in check_host()
(AF-indep version)
2009-03-13 11:45:11 +00:00
Julien BLACHE 9cdf75633d Rework Ilia's changes in check_host(). 2009-03-13 08:59:31 +00:00
Julien BLACHE 7a359270a2 Update descriptions for iScan 2.18.0 2009-03-13 08:05:43 +00:00
Ilia Sotnikov 7e3b3bc543 * Allow host checking to proceed if no local name was found 2009-03-12 15:54:52 +00:00
Ilia Sotnikov d6bee2dafe * Use hstrerror (h_errno) instead of strerror(errno) on gethostbyname()
errors
2009-03-12 12:44:45 +00:00
Nicolas Martin 35baca47f0 pixma ImageClass doc and capabilities update, PIXMA_EOF return code added. 2009-03-12 11:13:37 +00:00
Stéphane Voltz 185486e432 - cleanups for gl646 scanners
- change in document detection for gl646 sheetfed scanners
	- lexmark desc file update
2009-03-12 05:29:53 +00:00
Stéphane Voltz b635ba26b1 - head positionning fixes
- 1200 dpi scan fix for HP2300
2009-03-09 05:52:31 +00:00
m. allan noah eee0012786 * backend/canon_dr.c, backend/canon_dr.conf.in: backend version 14
- remove HARD_SELECT from counter (Legitimate, but API violation)
- attach to CR-series scanners as well
2009-03-08 01:07:41 +00:00
Louis Lagendijk 67b93432ee * backend/pixma_bjnp_private.h disabled experimental/incomplete
button handling for bjnp protocol as it seems to cause problems
        with xsane preview
2009-03-07 23:11:24 +00:00
m. allan noah 7d65c00a95 * backend/canon_dr.c, backend/canon_dr.conf.in,
doc/descriptions/canon_dr.desc: backend version 13
- new vendor ID for recent machines
- add usb ids for several new machines
- DR-4010C reported good
2009-03-06 21:32:02 +00:00
m. allan noah 62fcc842f7 set initial scan area dimensions to maximum, close bug 311313 2009-03-05 17:13:21 +00:00
Chris Bagwell cd5ccd9c28 Allow user to disable latex support. 2009-03-05 14:47:29 +00:00
m. allan noah d0f1d177ef * doc/descriptions-external/epkowa.desc: update all broken urls 2009-03-05 14:32:56 +00:00
m. allan noah 6ee58869dc * doc/descriptions/coolscan3.desc, doc/sane-coolscan3.man,
doc/Makefile.in|am: add missing coolscan3 docs
* backend/dll.conf.in: # out epson and coolscan2, remove hpoj text
* doc/descriptions/epson2.desc: add Epson RX-620
2009-03-05 02:33:45 +00:00
Pierre Willenbrock c96583da9e Fix the generated generic gamma table. 2009-03-04 13:40:04 +00:00
Chris Bagwell 191cde3dbd Add space mistakenly removed in last CVS update. 2009-03-04 01:22:01 +00:00
Julien BLACHE b1148a226d Add Epson RX-620. 2009-03-03 10:45:34 +00:00
Chris Bagwell 9d1375fd7e * acinclude.m4, tools/sane-config.in: Add in missing libraries
to sane-config missed during fix to stop using LIBS to link everything.
Add back in code to move LDFLAGS out of $GPHOTO2_LIBS and into
GPHOTO2_LDFLAGS.
2009-03-03 02:53:42 +00:00
Stéphane Voltz a01d181c23 - fix 400, 1200 and 2400 dpi modes for MD6471/MD5345
- scanarea geomtry tunig for MD6471/MD5345
2009-03-02 20:56:59 +00:00
Julien BLACHE b72c29cd75 Make sure backends can't break the network dialog and crash the remote net
backend by writing to stdin/stdout/stderr.
2009-03-02 11:21:52 +00:00
Chris Bagwell 135ac7d1ac * m4/byteorder.m4: Delete temporary file in all cases.
* backend/Makefile.am, japi/Makefile.am: Use BUILT_SOURCES
instead of dependency so that files are not compiled
during "dist" target.
2009-03-01 04:34:44 +00:00
Pierre Willenbrock 2e880e4b75 Adjust gl841 part to recent changes 2009-02-28 18:04:56 +00:00
Pierre Willenbrock c53a50cbfb Add support for Visioneer Roadwarrior 2009-02-28 18:03:44 +00:00
Pierre Willenbrock c8ce0f00ef Add support for Ambir/Syscan DocketPORT 665 2009-02-28 18:01:50 +00:00
Chris Bagwell 70f3fdfba4 * acinclude.m4, backend/*.[ch], tools/*.[ch], frontend/*.[ch]:
Global replace of u_int??_t with C9x standard based uintxx_t
 in order to remove some tricky and overlapping portability logic
 from acinclude.m4 and leave it in only m4/stdint.m4.
2009-02-26 03:15:43 +00:00
Chris Bagwell df7839f587 * configure.in, m4/stdint.m4: Update to latest version to
get latest fixes and use logic to not recreate _stdint.h if
no changes (to prevent unneeded recompiles).
* m4/byteorder.m4: Added support to reuse existing byteorder.h if
no changes to prevent timestamp causing a recompile.
2009-02-25 03:55:33 +00:00
m. allan noah c290bb2e1b * frontend/scanimage.c: improved comments, simplified x/y option code,
removed buggy -1/+1 x/y code (#311172), expose non-settable options,
check for invalid caps on options, handle option descs with \n
* doc/releases.txt: add note about cvs checkout on alioth.
2009-02-25 03:29:14 +00:00
m. allan noah b85947768d backend/*.[ch]: more consistent #include "../include/sane/config.h" 2009-02-25 02:11:17 +00:00
m. allan noah 597bdcd400 * backend/Makefile.am, backend/xerox_mfp.conf.in: should use conf.in 2009-02-24 17:49:02 +00:00
Chris Bagwell 37bdd088dc * backend/Makefile.am: Add back in deletion of $(sanelibdir)/libsane.*
for buggy libtools.  Add some minor documentation.
* doc/backend-writing.txt: Add minor document updates to reflect
conversions to automake.
2009-02-24 02:47:44 +00:00
m. allan noah f9e541f02a * backend/fujitsu.c, backend/fujitsu.conf.in,
doc/descriptions/fujitsu.desc, doc/sane-fujitsu.man: backend v90,
add S510M usb ID's, add fi-6010N to .desc
* backend/epjitsu.conf.in, doc/descriptions/epjitsu.desc,
doc/sane-epjitsu.man: add S300M usb ID's
2009-02-23 16:46:26 +00:00
Pierre Willenbrock a2d99b716a Various warning cleanups 2009-02-23 14:21:23 +00:00
Pierre Willenbrock e026a4fa2c Make start/stop_(motor, now)action actually work 2009-02-23 14:20:39 +00:00
Pierre Willenbrock 3251c06fb4 Move sanei_genesys_{start,stop}_motor into chip specific sources 2009-02-23 14:16:56 +00:00
Pierre Willenbrock 271e9cf317 Add post_scan and eject_feed to struct Genesys_Model 2009-02-23 14:12:20 +00:00
Jonathan Bravo Lopez 3846396eff Fixed area of negative/slide scans for HP ScanJet G3110 2009-02-23 07:55:32 +00:00
Chris Bagwell 975aed198c * japi/Makefile.am: Add back -version-number to java library but
also add V_REV.
* backend/Makefile.am: Use variables to add libraries to backends
instead of direct substitution. Easier to touch up variables on
problem platforms then substitution.  Also, add back in creating
dll.d directory; missed during conversion.
* backend/genesys_gl841.c: Portablity fixes for strict
C compilers.
2009-02-23 04:44:55 +00:00
Chris Bagwell 55434f8a75 Fix disabling getopt compile again. 2009-02-22 05:08:56 +00:00
Chris Bagwell 7d06da3be7 * doc/Makefile.am: Get rid of unneeded gnu extensions to quieten
down autotools warnings.
2009-02-22 02:05:05 +00:00
Chris Bagwell be3f46204b * po/Makefile.am, configure.in: convert remaining directory,
po, to use automake.
2009-02-21 22:45:14 +00:00
m. allan noah 8f82d9f60b * backend/avision.c: backend v290, fix reader_pid and NVRAM option
issues, by Mattias Ellert.
* backend/fujitsu.c: backend v89, fi-4750 has no serial number support
* doc/descriptions/fujitsu.desc: backend v89, remove 'MAC/TWAIN' text
* doc/sane-fujitsu.man: backend v89
* backend/.cvsignore: ignore *.loT
2009-02-20 19:57:21 +00:00
Mattias Ellert 18e9d6c358 Restore alloca include order 2009-02-20 17:56:54 +00:00
Chris Bagwell 4e2fe5c06d Convert japi to automake. 2009-02-20 03:17:54 +00:00
Chris Bagwell cb4fb37eca Have configure define configdir so all makefiles can use
it (fixes bug introduce with sanei converted to automake).
Enable running testsuite during distcheck.
2009-02-19 18:10:12 +00:00
Julien BLACHE ad1a44d92a Add support for libusb-1.0. 2009-02-19 13:57:45 +00:00
Chris Bagwell f2261efaa5 * Makefile.am, testsuite: Convert testsuite to automake. Waiting
for test backend bugfix before enabling this to run during "distcheck".
2009-02-19 04:23:25 +00:00
Chris Bagwell e380729334 * configure.in, tools/Makefile.am: convert tools to automake.
Add tools/openbsd to distribution package.
* include/Makefile.am: include files should have been installed
under sane/ directory when converted to automake.
* doc/Makefile.am: Cleanup. Use automake's built in support to
install docs within subdirectories.
2009-02-19 02:17:45 +00:00
Julien BLACHE 042656a002 Raise avahi-client dependency to 0.6.24. 2009-02-18 13:25:44 +00:00
Julien BLACHE 25818023c6 Fix handling of Avahi server restart. 2009-02-18 13:19:51 +00:00
Julien BLACHE 6733db0ec1 Do not lock the Avahi thread before stopping it. Leads to a deadlock,
so it seems it's actually not necessary anymore.
2009-02-18 11:07:38 +00:00
Chris Bagwell aef46252cc convert frontend, include, and sanei directories to use
automake.  Only reference libsanei.la now. Use am_conditional
to compile sanei_jpeg.lo.  distcheck now runs sanei/wire_test.
2009-02-15 03:31:36 +00:00
Chris Bagwell 79086e770e * Makefile.am, configure.in, doc/Makefile.am: Convert
doc/Makefile to use automake. Main difference is that
no longer installs man pages for backends that are not
compiled.  Moved install ownership of $top_srcdir docs
to $top_srcdir's Makefile.
2009-02-14 05:54:01 +00:00
Chris Bagwell 848b2e2175 * configure.in, backend/Makefile.am: Add back change to
use -version-number even though its known not to work on
some platforms (OS/2). -version-info results in a variety of
version numbers in soname based on platform and would not
be easily mappable back to values currently return by
each backend's sane_init().  ltmain.sh will need to be
hand patched for any known issues.
2009-02-12 03:43:18 +00:00
Pierre Willenbrock d167519e76 Remove "init device" usb request, add some support for Visioneer Strobe XP300.
Add support for uncalibrated scans in all modes for Visioneer Strobe XP300.
Front- and backside are	side-by-side, backside mirrored horizontally.
2009-02-08 18:59:59 +00:00
Chris Bagwell 144b1a3cfb * configure.in, backend/Makefile.am: Add back in support for
optionally linking in sanei_jpeg.lo under backend directory;
but using configure and not with GNU make extensions.
Move back to libtool's -version-info instead of -version-number
because the later has known bugs on platforms such as OS/2.
2009-02-07 02:00:51 +00:00
Chris Bagwell caba90c552 * configure.in, acinclude.ac: Cleanup autoconf 2.63 warnings.
add cv_ prefix to cached variable.  Remove AC_ARG_PROGRAM as
automake already invokes this. When prefered AC_USE_SYSTEM_EXTENSIONS
exists, use that instead of AC_GNU_SOURCE/AC_AIX/AC_MINUX.
Cleanup socket detection more by creating only a single
SOCKET_LIBS that contains list of all optional libraries
for any socket related funciton.  Make sure that checks
for socket related functions use SOCKET_LIBS when searching.
Check for getopt_long() and getopt.h.  Make OS/2 use
-no-undefined (same as windows).
* ltmain.sh, m4/libtool.m4: Upgrade to libtool 1.5.26.
* Makefile.am: Cleanups to match configure updates.
* frontend/scanimage.c, include/Makefile.in, lib/getopt.c
lib/getopt1.c, toosl/sane-desc.c, include/lgetopt.h:
Rename internal getopt.h to lgetopt.h to allow using
external getopt.h when it exists.  This allows to go
back to optionally compiling getopt()/getopt_long() and its
prototypes and not have conflicts with external headers/symbols.
2009-02-06 03:10:44 +00:00
Nicolas Martin c7d8b3e21c Added ImageClass MF4120 support in pixma backend docs. 2009-02-04 21:51:49 +00:00
Julien BLACHE 9056460913 Filter out unsupported/unknown models from output (udev/hal). 2009-02-03 11:08:31 +00:00
Nicolas Martin fc758d23e7 ALIGN macro name change due to MACOS X issue and cosmetic code enhancements 2009-02-02 21:16:44 +00:00
Alex Belkin 133d37e4e4 Proper handling of parameters (to fix xsane crash) 2009-02-02 18:29:08 +00:00
Alex Belkin 59d1cd9539 Added Dell MFP 1815dn 2009-02-02 09:39:30 +00:00
Chris Bagwell 0330a4d416 * aclocalm4: fix prototype of internal strcasestr and usleep.
* configure.in: Group all USB logic together and all SCSI
logic together to aid understanding of whats no longer
valid.  Allow sharing enable/disable options between all
USB drivers on multiple platforms.  Combined CAM_LIBS and
SCSI_LIBS since they are mutually exclusive.
Skip some USB/SCSI checks when previous tests show it will always fail.
* backend/Makefile.am, tools/Makefile.in: Combine CAM_LIBS and
SCSI_LIBS. Add missing SOCKET_LIBS to epson2.  Add USB_LIB.
* saned.c: Add limits.h for PATH_MAX.
2009-02-02 03:17:32 +00:00
Mattias Ellert 7e6153827f format fixes. 2009-02-01 21:58:04 +00:00
Mattias Ellert f5af24221f avoid redefinition warning 2009-02-01 19:20:41 +00:00
Mattias Ellert 120806fa38 format fix and fix missing return 2009-02-01 18:50:24 +00:00
Mattias Ellert 1d21f36d9f Don't compile sanei_jpeg if libjpeg is unavailable. 2009-02-01 15:21:46 +00:00
Mattias Ellert 4dab269c71 Restore the removed DYNAMIC_FLAG configuration. 2009-02-01 13:43:26 +00:00
Chris Bagwell 674b884f29 * acinclude.m4, configure.in: Define JPEG objects based on
existence of JPEG library and not on the dc* backends alone
since more backends then that use JPEG support.
* backend/Makefile.am: whitespace fixes.
2009-01-31 20:40:42 +00:00
Chris Bagwell 51860ae62c Add missing math library to coolscan2 backend. Add few new directories
for cvs to ignore.
2009-01-31 16:20:03 +00:00
Chris Bagwell 23ff26f9a5 * acinclude.m4, configure.in: Put all libraries into their
own *_LIB variables instead of $LIB so that we do not have to
link in the world to all executables. Modified SANE_CHECK_U_TYPES
to be a little more portable to platforms that use #define
for u_* types. Create SANE_CHECK_BACKENDS macro so that
PRELOADABLE_BACKENDS can also be valided.  Auto-populated
PRELAODABLE_BACKENDS when detect dlopen() won't work.
Various protability cleanups.
* backend/dll.c: Make dll-preload.c a .h since its an include and
not compilable byitself.
* frontend/Makefile.in, frontend/scanimage.c, include/laaloca.h,
  lib/Makefile.am, lib/alloca.c, strcasestr.c, tools/Makefile.in,
  tools/sane-desc.c: Convert lib/ to automake.  Create a liblib.la
  for everyone to use and a libfelib.la for only frontend programs.
  Make all internal programs be prefixed with sanei_ as not to conflict
  with other programs libsane is linked in with that will also most
  likely create similar internal utils on problem platforms.
  * include/getopt.h, lib/getopt.c, lib/getopt1.c: Always compile
  and link in getopt_long() but prefix it with sanei_.  Its
  easier to always use internal version then try to figure out what
  platforms support getopt_long() and what header files to use.
  * backend/Makefile.am: Convert backend makefile to automake.
  Initial version that is feature parity with original but uses
  specific rules instead of wildcards and only links in libraries/objs
  really required. Room for more cleanup of whats linked in once
  all makefiles have been converted to automake.
2009-01-31 03:12:18 +00:00
Chris Bagwell 907cbe7ac6 Replace usage of getgrouplist() with
getgrent() and friends.  getgrouplist is not posix and not
on several platforms including cygwin.
2009-01-31 02:18:41 +00:00
Chris Bagwell b52b0c0c14 * backend/epson2.c backend/pixma_bjnp.c, include/sane/sanei_backend.h,
sanei/sanei_tcp.c, sanie/sanei_udp.c: Improve portablity by
  removing usage of MSG_WAITALL since not all platforms support
  that (cygwin).  Default is to be blocking anyways.  Changed
  usage of MSG_NOTWAIT to use fcntl() function as needed as well.
  * configure.in, lib/Makefile.in, lib/strcasestr.c: Add internal
  strcasestr() for platforms missing it (cygwin).
  * pixma_common.c: My source match header prototype for picky
  compilers (cygwin).
  * backend/umax_pp_mid.c: Allow BACKEND_NAME to be filename
  yet debug to be SANE_DEBUG_UMAX_PP to match man page.
2009-01-29 15:10:19 +00:00
Julien BLACHE 4e58745ed9 Add :scsi data for 2 scanners. 2009-01-28 08:14:11 +00:00
Louis Lagendijk 9d7a8353b6 2009-01-27 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c: fixed bug that caused scanner discovery to
        fail when it encountered a point to point link (check data returned
        by getifaddrs()
2009-01-27 20:13:11 +00:00
Chris Bagwell f7b7cd9171 Add AM_MAINTAINER_MODE to prevent regenerating configure script with
possibly broken user autotools.
2009-01-27 01:10:24 +00:00
Pierre Willenbrock d46ce99e7b Change status code for locked head to SANE_STATUS_HW_LOCKED 2009-01-25 22:03:26 +00:00
m. allan noah 24007b49a6 * doc/descriptions/canon_dr.desc: correct version, status = new
* doc/descriptions/epjitsu.desc, doc/descriptions/fujitsu.desc: version
* doc/descriptions/umax1220u.desc: correct status of 1600U
* doc/descriptions/xerox_mfp.desc: status = new
2009-01-25 01:35:54 +00:00
Julien BLACHE 8ea598e21a Update for iScan 2.16.0. 2009-01-23 09:00:30 +00:00
Chris Bagwell 4ed8a4a87c Currently, compiling stubs.c requires its
own compile rule simply to pass in -DSTUBS.  Since its always
required, just define it in stubs.c
2009-01-23 04:05:00 +00:00
Chris Bagwell 8b5df29714 Submit Makefile.in from Makefile.am submitted previously.
Updated backends with EXTRA_* files to allow Makefile's
to always pass in BACKEND_NAME to be fixed to backend name
instead of filename; while still making sure that
SANE_DEBUG_${BACKEND}* exist as documented in man pages.
Add references to epson and epson2 man pages about
SANE_DEBUG_EPSONx_SCSI and _NET options.
Created an epson2 man page; based mostly on epson page.
2009-01-23 03:50:22 +00:00
Stéphane Voltz c3475650ca - added the rts8891 man page to the doc/ makefile
- added the Visioneer XP200 to the genesys desc file
2009-01-22 05:13:00 +00:00
Chris Bagwell e168ad39f3 Run all libcheck tests before failure and look for both static and
shared libraries.  Fixed $srcdir typo in lib/Makefile.in.
2009-01-22 02:23:38 +00:00
m. allan noah 690f1670c3 dont export private symbols 2009-01-21 15:12:08 +00:00
m. allan noah 0c8a3a0775 add MFC-7840W 2009-01-20 01:41:14 +00:00
Nicolas Martin 2628042ada Changes for MF4600 series and a few fixes. 2009-01-19 21:02:26 +00:00
Stéphane Voltz 81953325e8 - add support for uncalibrated scan for Visioneer Strobe XP200
- button support for MD5345, HP2300 and XP200
2009-01-19 05:46:43 +00:00
m. allan noah a0cb0435bc everything reported from 2008-07 to 2009-01 2009-01-19 01:42:27 +00:00
Pierre Willenbrock 35ea4a1250 Reenable clock register setup from sensor struct, set SCANMOD 2009-01-18 16:51:39 +00:00
Pierre Willenbrock acc563e707 Make half-ccd mode optional 2009-01-18 14:20:55 +00:00
Pierre Willenbrock e44981a905 Make some Canon LiDE 35 specific gpio handling conditional, add missing SCANMOD shift. 2009-01-18 14:03:56 +00:00
Pierre Willenbrock db00e6eaa3 Make dpihw depend on sensor pixel count instead of sensor resolution 2009-01-18 14:00:13 +00:00
Pierre Willenbrock d881871d21 Fix prototype of update_hardware_sensors 2009-01-18 13:56:57 +00:00
Chris Bagwell f385169bcf Convert top-level Makefile to be generated by automake.
"dist" target now includes m4 directory. Updated "libcheck"
target to look at dynamic libraries instead of static.
2009-01-18 02:00:25 +00:00
Nicolas Martin 7cb2fedc4a Fixes Busy mode exit processing. 2009-01-17 14:48:19 +00:00
Julien BLACHE a42b57186f Make batch mode create output files atomically. 2009-01-17 10:18:40 +00:00
Julien BLACHE 97903e0c32 Add SCSI identifiers for the ScanJet IIc. 2009-01-17 09:54:21 +00:00
Chris Bagwell 88e5a02910 Updates to Makefiles to prepare for transition to automake.
Fix a few bugs with "all" and "uninstall" targets to work when
$(builddir) != $(srcdir).  Added $(DESTDIR) to uninstall target.
Made $(distdir) related to current directory to match automake.
2009-01-17 04:32:22 +00:00
Chris Bagwell c90e23a6d2 Updates to Makefiles to prepare for transition to automake.
Fix a few bugs with "all" and "uninstall" targets to work when
$(builddir) != $(srcdir).  Added $(DESTDIR) to uninstall target.
Made $(distdir) related to current directory to match automake.
2009-01-16 23:39:48 +00:00
Pierre Willenbrock ba164358db Add support for buttons on Canon LiDE 35/40/50. 2009-01-16 15:31:10 +00:00
Nicolas Martin 292b70dad8 Updated docs, comments and authors for pixma backend 2009-01-15 21:24:24 +00:00
Louis Lagendijk 610aa602e0 2009-01-13 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* AUTHORS: added myself as co-responsible for pixma backend
2009-01-15 20:38:18 +00:00
Alessandro Zummo 7ee4156e7d do not use request_identity2 with
networked scanners, fixed generation of resolution list.
2009-01-15 19:18:05 +00:00
Louis Lagendijk 1b57825ef3 2009-01-13 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c: send broadcasts from bjnp port to make
        firewalling easier
2009-01-13 22:00:32 +00:00
Julien BLACHE 894e0cc8ed Add :scsi keyword to a handful of SCSI scanners known to advertise themselves as type "Processor". 2009-01-13 21:21:09 +00:00
Julien BLACHE acc2b0fccf Add a new :scsi keyword for SCSI devices, add support for SCSI devices
in the udev and HAL FDI outputs.
2009-01-13 21:17:16 +00:00
Julien BLACHE e91b604df7 Replace the obsolete SYSFS{} key by the newer ATTR{} key in the udev output. 2009-01-13 21:14:17 +00:00
Julien BLACHE 4cb1d28a35 Group USB devices by vendor in the HAL FDI output. 2009-01-13 21:11:28 +00:00
Julien BLACHE 59f6298630 Replace opencoded device permissions and ownership by proper definitions. 2009-01-13 20:58:55 +00:00
m. allan noah 92261307ec * sanei/sanei_usb.c: rescan usb every time sanei_usb_init() is called
- remove missing devices, add new devices to global lists
- based on code from stef.dev@free.fr
2009-01-11 00:10:02 +00:00
m. allan noah b900ffd2a3 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v11
- send_panel() can disable too
- add cancel() to send d8 command
- call cancel() only after final read from scanner
- stop button reqests cancel
2009-01-10 23:39:54 +00:00
Jeremy Johnson 887f79a6a4 2009-01-10 Jeremy Johnson <jeremy a t acjlaw dot net>
*backend/hs2p.c replaced ulong with u_long,
	added static keyword for SANE_Status update_hs2p_data()
2009-01-10 21:39:16 +00:00
Jeremy Johnson 38de2aadc7 2009-01-10 Jeremy Johnson <jeremy a t acjlaw dot net>
*backend/hs2p.c:3227 replaced ulong with u_long
2009-01-10 21:34:46 +00:00
Jonathan Bravo Lopez 4b9e686065 * backend/hp3900_sane.c, backend/hp3900_config.c, backend/hp3900_types.c,
backend/hp3900.conf.in, doc/sane-hp3900.man, doc/descriptions/hp3900.desc:
  Added support for HP Scanjet G3110 scanner.
2009-01-06 15:09:22 +00:00
Jeremy Johnson e11de37747 2009-01-05 Jeremy Johnson <jeremy a t acjlaw dot net>
Added code to read_data() to pad image data to
	requested length and to zero out any garbage using
	information from sense data command. Added new
	MAINTENANCE_DATA struct and options to display
	scanner's maintenance/callibration statistics.
	*backend/hs2p.h
	- added enum CONNECTION_TYPES
	- added HS2P_DATA struct
	- added SENSE_DATA struct to struct HS2P_Device
	- added SANE_String_Const orientation_list[]
	- added macros isset_ILI() and isset_EOM()
	*backend/hs2p-scsi.h
	- replaced request_sense struct with SENSE_DATA struct
	- added #define DATA_TYPE_EOL (va_list sentinel)
	- added MAINTENANCE_DATA struct
	*backend/hs2p-saneopts.h
	- added OPT_ORIENTATION
	- added MAINTENANCE_DATA options
	*backend/hs2p.c
	- added MAINTENANCE_DATA options
	- added unused connType to attach()
	- added update_hs2p_data() to fill in options
	- added hs2p_open() and hs2p_close()
	- added get_hs2p_data() to read scanner data
	- added print_maintenance_data()
	- modified sane_control_options() to
	  accomodate new maintenance options and to
	  handle Portrait/Landscape option
	  replaced adf_status macro with s->data.adf_status
	- modified sane_read() to correctly zero out the
	  missing bytes on an incomplete read and to pad
	  to the requested length
	*backend/hs2p-scsi.c
	- replaced request_sense() with get_sense_data()
	- added print_sense_data()
	- added SENSE_DATA *sdp to sense_handler()
	- modified read_data() to handler other data type codes/qualifiers
	- read_adf_status() now is replaced with call to
	  read_data(fd,*buf,*bufsize,dtc,dtq)
2009-01-06 01:21:19 +00:00
Nicolas Martin 27d1561afb Updated doc for pixma backend (ImageClass) 2009-01-04 17:20:38 +00:00
Stéphane Voltz 2fda04000a - restored warming-up broken by a previous commit 2008-12-31 07:11:20 +00:00
Nicolas Martin 751d878c56 Change to include different checksumming for MF41xx and MF42xx series 2008-12-28 09:53:55 +00:00
Alessandro Zummo 642e29f9be backend/epson2.c: changed version code, added protection from wrong settings. 2008-12-26 22:02:32 +00:00
m. allan noah 1f6ae430d7 * backend/fujitsu.[ch]: backend v87
- accept null pointer as empty device name
- track frontend reading sensor/button values to reload
- deactivate double feed options if df-action == default
2008-12-21 20:44:09 +00:00
Nicolas Martin 316027d93d MP800/MP800R fixes and TPU support added, doc updates for MP980 2008-12-21 14:51:26 +00:00
m. allan noah 50176dbf5a * backend/fujitsu.[ch]: backend v86
- get_pixelsize() sets back window ID for back side scans
* doc/sane-fujitsu.man, doc/descriptions/fujitsu.desc: backend v86
2008-12-18 19:36:33 +00:00
Julien BLACHE ec46508258 Use libv4l (libv4l1) for v4l device access in the v4l backend. Gives us
limited v4l2 devices support for free through libv4l1/libv4l2/libv4lconvert.
2008-12-17 15:52:46 +00:00
Julien BLACHE 4930880e8f Unmap mapped buffer in sane_cancel(). 2008-12-17 15:20:31 +00:00
Alex Belkin cebc089532 ChangeLog update for xerox_mfp 2008-12-15 22:01:06 +00:00
Julien BLACHE b9807541c7 Add a data_portrange configuration file option to saned. 2008-12-12 15:51:15 +00:00
Stéphane Voltz fa2f9968e6 - scan register setting fix
- documentation update
2008-12-11 05:35:26 +00:00
m. allan noah 425a3d034d * backend/fujitsu.[ch]: backend v85
- round pixels_per_line down to arbitrary limits for fi-4990 & fi-4860
 - fi-4860 returns random garbage to serial number queries
 - initialize *info to 0 in sane_control_option()
* doc/descriptions/fujitsu.desc: backend v85, improve status/comments
* frontend/scanimage.c: initialize *info, fix buffer overwalk
2008-12-10 21:32:10 +00:00
m. allan noah 41e9763143 * backend/canon_dr.c: backend v10
- add all documented request sense codes to sense_handler()
 - fix color jpeg (remove unneeded BGR to RGB swapping code)
 - add macros for LUT data
* backend/canon_dr.conf.in: add DR-2080C usb ID
* doc/descriptions/canon_dr.desc: backend v10, add DR 3020
2008-12-10 18:47:57 +00:00
m. allan noah 56ed54d96e * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v9
- add rollerdeskew and stapledetect options
- add rollerdeskew and stapledetect bits to ssm_df()
* doc/descriptions/canon_dr.desc: backend v9
2008-12-09 03:21:47 +00:00
m. allan noah 7eedd6b799 * backend/avision.c: backend v289
- fix sending SIGTERM when reader_pid == 0
2008-12-08 14:46:07 +00:00
m. allan noah 8e38974a3e * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v8
- rename read/send_counter to read/send_panel
 - enable control panel during init
 - add options for all buttons
 - call TUR twice in wait_scanner(), even if first succeeds
 - disable rif
 - enable brightness/contrast/threshold options
* doc/descriptions/canon_dr.desc, doc/sane-canon_dr.man: backend v8
2008-12-08 03:47:35 +00:00
Louis Lagendijk 93daeb670f replaced getlogin/getenv by getpwuid(geteuid) as suggested by ulien BLACHE 2008-12-06 18:38:44 +00:00
Louis Lagendijk e9ede962ee backend/pixma_bjnp.c pixma_bjnp_private.h
On Ubuntu getlogin() returns NULL. So we noew first try getlogin()
and if that fails, we try getenv("USER") and if that fails we use
a defaul user string
2008-12-06 16:25:17 +00:00
Stéphane Voltz e04240297d - possible fix for failed scan at 300 and 1200 dpi for
HP4400 with sensor type 2
2008-12-03 20:33:31 +00:00
Julien BLACHE e629a77f7e Fix assignment in if. 2008-12-01 10:11:54 +00:00
Nicolas Martin c40c4e5d77 Updated doc and man pages for MP620. 2008-11-30 22:11:44 +00:00
m. allan noah 3d197a1a64 * backend/canon_dr.[ch]: backend v7
- jpeg support (size rounding and header overwrite)
- call object_position(load) between pages even if buffering is on
- use request sense info bytes on short scsi reads
- byte swap color BGR to RGB
- round image width down, not up
- round image height down to even # of lines
- always transfer even # of lines per block
- scsi and jpeg don't require reading extra lines to reach EOF
- rename buffer option to buffermode to avoid conflict with scanimage
- send ssm_do and ssm_df during sane_start
- improve sense_handler output
* doc/descriptions/canon_dr.desc: backend v7
2008-11-30 03:40:51 +00:00
m. allan noah 5ee6f8de28 * backend/canon_dr.[ch], backend/canon_dr-cmd.c: backend v6
- fix adf simplex
- rename ssm_duplex to ssm_buffer
- add --buffer option
- reduce inter-page commands when buffering is enabled
- improve sense_handler output
- enable counter option
- drop unused code
* doc/descriptions/canon_dr.desc: backend v6
2008-11-29 05:22:37 +00:00
m. allan noah 91598aa800 * backend/*.[ch]: nearly every backend used V_MAJOR
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
m. allan noah 9e0e272a9b backend/canon_dr.[ch], backend/canon_dr-cmd.c,
doc/descriptions/canon_dr.desc: backend v5
- remove EOF ejection code
- add SSM and GSM commands
- add dropout, doublefeed, and jpeg compression options
- disable adf backside
- fix adf duplex
- read two extra lines (ignore errors) at end of image
- only send scan command at beginning of batch
- fix bug in hexdump with 0 length string
- DR-7580 support
2008-11-26 04:37:40 +00:00
Nicolas Martin 251153010d Fixed regression bug at end of scan for all PIXMA, noticeable in multipage ADF scan. 2008-11-25 21:40:54 +00:00
Nicolas Martin af848fd82a Support for PIXMA MP630 to pixma backend, doc and French translations updates. 2008-11-23 21:15:11 +00:00
Stéphane Voltz 12d1b49896 - fix 'commit scan' value. Should fix 150/1200 dpi scan problems
for HP4400 with sensor type 2
2008-11-22 06:40:46 +00:00
Stéphane Voltz b1be8ec61f - calibration fixes for hp440 with sensor type 3 2008-11-20 19:57:28 +00:00
Alessandro Zummo 9227e7d6bc fixed bug when an extended command
was used with D8 level scanners. bug reported
by Kare Sars <kare.sars@kolumbus.fi>
2008-11-18 20:26:55 +00:00
Gerhard Jaeger aa164fb56d * doc/descriptions-external/epkowa.desc:
iscan 2.14.0 updates on behalf of olaf.meeuwissen@avasys.jp
2008-11-17 06:44:28 +00:00
Stéphane Voltz ca5bfa59f3 - fix sensor mis-detection for HP4400
- lighting change for HP4400
2008-11-12 06:59:38 +00:00
m. allan noah 4c0b0a599f backend version 4, eject paper in last sane_read() 2008-11-11 16:58:00 +00:00
m. allan noah 03c5a9ee44 * backend/canon_dr.[ch], backend/canon_dr-cmd.h, doc/sane-canon_dr.man,
backend/canon_dr.conf.in, doc/descriptions/canon_dr.desc:
- New Canon DR-series backend v3
- support all modes and resolutions of DR-9080C
- advanced options (MF detection, compression) not yet supported
- other larger models believed similar, smaller ones unknown
* doc/descriptions/unsupported.desc: remove Canon DR-series machines
2008-11-10 03:36:11 +00:00
m. allan noah f4ccd1c46b * backend/fujitsu.c: backend v84
- round lines down to even number to get even # of total bytes
- round binary bpl and Bpl down to byte boundary
2008-11-07 17:33:39 +00:00
m. allan noah 2b2923b154 * backend/fujitsu.[ch]: backend v83
- round binary bpl and Bpl up to byte boundary
- use s->params instead of user data in set_window()
- read_from_scanner() only grabs an even number of lines
2008-11-07 02:03:32 +00:00
Louis Lagendijk a1f9143a41 2008-10-31 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* Pixma backend (pixma.c/pixma_common.c/pixma_io_sanei.c/pixma_bjnp.c)
          bjnp tcp connection is now de-activated after initialization and
          re-activated at start of scanning. If we do not do this, the scanner
          closes its side of the connection after 30 secods of inactivity.
          Added a maximum to the retry of slect calls when signals are
          received
          Added blocksize detection for tcp read_bulk call
2008-11-05 20:53:30 +00:00
m. allan noah b57a64d79e * sanei/sanei_usb.c, include/sane/sanei_usb.h:
- shorten debug lines to fit in 80 chars
- add sanei_usb_clear_halt() required by upcoming canon_dr backend
2008-11-05 02:30:44 +00:00
m. allan noah 8eaa9c65e4 fujitsu backend v82
- improved front-side endorser vpd detection
- send scanner_control_ric during sane_read of each side
- add fi-6770A and fi-6670A USB ID's
2008-11-01 01:34:18 +00:00
Louis Lagendijk ab53b7e884 2008-10-31 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c corrected small typo
2008-10-31 22:57:33 +00:00
Louis Lagendijk 18ce7b4e0f 2008-10-31 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c
           Added retry to select() calls when they get interrupted by a
           signal. This solves problems in xsane after a first scan completed.
           There is still an issue that scanner closes tcp connection after
           30 seconds of inactivity
           backend/pixma_bjnp.c backend/bjnp_private.h
           Marked local functions as static and removed them from ..private.h
2008-10-31 20:32:30 +00:00
Stéphane Voltz 948020bf1c - added 600 and 1200 dpi scans for HP4400
- added 600 and 1200 dpi scans for HP4470 with 'xpa' sensor
2008-10-31 06:15:26 +00:00
Nicolas Martin 173e05ffd1 TPU scan 48 bits at 4800 dpi, fix MP810 at 2400 dpi. Updated docs. 2008-10-25 15:22:04 +00:00
Louis Lagendijk 69c9248356 2008-10-25 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* Added configuration  file support for pixma backend
        Currently used only for configuration of network scanners.
2008-10-25 14:56:11 +00:00
Nicolas Martin 677e4e5dd5 TPU 48 bits depth scan on MP970, min 300 dpi in TPU mode, Legal paper size for MX850 or MX7600 ADF scan 2008-10-22 20:35:25 +00:00
Louis Lagendijk 1b5f65b930 2008-10-21 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* Added #ifdef around defintions of MIN and MAX in pixma_common.h
        - Re-enable includes in pixma_bjnp.c as they are needed on Freebsd
        - Replaced getaddrinfo by gethostbyname in pixma_bjnp.c as this is
          supported on OS/2 as well
2008-10-21 21:37:34 +00:00
m. allan noah a65329e472 * doc/descriptions/fujitsu.desc: backend v81, fix fi-6240 usb id 2008-10-21 17:52:11 +00:00
m. allan noah df25acfd38 * backend/fujitsu.[ch], backend/fujitsu-scsi.h: backend v81
- increase USB timeouts
- enable get_pixelsize() to update scan params after set_window()
- remove even_scan_line hack
2008-10-20 18:03:19 +00:00
Nicolas Martin 399a23cb9f ifaddrs.h header check and increase backend version number 2008-10-18 22:28:47 +00:00
Stéphane Voltz 5633288e36 - added 300 dpi scans for HP4400, sensor type 2 2008-10-15 05:01:28 +00:00
Stéphane Voltz 8d3d0f1037 - added 150 dpi scan for HP4400
- added sensor detection for HP4400
2008-10-15 04:36:30 +00:00
Nicolas Martin 391a6b4549 Added Canon's BJNP network protocol support, fix an ADF issue, updated doc and headers 2008-10-14 19:48:59 +00:00
m. allan noah 56ae50027a * doc/descriptions/fujitsu.desc, doc/sane-fujitsu.man: backend v80 2008-10-10 00:51:31 +00:00
m. allan noah 0f3d11f498 * backend/fujitsu.c: backend v80
- front-side endorser uses data ID 0x80
2008-10-09 00:43:06 +00:00
Stéphane Voltz 049d3c644f - fixed a configuration option bug 2008-10-06 04:25:23 +00:00
Nicolas Martin 1aa1677ef2 Changes for ADF simplex and duplex scan, MP970 4800 dpi and TPU scan. 2008-10-05 20:42:19 +00:00
m. allan noah 9371a0c8fb * backend/epjitsu.[ch]: backend v17:
- increase scan height ~1/2 inch due to head offset
- change page length autodetection condition
2008-10-03 15:54:39 +00:00
Stéphane Voltz 7069ba9295 - added a SANE_CURRENT_MINOR define 2008-10-03 04:45:32 +00:00
Stéphane Voltz 0214a5091b - add a 'sensornumber' option to override sensor detection 2008-10-02 19:54:52 +00:00
m. allan noah 5de0ac3014 add iscan 2.12.0 updates 2008-10-02 14:29:00 +00:00
m. allan noah 48e23ca24e * doc/descriptions/fujitsu.desc, backend/fujitsu.conf.in,
backend/fujitsu.[ch], backend/fujitsu-scsi.h: backend v79
- add usb ids for several models
- print additional hardware capability bits
- detect front-side endorser
- disable endorser-side controls if only one side installed
- add quirks for fi-6x70
2008-10-02 04:03:31 +00:00
m. allan noah 7274bfc500 * backend/epjitsu.[ch]: backend v16:
- split fill_frontback_buffers_S300 into 3 functions
- enable threshold_curve option
- add 1-D dynamic binary thresholding code
- remove y-resolution option
- pad 225x200 data to 255x225
2008-10-02 03:38:40 +00:00
Gerhard Jaeger 98de411d6c Added entry for OpticSlim 2400plus 2008-10-01 11:44:54 +00:00
Gerhard Jaeger 2d36b65f55 * doc/descriptions/plustek.desc: Added entry for UT12 devid 0x0013
* doc/descriptions/unsupported.desc: Removed entry for UT12 devid 0x0013
2008-10-01 10:36:28 +00:00
Stéphane Voltz db0188805e - fix HP4400 head parking 2008-09-26 04:47:54 +00:00
m. allan noah 0bbf8bac04 2008-09-25 m. allan noah <kitno455 a t gmail d o t com>
* backend/epjitsu.[ch], backend/epjitsu-cmd.h: backend v 13, 14 and 15:
        - add working page-height control
        - add working brightness, contrast and threshold controls
        - add disabled threshold curve and geometry controls
        - move initialization code to sane_get_devices, for hotplugging
        - support S300 on USB power
        - support S300 225x200 and 600x600 scans
        - support for automatic paper length detection (parm.lines = -1)
        - expose hardware buttons/sensors as options for S300
        * doc/descriptions/epjitsu.desc: change S300 status to good
2008-09-25 03:15:49 +00:00
m. allan noah ba856d2aec 2008-09-25 m. allan noah <kitno455 a t gmail d o t com>
* include/sane/saneopts.h: underscore not allowed in option names
        * frontend/scanimage.c: fix broken unknown length (-1) binary scans,
          fix invalid tiff height with unknown length scans, fix compiler warn
2008-09-25 02:39:52 +00:00
Stéphane Voltz c2f747a22d - fixed typo in HP4400 sensor detection 2008-09-23 19:22:42 +00:00
Stéphane Voltz 9f081c4508 - head parking fix for HP4400
- 75 dpi support for a sensor varaint of the HP4400
	- better sensor detection at init
2008-09-20 07:00:10 +00:00
Nicolas Martin 5ab0b2024c Changes for MP970 (to be continued), add MX7600 pid (untested yet). 2008-09-13 12:32:52 +00:00
Stéphane Voltz c21bb0ab56 - fix head parking for HP4400
- tune dark calibration for HP4400
2008-09-11 04:38:19 +00:00
Nicolas Martin 286dbd885d Doc update, CCD sensors white lines padding fix, enhance scan area adjustments. 2008-09-07 19:08:25 +00:00