Wykres commitów

215 Commity (2c7d3ea4d8d1c0f21de870325ab587f3d4a461fd)

Autor SHA1 Wiadomość Data
Jochen Eisinger eb446e2de1 2005-11-28 Jochen Eisinger <jochen@penguin-breeder.org>
* sanei/sanei_pa4s2.c: incorrect test of a bit mask.
2005-11-28 22:24:17 +00:00
Mattias Ellert cfd52e328f Adding some debugging. Fixing some warnings. 2005-11-22 21:17:20 +00:00
Oliver Schwartz 034f05523d Fixes for Benq 5000 2005-11-02 19:22:06 +00:00
Henning Geinitz f85bbc0a0b Added support for detecting vendor and product id with FreeBSD kernel scanner
driver (based on patch in FreeBSD ports).
2005-11-01 20:57:03 +00:00
Henning Geinitz 947339db25 Run "makedepend" if it's available. This way "make" builds
backends correctly even if only included files (e.g. headers) are
	  changed. Don't be too verbose when running makedepend.
	  Create links libsane-*.so.1 to the real library files if the
	  links are not there. This fixes dynamic loading on OpenBSD. The
	  links are not created for MacOS X as they don't work there.
	  Remove any libsane.* links in /usr/local/lib/sane. Such links
	  are created by libtool. As they point to libsane-v4l.so,
	  scanimage -L doesn't find any scanner in case of ld.so
	  misconfigurations.
	  The install target is much quiter now and prints the libtool
	  message only once now.
2005-10-29 20:01:54 +00:00
Henning Geinitz b27183004c Ignore EBUSY from usb_set_configuration. This function fails, if a different
interface of the same device is claimed (e.g. by usblp).
2005-09-23 12:52:35 +00:00
Mattias Ellert 21f94b0264 Fix SANE_DEBUG_SANEI_PV8630 2005-09-22 19:02:25 +00:00
Henning Geinitz 4b2d240870 Minor fixes for usbcalls interface (patch from Paul Smedley <paul@smedley.info>). 2005-08-09 16:28:38 +00:00
Henning Geinitz b29ea31da2 Fixed some compilation warnings. 2005-08-07 15:53:03 +00:00
Henning Geinitz 2d224c4a75 Added support for usb functionality on OS/2 using the usbcalls interface (patch
from Paul Smedley <paul@smedley.info>).
2005-08-07 14:26:33 +00:00
Henning Geinitz 00e9b16d58 Removed "const" to make gcc on OS/2 happy. 2005-07-17 16:18:34 +00:00
Henning Geinitz 6c3427c52d Changes to support SANE on ZETA. Not all
patches have been applied yet, but it's a start. The backends
	  are not installed as shared libs but as add-ons, which are shared libs
	  but in a specific folder in [/system|~]/config/add-ons/ named SANE/.
	  The install target has been changed to account for this,
	  Some files don't exist in BeOS/ZETA (ipc.h, ...).
	  Bbackend function names get a prefix, I suppose to avoid namespace clashes.
	  Though we do have a libdl to implement dl_open, the native way is prefered.
	  Added a --with-docdir= configure arg.
	  BeOS has a broken get[name|addr]info() from bind. This is fixed in ZETA R1.
	  libtool needs -no-undefined. Various VPATH fixes.
	  Check for <be/drivers/USB_scanner.h>, but not used yet.
	  No S_IFSOCK (sockets are fds to /dev/net/api). Stub pio code, untested.
	  Patch from Francois Revol <revol@free.fr>.
2005-07-15 21:59:25 +00:00
Henning Geinitz 2dd4b1822c Fixed comment (we still use 30 seconds USB timeout by default). 2005-07-15 18:16:35 +00:00
Rene Rebe e5193fdcae Added support to set the USB timeout. 2005-07-15 09:02:02 +00:00
Gerhard Jaeger 87b05d4524 Added PATH_MAX, in case it's not defined by any
header (i.e. OS/2).
2005-05-10 06:51:25 +00:00
Gerhard Jaeger 7cc112b202 Added outb_eppdata() functionality (thanks to Anderson Lizardo). 2005-04-25 09:51:32 +00:00
Gerard Klaver 7e1d450ca9 -More debug info for control and isochronous mode
-Detects endpoints for different configurations, interface and
altsetting numbers > 0
- Routine added for changing configuration, interface or altsetting
number
   sanei_usb_set_configuration
   sanei_usb_claim_interface
   sanei_usb_release_interface
   sanei_usb_set_altinterface
2005-04-15 20:48:24 +00:00
Jochen Eisinger ecdbf48171 2005-04-10 Jochen Eisinger <jochen@penguin-breeder.org>
* backend/mustek_pp.c, backend/mustek_pp.conf, sanei/sanei_pa4s2.c,
	  include/sane/sanei_pa4s2.h, doc/sane-mustek_pp.man: added global
	  option "no_epp" to work around a known bug in the linux parport
	  code.
2005-04-10 11:53:16 +00:00
Gerhard Jaeger d498239305 Initial checkin. 2005-04-01 14:04:19 +00:00
Gerhard Jaeger ada4c07892 Added sanei_access.c 2005-04-01 14:03:52 +00:00
Gerhard Jaeger 7193bf15f9 Cleanup, uses now static array for parport
management instead of dynamically allocated.
Fixes at least a potential memory leak.
2005-02-08 11:32:14 +00:00
Rene Rebe 2d579021a0 2004-11-19 Rene Rebe <rene@exactcode.de>
* sanei/sanei_usb.c configure.in: use usb_interrupt_read instead of
          usb_bulk_read for sanei_usb_read_int. Fixes bug #300878. Added a                missing DBG output in sanei_usb_read_int. Check for
          usb_interrupt_read to make sure, we have at least version 0.1.8.
