kopia lustrzana https://gitlab.com/sane-project/backends
2000-09-18 Henning Meier-Geinitz <hmg@gmx.de>
* README: Removed comment about xscanimage error message. Added comment about find-scanner (may find scanners not supported by SANE). * tools/README: Added comment about find-scanner and some lines about sane-desc.el and sane-config. * tools/find-scanner.c: Added comment about scanners not supported by SANE. Removed some warnings. * TODO LEVEL2: Removed xscanimage error comment from TODO and moved ideas for SANE 2.0 from TODO to LEVEL2.DEVEL_2_0_BRANCH-1
rodzic
7f1f08b1cc
commit
2350fef3ba
6
README
6
README
|
@ -189,9 +189,13 @@ should produce output similar to this:
|
||||||
find-scanner: found "MUSTEK MFC-06000CZ 1.01" at device /dev/scanner
|
find-scanner: found "MUSTEK MFC-06000CZ 1.01" at device /dev/scanner
|
||||||
find-scanner: found "MUSTEK MFC-06000CZ 1.01" at device /dev/sge
|
find-scanner: found "MUSTEK MFC-06000CZ 1.01" at device /dev/sge
|
||||||
|
|
||||||
|
Note that find-scanner will find any scanner that is connected to a
|
||||||
|
SCSI bus. It will even find scanners that are not supported at all
|
||||||
|
by SANE.
|
||||||
|
|
||||||
There may be several causes for the following messages from the
|
There may be several causes for the following messages from the
|
||||||
frontends: "scanimage: no SANE devices found" or "xscanimage: no
|
frontends: "scanimage: no SANE devices found" or "xscanimage: no
|
||||||
devices available." (together with a GTK error message).
|
devices available.".
|
||||||
|
|
||||||
* Your scanner is not recognized by any backend. It is not supported.
|
* Your scanner is not recognized by any backend. It is not supported.
|
||||||
You may ask the maintainer of your backend (see AUTHORS) or
|
You may ask the maintainer of your backend (see AUTHORS) or
|
||||||
|
|
19
tools/README
19
tools/README
|
@ -1,11 +1,13 @@
|
||||||
Wed Nov 12 20:47:04 1997
|
Mon Sep 18 19:38:21 CEST 2000
|
||||||
|
|
||||||
This directory contains various tools that may be useful:
|
This directory contains various tools that may be useful:
|
||||||
|
|
||||||
find-scanner:
|
find-scanner:
|
||||||
Attempts to find a scanner attached to your system.
|
Attempts to find a SCSI scanner attached to your system.
|
||||||
Invoke with "find-scanner -h" to get command-line
|
Invoke with "find-scanner -h" to get command-line
|
||||||
syntax.
|
syntax. Note that find-scanner will find any scanner that
|
||||||
|
is connected to a SCSI bus. It will even find scanners
|
||||||
|
that are not supported at all by SANE.
|
||||||
|
|
||||||
xerox:
|
xerox:
|
||||||
A simple script to make photocopies ("xeroxing"). In
|
A simple script to make photocopies ("xeroxing"). In
|
||||||
|
@ -17,3 +19,14 @@ This directory contains various tools that may be useful:
|
||||||
mustek600iin-off:
|
mustek600iin-off:
|
||||||
Allows you to turn off a Mustek 600 II N scanner.
|
Allows you to turn off a Mustek 600 II N scanner.
|
||||||
Use "make mustek600iin-off" to compile.
|
Use "make mustek600iin-off" to compile.
|
||||||
|
|
||||||
|
Maybe usefull for SANE developers:
|
||||||
|
|
||||||
|
sane-desc.el:
|
||||||
|
Some handy elisp stuff to automagically generate descriptive
|
||||||
|
SANE webpages from backend .desc files with emacs. Look at the
|
||||||
|
top of the file for more details.
|
||||||
|
|
||||||
|
sane-config:
|
||||||
|
Show SANE version, linker flags etc. Might be usefull for
|
||||||
|
frontend developers.
|
|
@ -1,6 +1,6 @@
|
||||||
/* find-scanner.c
|
/* find-scanner.c
|
||||||
|
|
||||||
Copyright (C) 1997-1999 Oliver Rauch and others.
|
Copyright (C) 1997-2000 Oliver Rauch and others.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU General Public License as
|
modify it under the terms of the GNU General Public License as
|
||||||
|
@ -149,9 +149,9 @@ scanner_identify_scanner (unsigned char *buffer, int sfd, char *devicename)
|
||||||
&& devtype != IN_periph_devtype_cpu)
|
&& devtype != IN_periph_devtype_cpu)
|
||||||
return; /* no, continue searching */
|
return; /* no, continue searching */
|
||||||
|
|
||||||
get_inquiry_vendor ((char *) buffer, vendor);
|
get_inquiry_vendor ((char *) buffer, (char *) vendor);
|
||||||
get_inquiry_product ((char *) buffer, product);
|
get_inquiry_product ((char *) buffer, (char *) product);
|
||||||
get_inquiry_version ((char *) buffer, version);
|
get_inquiry_version ((char *) buffer, (char *) version);
|
||||||
|
|
||||||
pp = &vendor[7];
|
pp = &vendor[7];
|
||||||
vendor[8] = '\0';
|
vendor[8] = '\0';
|
||||||
|
@ -409,6 +409,11 @@ main (int argc, char **argv)
|
||||||
dev_list = default_dev_list;
|
dev_list = default_dev_list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf (
|
||||||
|
"# Note that find-scanner will find any scanner that is connected\n"
|
||||||
|
"# to a SCSI bus. It will even find scanners that are not supported\n"
|
||||||
|
"# at all by SANE.\n\n");
|
||||||
|
|
||||||
if (getuid ())
|
if (getuid ())
|
||||||
printf (
|
printf (
|
||||||
"# You may want to run this program as super-user to find all devices.\n"
|
"# You may want to run this program as super-user to find all devices.\n"
|
||||||
|
|
Ładowanie…
Reference in New Issue