1sane-agfafocus(5) SANE Scanner Access Now Easy sane-agfafocus(5)
2
3
4
6 sane-agfafocus - SANE backend for AGFA Focus flatbed scanners
7
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@lists.alioth.debian.org.
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
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
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
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
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
94 0 print important errors (printed each time)
95 1 print errors
96 2 print sense
97 3 print warnings
98 4 print scanner-inquiry
99 5 print information
100 6 print less important information
101 7 print called procedures
102 8 print reader_process messages
103 10 print called sane-init-routines
104 11 print called sane-procedures
105 12 print sane infos
106 13 print sane option-control messages
107
108
110 Uploading of dither matrices and tonecurves has been implemented, but
111 so far has not proven to be useful for anything. For this reason these
112 options have been disabled.
113
114
116 The scanners that do not support disconnect have problems with SCSI
117 timeouts if the SCSI bus gets loaded, eg. if you do a kernel build at
118 the same time as scanning. To see if your scanner supports disconnect,
119 run "SANE_DEBUG_AGFAFOCUS=128 scanimage -L" in sh and look for the
120 "disconnect:" line)
121
122
124 If you have problems with SANE not detecting your scanner, make sure
125 the Artec backend is disabled. Somehow, this backend causes at least
126 my scanner not to respond correctly to SCSI inquiry commands.
127
128 If you encounter a bug please set the environment variable
129 SANE_DEBUG_AGFAFOCUS to 128 and try to regenerate the problem. Then
130 send me a report with the log attached.
131
132 If you encounter a SCSI bus error or trimmed and/or displaced images
133 please also set the environment variable SANE_DEBUG_SANEI_SCSI to 128
134 before sending me the report.
135
136
138 More scanners?
139
140 The AGFA ACS and ARCUS scanners are similar to the FOCUS scan‐
141 ners. The driver could probably be extended to support these
142 scanners without too many changes. I do not have access to such
143 scanners, and cannot add support for it. However, if you are in
144 possession of such a scanner, I could be helpful in adding sup‐
145 port for these scanners.
146
147 The AGFA HORIZON scanners are SCSI-2 scanners, and it would
148 probably be easier to support these scanners in a SCSI-2 compli‐
149 ant backend.
150
152 sane(7), sane-scsi(5)
153
154
156 Ingo Schneider and Karl Anders Øygard.
157
158
159
160
161 10 Jul 2008 sane-agfafocus(5)