Small patches for SANE 1.01 pre4

Petter Reinholdtsen (pere@hungry.com)
Sun, 4 Apr 1999 18:16:28 +0200

Here is a small patch relative to 1.01 pre4.

diff -ru sane-pre1.01-4/ChangeLog sane-pre1.01-4-pere/ChangeLog
--- sane-pre1.01-4/ChangeLog Sun Apr 4 01:17:20 1999
+++ sane-pre1.01-4-pere/ChangeLog Sun Apr 4 18:10:00 1999
@@ -1,3 +1,9 @@
+1999-04-04 Petter Reinholdtsen <pere@td.org.uit.no>
+ * PROBLEMS: Updated note on SG_BIG_BUF.
+ * tools/README: Corrected typo. Added some notes on
+ mustek600iin-off.
+ * tools/mustek600iin-off.c: Remove hardcoded path to mustek.conf.
+
1999-04-03 David Mosberger-Tang <David.Mosberger@acm.org>

* include/sane/sanei_debug.h: Define sanei_debug_BACKEND_NAME only
diff -ru sane-pre1.01-4/PROBLEMS sane-pre1.01-4-pere/PROBLEMS
--- sane-pre1.01-4/PROBLEMS Fri Jul 24 07:01:45 1998
+++ sane-pre1.01-4-pere/PROBLEMS Sun Apr 4 17:36:23 1999
@@ -46,6 +46,11 @@
the Linux kernel uses a smaller value, scanning will fail with
"out of memory" errors. To fix this problem, increase SG_BIG_BUFF
to the old value, rebuild the kernel, then reboot the machine
+ Newer versions of SANE (>1.01) tries to read the current
+ SG_BIG_BUFF from /proc/sys/kernel/sg-big-buff which is
+ available with newer linux kernels ( > 2.2.0 ?).
+ XXX not sure when this kernel feature was made
+ XXX available. [pere 1999-04-04]

- xscanimage/xcam crashes X server on Linux/Alpha
Older versions of the TGA X server (such as version 3.1.2) are known
diff -ru sane-pre1.01-4/tools/README sane-pre1.01-4-pere/tools/README
--- sane-pre1.01-4/tools/README Thu Nov 13 05:49:52 1997
+++ sane-pre1.01-4-pere/tools/README Sun Apr 4 17:59:10 1999
@@ -5,7 +5,7 @@
find-scanner:
Attempts to find a scanner attached to your system.
Invoke with "find-scanner -h" to get command-line
- sytax.
+ syntax.

xerox:
A simple script to make photocopies ("xeroxing"). In
@@ -13,3 +13,6 @@
assigned to variable DEV and the resolution assigned
to variable RES as well as the paper with and height
(variables WIDTH and HEIGHT, respectively.
+
+ mustek600iin-off:
+ Allows you to turn off a Mustek 600 II N scanner.
\ No newline at end of file
diff -ru sane-pre1.01-4/tools/mustek600iin-off.c sane-pre1.01-4-pere/tools/mustek600iin-off.c
--- sane-pre1.01-4/tools/mustek600iin-off.c Wed Mar 3 07:15:38 1999
+++ sane-pre1.01-4-pere/tools/mustek600iin-off.c Sun Apr 4 17:52:23 1999
@@ -25,10 +25,11 @@
andreas.czechanowski@ins.uni-stuttgart.de
*/

-#define MUSTEK_CONF "/usr/local/etc/sane.d/mustek.conf"
-#define PORT_DEV "/dev/port"
-
#include <sane/config.h>
+#include <sane/sanei.h>
+
+#define MUSTEK_CONF STRINGIFY(PATH_SANE_CONFIG_DIR) "/mustek.conf"
+#define PORT_DEV "/dev/port"

#include <stdio.h>
#include <stdlib.h>

-- 
##>  Petter Reinholdtsen  <##  |  pere@td.org.uit.no

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com