2004-11-19 16:44:32 +00:00
Frank Zago 5cab9b20c7 fixes for 64 bits platforms. 2004-11-13 19:43:01 +00:00
Henning Geinitz 008bc74603 Limit the total amount of memory used for arrays and pointers while decoding the
wire to 1 MB (bug #300158). Run "make clean" before "make"!
2004-10-14 17:15:23 +00:00
Gerhard Jaeger 0fb34bb098 Added missing pthread_detach() so the thread resources could be reused again. 2004-10-14 06:51:17 +00:00
Henning Geinitz af58065746 64 bit platform fixes (bug #300799). 2004-10-03 17:34:36 +00:00
Gerhard Jaeger 62e590d341 Removed "wrong" return... 2004-08-30 13:26:41 +00:00
Gerhard Jaeger d27a5ab9ce Fixed memory leak. 2004-08-30 11:52:15 +00:00
Gerhard Jaeger ab64285ff9 Added resource manager library support. 2004-07-26 15:15:39 +00:00
Gerhard Jaeger 31633a2f0e Cleanup work. 2004-07-16 11:49:16 +00:00
Mattias Ellert ac9ec0ff1c Missed one... 2004-06-20 01:22:44 +00:00
Mattias Ellert 3458605b55 SCSI scanners can now be selected by LUN on MacOS X
sane-find-scanner now finds SCSI scanners on MacOS X
making some sanei_scsi internal functions static
2004-06-19 21:31:42 +00:00
Gerhard Jaeger 1cb426ee47 fixed compilation problem on HP-UX. 2004-05-22 13:54:29 +00:00
Oliver Rauch a28bd84350 Added DIR_SEP and PATH_SEP defintions for windows 2004-05-16 22:08:03 +00:00
Gerhard Jaeger c95a1a3cde fixed some warning conditions. 2004-04-14 19:33:56 +00:00
Gerhard Jaeger 7344dc079f Fixes bug-reports #300617 & #300618. 2004-04-09 12:19:47 +00:00
Jochen Eisinger 088177205c 2004-04-06 Jochen Eisinger <jochen@penguin-breeder.org>
* sanei/sanei_pa4s2.c include/sane/sanei_pa4s2.h, backend/mustek_pp.c:
	  fixed compiler warnings
2004-04-09 08:50:57 +00:00
Jochen Eisinger 40638d29d7 2004-04-06 Jochen Eisinger <jochen@penguin-breeder.org>
* sanei/sanei_pa4s2.c include/sane/sanei_pa4s2.h, backend/mustek_pp.c:
	  fixed compiler warnings
2004-04-06 18:02:57 +00:00
Henning Geinitz f99aea20cb Increased SCSI buffer size on MacOS X. Patch from Mattias Ellert, bug #300601. 2004-03-29 18:01:23 +00:00
Henning Geinitz b79b8b4db3 Fixed inconsistent error message (patch from Mattias Ellert <mattias.ellert@tsl.uu.se>). 2004-02-04 20:27:58 +00:00
Gerhard Jaeger 1fc1de58c5 Added MacOSX patch for sanei_thread_kill(). 2004-02-01 19:14:28 +00:00
Gerhard Jaeger afa13763ec fixed return value handling for sanei_wait_pid(). 2004-01-13 07:40:28 +00:00
Julien BLACHE f048679136 * sanei/sanei_pa4s2.c: libieee1284 support for scsi_pp functions. This is untested but should work. 2004-01-10 18:38:34 +00:00
Henning Geinitz e7484c515e Silenced some compilation warnings. 2003-12-27 17:48:39 +00:00
Henning Geinitz 08486e6be4 Added support for Mustek Paragon 600 II EP (SCSI-over-parallel port). This is
based on a patch from James Perry. Support for libiee1284 is missing until
now. Closes bug #300143.
2003-12-25 20:27:49 +00:00
Henning Geinitz c4743af452 Fixed overflow (bug #300389). 2003-12-21 21:54:29 +00:00
Henning Geinitz 895dc697d3 Check for /dev/uscanner* for NetBSD and OpenBSD. Patch from bug tracker
#300373.
2003-12-06 16:36:26 +00:00
Henning Geinitz 66f4a68325 sanei_scsi.c should now compile with the new and old SCSI API of MacOS X. Patch
from Mattias Ellert <mattias.ellert@tsl.uu.se>.
2003-12-06 13:38:47 +00:00
Jochen Eisinger f5c4172119 2003-11-23 Jochen Eisinger <jochen@penguin-breeder.org>
* backend/mustek_pp.c, sanei/sanei_pa4s2.c: added support for auto
	  probing of the port
	* configure{.in}, backend/mustek_pp_ccd.*, backend/Makefile.in,
	  backend/dll.conf, doc/sane-mustek_pp_ccd.man, doc/sane.man,
	  doc/Makefile.in, doc/descriptions/mustek_pp_ccd.desc: mustek_pp_ccd
	  backend removed
	* backend/mustek_pp.conf, mustek_pp_ccd300.[ch],
	  doc/sane-mustek_pp.man, doc/descriptions/mustek_pp.desc: fixed CCD
	  support for mustek_pp backend
	* backend/mustek_pp_null.c: beautified debug scanner name
2003-11-24 08:58:19 +00:00
Gerhard Jaeger bf91647c3d Fixed parport mode setting in direct mode. 2003-11-04 18:20:53 +00:00