1sane-agfafocus(5)        SANE Scanner Access Now Easy        sane-agfafocus(5)
2
3
4

NAME

6       sane-agfafocus - SANE backend for AGFA Focus flatbed scanners
7

DESCRIPTION

9       The  sane-agfafocus library implements a SANE (Scanner Access Now Easy)
10       backend that  provides  access  to  AGFA  Focus  flatbed  scanners.  At
11       present, the following scanners are supported from this backend:
12
13              AGFA Focus GS Scanner (6 bit gray scale) (untested)
14              AGFA Focus Lineart Scanner (lineart) (untested)
15              AGFA Focus II (8 bit gray scale) (untested)
16              AGFA Focus Color (24 bit color 3-pass)
17              AGFA Focus Color Plus (24 bit color 3-pass)
18
19              Siemens S9036 (8 bit gray scale) (untested)
20
21       The driver supports line art, 6bpp and 8bpp gray, 18bpp and 24bpp color
22       scans.
23
24       If you own a scanner other than the ones listed above that  works  with
25       this  backend,  please let us know by sending the scanner's model name,
26       SCSI id, and firmware revision  to  sane-devel@alioth-lists.debian.net.
27       Have  a look at http://www.sane-project.org/mailing-lists.html concern‐
28       ing subscription to sane-devel.
29
30       All of these scanners are pre-SCSI-2, and do not even  report  properly
31       to  SCSI  Inquiry.   This is typically evident in SCSI bus scans, where
32       the scanner will come  up  with  only  garbage  as  vendor  and  models
33       strings.
34
35

DEVICE NAMES

37       This backend expects device names of the form:
38
39              special
40
41       Where  special is either the path-name for the special device that cor‐
42       responds to a SCSI scanner. For SCSI scanners, the special device  name
43       must  be  a  generic  SCSI device or a symlink to such a device.  Under
44       Linux, such a device name could be /dev/sga or /dev/sge,  for  example.
45       See sane-scsi(5) for details.
46

CONFIGURATION

48       The  contents of the agfafocus.conf file is a list of device names that
49       correspond to AGFA Focus scanners.  Empty lines and lines starting with
50       a  hash  mark  (#)  are  ignored.  A sample configuration file is shown
51       below:
52
53              /dev/scanner
54              # this is a comment
55              /dev/sge
56
57

FILES

59       /etc/sane.d/agfafocus.conf
60              The  backend  configuration  file  (see  also   description   of
61              SANE_CONFIG_DIR below).
62
63       /usr/lib/libsane-agfafocus.a
64              The static library implementing this backend.
65
66       /usr/lib/libsane-agfafocus.so
67              The shared library implementing this backend (present on systems
68              that support dynamic loading).
69

ENVIRONMENT

71       SANE_CONFIG_DIR
72              This environment variable specifies the list of directories that
73              may contain the configuration file.  Under UNIX, the directories
74              are separated by a colon (`:'), under OS/2, they  are  separated
75              by a semi-colon (`;').  If this variable is not set, the config‐
76              uration file is searched in two default directories: first,  the
77              current working directory (".") and then in /etc/sane.d.  If the
78              value of the environment variable ends with the directory  sepa‐
79              rator character, then the default directories are searched after
80              the explicitly  specified  directories.   For  example,  setting
81              SANE_CONFIG_DIR  to  "/tmp/config:"  would result in directories
82              "tmp/config", ".", and "/etc/sane.d"  being  searched  (in  this
83              order).
84
85       SANE_DEBUG_AGFAFOCUS
86              If  the  library  was  compiled with debug support enabled, this
87              environment variable controls the debug level for this  backend.
88              E.g.,  a  value  of 128 requests all debug output to be printed.
89              Smaller levels reduce verbosity.  SANE_DEBUG_AGFAFOCUS values:
90
91
92              Number  Remark
93               0       print important errors (printed each time)
94               1       print errors
95               2       print sense
96               3       print warnings
97               4       print scanner-inquiry
98               5       print information
99               6       print less important information
100               7       print called procedures
101               8       print reader_process messages
102               10      print called sane-init-routines
103               11      print called sane-procedures
104               12      print sane infos
105               13      print sane option-control messages
106
107

MISSING FUNCTIONALITY

109       Uploading of dither matrices and tonecurves has been  implemented,  but
110       so far has not proven to be useful for anything.  For this reason these
111       options have been disabled.
112
113

BUGS

115       The scanners that do not support disconnect  have  problems  with  SCSI
116       timeouts  if  the SCSI bus gets loaded, eg. if you do a kernel build at
117       the same time as scanning.  To see if your scanner supports disconnect,
118       run  "SANE_DEBUG_AGFAFOCUS=128  scanimage  -L"  in  sh and look for the
119       "disconnect:" line)
120
121

DEBUG

123       If you have problems with SANE not detecting your  scanner,  make  sure
124       the  Artec  backend is disabled.  Somehow, this backend causes at least
125       my scanner not to respond correctly to SCSI inquiry commands.
126
127       If  you  encounter  a  bug  please   set   the   environment   variable
128       SANE_DEBUG_AGFAFOCUS  to  128  and  try to regenerate the problem. Then
129       send me a report with the log attached.
130
131       If you encounter a SCSI bus error or trimmed  and/or  displaced  images
132       please  also  set the environment variable SANE_DEBUG_SANEI_SCSI to 128
133       before sending me the report.
134
135

TODO

137       More scanners?
138
139              The AGFA ACS and ARCUS scanners are similar to the  FOCUS  scan‐
140              ners.   The  driver  could probably be extended to support these
141              scanners without too many changes.  I do not have access to such
142              scanners, and cannot add support for it.  However, if you are in
143              possession of such a scanner, I could be helpful in adding  sup‐
144              port for these scanners.
145
146              The  AGFA  HORIZON  scanners  are  SCSI-2 scanners, and it would
147              probably be easier to support these scanners in a SCSI-2 compli‐
148              ant backend.
149

SEE ALSO

151       sane(7), sane-scsi(5)
152
153

AUTHOR

155       Ingo Schneider and Karl Anders Øygard.
156
157
158
159                                  10 Jul 2008                sane-agfafocus(5)
Impressum