Wykres commitów

31 Commity (a7d3fa19e8de377354ea3ed987fea02253b04086)

Autor SHA1 Wiadomość Data
Abel Deuring 6a57e91a51 * sanei/sanei_scsi.c: Added checks to the Linux part of
sanei_scsi_open_extended, if an SG device file is being
          opened

Abel
2002-02-09 16:37:21 +00:00
Abel Deuring 7fbdae8348 sanei/sanei_scsi.c: set timeout value for all operating
systems to 1 minute. The timeout value is now derived from
the macro SANE_SCSICMD_TIMEOUT.

Abel
2002-01-20 15:53:22 +00:00
Abel Deuring 1909b7f500 Replaced the configure option --enable-diretio with --enable-scsi-directio
and --enable-parport-directio.

NOTE: While I know, what the SCSI direct IO means, I have no idea, what
direct IO means in the context of the parport, so somebody needs to add
some useful description about parport direct io to configure.in and to
README (or README.linux)
2001-12-28 13:26:12 +00:00
Henning Geinitz c91858cf87 OS/2 changes: Removed semaphore code and
increased MAX_DATA to 64k (from "Franz Bakan" <fbakan@gmx.net>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-11-22 20:31:18 +00:00
Abel Deuring e4867cd08d Removed the #ifdef SG_IO/#endif around #include linux_sg3_err.h in
sanei_scsi.c. Now causes a compiler error, because some macros defined there
are used for the old SG interace too.

Thanks to Henning for discovering the bug

Abel
2001-11-11 22:49:51 +00:00
Abel Deuring b415404a29 sanei_scsi.c: patches for the Linux part committed: better error handling;
the residual return by the SG driver v§ is now ignored

sharp.c: Now retries SCSI READ commands, if sanei_scsi_rweq_wait returns
STATUS_BUSY

Abel
2001-11-11 15:56:50 +00:00
Henning Geinitz 365d3f2e64 Fixed detection of SCSI devices that return
device strings (vendor, product) consisting of spaces.
sanei_scsi_req_enter2 was changed to copy the CDB and data before
sending it to the device. Both patches are from Abel Deuring.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-09-21 11:29:13 +00:00
Oliver Rauch 590e9ea4b2 2001-06-13 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* sanei/sanei-scsi.c: Corrected bug in sanei_scsi_cmd2 for IRIX:
          - scsi_req.ds_senselen has been set to sizeof pointer, is set
            to 128 bytes now (1024 bytes does not work)
          - sensebuf is cleared before scsi command is executed
          - sensehandle always called when it exists and an error occurs
2001-06-13 16:16:09 +00:00
Oliver Rauch 69edd5604f 2001-06-09 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* sanei/sanei_scsi.c:
          applied patch by Douglas Gilbert <dgilbert@interlog.com>
          that solves compilation problem about:
          storage size of `ssid' isn't known
2001-06-09 19:59:47 +00:00
Henning Geinitz 7716aa8409 Use local assert.h file to fix problems with AIX and shared libraries.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-04 20:19:32 +00:00
Henning Geinitz 2e9c025c4d Fixed some small bugs concerning error reporting.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-04 11:09:55 +00:00
Henning Geinitz 021a47f2e1 Fixed compilation issue for OS/2 in sanei_scsi_find_devices.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-31 17:32:38 +00:00
Oliver Rauch a917e2d039 2001-05-30 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* Problem with SOLARIS_INTERFACE (change from 2001-05-27)
          had an other reason than the scsi buffer size (MAX_DATA).
          Changed scsi buffer size for solaris sg driver
          (USE == SOLARIS_INTERFACE in sanei_scsi.c) again from 32 KB
          to 128KB.
2001-05-30 17:00:09 +00:00
Oliver Rauch 9225208519 2001-05-27 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* changed scsi buffer size for solaris sg driver
          (USE == SOLARIS_INTERFACE in sanei_scsi.c) to 32 KB
          again because it does not work for at least one system
          with 64KB.
2001-05-27 21:01:46 +00:00
Oliver Rauch bd82fa1557 Oliver Rauch:
cosmetic changes in just applied changes to sanei/sanei_scsi.c
2001-05-27 10:26:20 +00:00
Oliver Rauch eb8916c209 2001-05-27 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* sanei/sanei_scsi.c: changed scsi buffer size (MAX_DATA)
          to 128KB for: SOLARIS_INTERFACE, SOLARIS_SG_INTERFACE,
          SOLARIS_USCSI_INTERFACE and IRIX_INTERFACE
          (some scanners have problems with the predefined 32KB
           buffer size, these systems should work with 128KB
           but we need to test if no problems do occur).
2001-05-27 10:24:04 +00:00
Oliver Rauch 2246581236 2001-05-07 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* applied a patch by Douglas Gilbert to sanei_scsi.c
          it solves the Problem that the scanner is not
          found on linux systems when the order of the
          scsi devices is not coverd by the order of
          devices listed by /proc/scsi/scsi, it prefers
          new kernel 2.4 methods when available
2001-05-07 16:05:23 +00:00
Henning Geinitz 69fe89db99 Added support for Solaris sgen SCSI driver (patch from Juergen Keil
<jk@tools.de>).
2001-05-01 21:08:45 +00:00
Abel Deuring 2b29b35e30 sanei_scsi.c: Fixed a buf in the rror handling for the Linux SG driver v3.x;
disabled direct IO by default
2001-04-10 22:38:01 +00:00
Abel Deuring 0c18bf49c4 bug in the Solaris/Schilling driver part of sanei/sanei_scsic
(null pointer dereference) fixed.
bug in backend/tatamrack.c (inconsistent arguments of sanei_scsi_cmd) fixed.
2001-02-26 23:01:43 +00:00
Abel Deuring ce819d5714 New version of linux_sg3_err.h without
#include <linux/../scsi/sg.h>;
even more debug output in sanei_scsi.c.
2001-01-31 21:54:48 +00:00
Petter Reinholdtsen f406a1bc40 Make sure to initialize uninitialized variable 'defined' to zero. 2001-01-14 23:55:52 +00:00
Abel Deuring 56664981bf sanei_scsi.c: fixed SCSI command timeout... Has been set to 100 minutes
instead of 10.
2001-01-10 21:00:53 +00:00
Abel Deuring 3da13374b6 sanei_scsi.c: timeout for SCSI commands sent via the Linux SG driver version
3 increased.
2001-01-09 22:05:48 +00:00
Abel Deuring 08025d783b sanei_scsi.c: Added support for Linux devfs + improved detection of
sanei_scsi_max_request_size.

backend/sharp.c: now checks for existence of shm.h
2001-01-07 18:07:59 +00:00
Henning Geinitz 0268deab2e 2000-12-23 Henning Meier-Geinitz <hmg@gmx.de>
* NEWS: Added date of release.
	* TODO: Removed entries about PATH_MAX, sanei_scsi_find_devices, and
	  shm.h. Added entry about the necessity to check HAVE_SYS_SHM_H.
	* configure configure.in include/sane/config.h.in: Default to
	  --enable-warnings again. Don't set "-ansi" for OS/2. Test for
	  sys/shm.h.
	* backend/GUIDE: Moved to doc/backend-writing.txt.
	* doc/backend-writing.txt: New file (moved from backend/GUIDE).
	  Added comments about sanei-backend.h and PATH_MAX.
	* include/sane/sanei_backend.h: Added define for PATH_MAX (if
	  necessary).
	* sanei/sanei_scsi.c: Implemented sanei_scsi_find_devices for FreeBSD
	  (from ports@FreeBSD.org).
	* tools/Makefile.in: Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for
	  sane-config (from ports@FreeBSD.org).
2000-12-23 16:06:22 +00:00
Henning Geinitz de567c6156 2000-11-30 Henning Meier-Geinitz <hmg@gmx.de>
* README.irix: Removed. Problem with libjpeg is solved.
	* TODO: Updated. Removed hpoj addition. Added snapscan link. Added
	  entry about net backend segfaulting if using net:localhost. Removed
	  artec O_SYNC problem. Removed Irix jpeg problem. Removed PTAL
	  addition.
	* doc/saned.man: Added paragraph about xinetd (from Matt Mozur
	  <matt.mozur@sourwood.net>). Removed links to backends, added
	  sane-"backendname" instead.
	* doc/sane-net.man: Added comment about segfaults if scanning
	  on localhost.
	* sanei/sanei_scsi.c: Added missing DBG_INIT (from FreeBSD ports).
2000-11-30 19:50:56 +00:00
Abel Deuring 036be80a02 new attempt to add the errno patch to the Linux command queueing 2000-08-23 15:15:36 +00:00
Petter Reinholdtsen b4a1a513c9 Merge devel (v1.0.3) into head branch. 2000-08-12 15:11:46 +00:00
Petter Reinholdtsen 760423d864 Merged main branch with current DEVEL_1_9. 2000-03-05 13:57:25 +00:00
Petter Reinholdtsen 30ab5e718a Initial revision 1999-08-09 18:06:01 +00:00