From 4c314781c59995544c9b760431b20b3cd8fd91ba Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Tue, 8 Jun 2004 11:25:57 +0000 Subject: [PATCH] Mention SCSI buffer size problems and uk/ss files issue. --- ChangeLog | 2 ++ README.netbsd | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 050722eb8..f3c4bb5b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ 2004-06-08 Henning Meier-Geinitz * tools/RenSaneDlls.cmd: Fixed newlines. + * README.netbsd: Mention SCSI buffer size problems and uk/ss files + issue. 2004-06-06 Karl Heinz Kremer diff --git a/README.netbsd b/README.netbsd index 7aa0b4956..ceab0b979 100644 --- a/README.netbsd +++ b/README.netbsd @@ -8,11 +8,22 @@ SANE should compile and install out-of-the-box. SCSI-scanners: -------------- -If the SCSI host adapter is supported, there are no known problems. Try -sane-find-scanner to find out the correct device and edit the backend's -configuration file appropriately or set a link /dev/scanner to the device -file. Auto-configuration using the "scsi *" lines in the config files -doesn't work. +SANE only supports the generic /dev/uk? devices. /dev/ss? won't work. If your +scanner is detected by the ss driver, disable the driver with the "config" +utility or compile a new kernel without ss. Set a link /dev/scanner to /dev/uk0 +(or whatever you use) and/or edit your backend's config file +appropriately. Don't forget to set up permissions to the device file correctly +for access by a non-root user (read/write). Auto-configuration using the "scsi +*" lines in the config files doesn't work. + +Scanners with higher resolutions need bigger SCSI buffers. Therefore, edit +sanei/sanei_scsi.c and look for these lines: + +#ifndef MAX_DATA +# define MAX_DATA (32*1024) +#endif + +Increase the buffer size to e.g. 128 * 1024. Recompile. USB-scanners: -------------