source: pst/scanning/sane.xml@ 9f12e36

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9f12e36 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6192 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY sane-be-download-http "http://alioth.debian.org/download.php/1347/sane-backends-&sane-version;.tar.gz">
8 <!ENTITY sane-be-download-ftp "ftp://ftp.sane-project.org/pub/sane/sane-backends-&sane-version;/sane-backends-&sane-version;.tar.gz">
9 <!ENTITY sane-be-md5sum "b51c10da8a81a04e1bae88c9e6556df2">
10 <!ENTITY sane-be-size "3.5 MB">
11 <!ENTITY sane-be-buildsize "60.3 MB">
12 <!ENTITY sane-be-time "1.4 SBU">
13
14 <!ENTITY sane-fe-version "1.0.14">
15 <!ENTITY sane-fe-download-http "http://alioth.debian.org/download.php/1140/sane-frontends-&sane-fe-version;.tar.gz">
16 <!ENTITY sane-fe-download-ftp "ftp://ftp.sane-project.org/pub/sane/sane-frontends-&sane-fe-version;/sane-frontends-&sane-fe-version;.tar.gz">
17 <!ENTITY sane-fe-md5sum "c63bf7b0bb5f530cf3c08715db721cd3">
18 <!ENTITY sane-fe-size "231 KB">
19 <!ENTITY sane-fe-buildsize "3.0 MB">
20 <!ENTITY sane-fe-time "less than 0.1 SBU">
21]>
22
23<sect1 id="sane" xreflabel="SANE-&sane-version;">
24 <?dbhtml filename="sane.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>SANE-&sane-version;</title>
32
33 <indexterm zone="sane">
34 <primary sortas="a-SANE">SANE</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to SANE</title>
39
40 <para><application>SANE</application> is short for Scanner Access Now Easy.
41 Scanner access, however, is far from easy, since every vendor has their own
42 protocols. The only known protocol that should bring some unity into this
43 chaos is the TWAIN interface, but this is too imprecise to allow a stable
44 scanning framework. Therefore, <application>SANE</application> comes with
45 its own protocol, and the vendor drivers can't be used.</para>
46
47 <para><application>SANE</application> is split into back ends and front
48 ends. The back ends are drivers for the supported scanners and cameras. The
49 front ends are user interfaces to access the backends.</para>
50
51 <bridgehead renderas="sect3">Back Ends Package Information</bridgehead>
52 <itemizedlist spacing='compact'>
53 <listitem>
54 <para>Download (HTTP): <ulink url="&sane-be-download-http;"/></para>
55 </listitem>
56 <listitem>
57 <para>Download (FTP): <ulink url="&sane-be-download-ftp;"/></para>
58 </listitem>
59 <listitem>
60 <para>Download MD5 sum: &sane-be-md5sum;</para>
61 </listitem>
62 <listitem>
63 <para>Download size: &sane-be-size;</para>
64 </listitem>
65 <listitem>
66 <para>Estimated disk space required: &sane-be-buildsize;</para>
67 </listitem>
68 <listitem>
69 <para>Estimated build time: &sane-be-time;</para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Front Ends Package Information</bridgehead>
74 <itemizedlist spacing='compact'>
75 <listitem>
76 <para>Download (HTTP): <ulink url="&sane-fe-download-http;"/></para>
77 </listitem>
78 <listitem>
79 <para>Download (FTP): <ulink url="&sane-fe-download-ftp;"/></para>
80 </listitem>
81 <listitem>
82 <para>Downlaod MD5 sum: &sane-fe-md5sum;</para>
83 </listitem>
84 <listitem>
85 <para>Download size: &sane-fe-size;</para>
86 </listitem>
87 <listitem>
88 <para>Estimated disk space required: &sane-fe-buildsize;</para>
89 </listitem>
90 <listitem>
91 <para>Estimated build time: &sane-fe-time;</para>
92 </listitem>
93 </itemizedlist>
94
95 <bridgehead renderas="sect3">SANE Dependencies</bridgehead>
96
97 <bridgehead renderas="sect4">Optional (Back Ends)</bridgehead>
98 <para role="optional"><xref linkend="libjpeg"/>,
99 <xref linkend="libusb"/>,
100 <ulink url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink>,
101 <ulink url="http://www.gphoto.org/">libgphoto2</ulink>, and
102 <xref linkend="tetex"/></para>
103
104 <bridgehead renderas="sect4">Optional (Front Ends)</bridgehead>
105 <para role="optional"><xref linkend="x-window-system"/>,
106 <xref linkend="gtk2"/>, and
107 <xref linkend="gimp"/></para>
108
109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/sane"/></para>
111
112 </sect2>
113
114 <sect2 role="kernel" id='sane-kernel'>
115 <title>Kernel Configuration</title>
116
117 <indexterm zone="sane sane-kernel">
118 <primary sortas="d-Scanning-devices">Scanning devices</primary>
119 </indexterm>
120
121 <para>To access your scanner, you will probably need the related kernel
122 drivers and/or additional support packages. A SCSI scanner will need SCSI
123 drivers, a parallel port scanner needs parallel port support (you should
124 use enhanced EPP modes) and perhaps <ulink
125 url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink> and a USB
126 scanner will need the <xref linkend="libusb"/> package. Ensure you have
127 the necessary drivers properly configured to access the devices.</para>
128
129 </sect2>
130
131 <sect2 role="installation">
132 <title>Installation of SANE</title>
133
134 <sect3>
135 <title>Installation of SANE Back Ends</title>
136
137 <para>Install <application>SANE</application>-backends by
138 running the following commands:</para>
139
140<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
141make</userinput></screen>
142
143 <para>This package does not come with a test suite.</para>
144
145 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
146
147<screen role="root"><userinput>make install</userinput></screen>
148
149 </sect3>
150
151 <sect3>
152 <title>Installation of SANE Front Ends</title>
153
154 <para>The <application>SANE</application>-frontends package
155 includes the graphical frontends <command>xscanimage</command> and
156 <command>xcam</command>, and a command-line frontend
157 <command>scanadf</command>. You don't need this package if you intend
158 to use one of the more advanced graphical frontends like
159 <xref linkend="xsane"/>. For a list of frontend packages, see
160 <ulink url="http://www.sane-project.org/sane-frontends.html"/>.</para>
161
162 <para>To install <application>SANE</application>-frontends,
163 use the following commands:</para>
164
165<screen><userinput>./configure --prefix=/usr &amp;&amp;
166make</userinput></screen>
167
168 <para>This package does not come with a test suite.</para>
169
170 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
171
172<screen role="root"><userinput>make install &amp;&amp;
173install -v -m644 doc/sane.png xscanimage-icon-48x48-2.png \
174 /usr/share/sane</userinput></screen>
175
176 <para>If <application>GIMP</application> was linked into the build and
177 you wish <application>GIMP</application> to use
178 <command>xscanimage</command> as a scanning plugin, issue the following
179 command as the <systemitem class="username">root</systemitem> user:</para>
180
181<screen role="root"><userinput>ln -v -s ../../../../bin/xscanimage /usr/lib/gimp/2.0/plug-ins</userinput></screen>
182
183 </sect3>
184
185 </sect2>
186
187 <sect2 role="commands">
188 <title>Command Explanations</title>
189
190 <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
191 configuration files in <filename class="directory">/etc/sane.d</filename>
192 instead of <filename class="directory">/usr/etc/sane.d</filename>.</para>
193
194 </sect2>
195
196 <sect2 role="configuration">
197 <title>Configuring SANE</title>
198
199 <sect3 id="sane-config">
200 <title>Config Files</title>
201
202 <para><filename>/etc/sane.d/*.conf</filename></para>
203
204 <indexterm zone="sane sane-config">
205 <primary sortas="e-etc-sane.d-conf">/etc/sane.d/*.conf</primary>
206 </indexterm>
207
208 </sect3>
209
210 <sect3>
211 <title>Configuration Information</title>
212
213 <sect4>
214 <title>Backend Configuration</title>
215
216 <para>The backend configuration files are located in
217 <filename class='directory'>/etc/sane.d</filename>. Information
218 for configuring the various backends can be found by using the man(5)
219 page for the desired backend. Run
220 <command>man sane-<replaceable>&lt;backend&gt;</replaceable></command>,
221 substituting the desired backend.</para>
222
223 </sect4>
224
225 <sect4>
226 <title>General Information</title>
227
228 <para>For general information about configuring and using
229 <application>SANE</application>, see <command>man sane</command>.
230 Linux-2.6.x brings some special issues into the picture. See
231 <ulink url="http://www.sane-project.org/README.linux"/> for
232 information about using <application>SANE</application> with the
233 Linux-2.6.x kernel. For information about USB scanning devices,
234 run <command>man sane-usb</command>. For information about SCSI
235 devices, run <command>man sane-scsi</command>.</para>
236
237 </sect4>
238
239 <sect4>
240 <title>Configuration and setup of the 'saned' daemon</title>
241
242 <para>The <command>saned</command> daemon is not meant to be used for
243 untrusted clients. You should provide <xref linkend="tcpwrappers"/>
244 and/or <xref linkend="fw-firewall"/> protection to insure only trusted
245 clients access the daemon. Due to the complex security requirements to
246 insure only trusted clients access the daemon, BLFS does not provide
247 instructions to configure the <command>saned</command> daemon. If you
248 desire to make the daemon available, ensure you provide adequate
249 security, configure your <filename>[x]inetd.conf</filename> file and
250 send a <userinput>SIGHUP</userinput> to the [x]inetd daemon. Some good
251 information for setting up and securing the <command>saned</command>
252 daemon can be found at
253 <ulink url="http://penguin-breeder.org/sane/saned/"/>.</para>
254
255 </sect4>
256
257 </sect3>
258
259 </sect2>
260
261 <sect2 role="content">
262 <title>Contents</title>
263
264 <bridgehead renderas="sect4">Back Ends:</bridgehead>
265 <segmentedlist>
266 <segtitle>Installed Programs</segtitle>
267 <segtitle>Installed Libraries</segtitle>
268 <segtitle>Installed Directories</segtitle>
269
270 <seglistitem>
271 <seg>gamma4scanimage, sane-config, saned, sane-find-scanner,
272 and scanimage</seg>
273 <seg>libsane.so and numerous scanner backend modules</seg>
274 <seg>/etc/sane.d, /usr/include/sane, /usr/lib/sane, /usr/share/sane,
275 and /usr/share/doc/sane-&sane-version;</seg>
276 </seglistitem>
277 </segmentedlist>
278
279 <bridgehead renderas="sect4">Front Ends:</bridgehead>
280 <segmentedlist>
281 <segtitle>Installed Programs</segtitle>
282 <segtitle>Installed Library</segtitle>
283 <segtitle>Installed Directories</segtitle>
284
285 <seglistitem>
286 <seg>scanadf, xcam, and xscanimage</seg>
287 <seg><application>GIMP</application> plugin embedded in
288 <command>xscanimage</command></seg>
289 <seg>None</seg>
290 </seglistitem>
291 </segmentedlist>
292
293 <variablelist>
294 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
295 <?dbfo list-presentation="list"?>
296 <?dbhtml list-presentation="table"?>
297
298 <varlistentry id="gamma4scanimage">
299 <term><command>gamma4scanimage</command></term>
300 <listitem>
301 <para>creates a gamma table in the format expected by
302 <command>scanimage</command>.</para>
303 <indexterm zone="sane gamma4scanimage">
304 <primary sortas="b-gamma4scanimage">gamma4scanimage</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="sane-config-prog">
310 <term><command>sane-config</command></term>
311 <listitem>
312 <para>is a tool used to determine the compiler and linker
313 flags that should be used to compile and link
314 <application>SANE</application>.</para>
315 <indexterm zone="sane sane-config-prog">
316 <primary sortas="b-sane-config">sane-config</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="saned">
322 <term><command>saned</command></term>
323 <listitem>
324 <para>is the <application>SANE</application> daemon that
325 allows remote clients to access image acquisition devices
326 available on the local host.</para>
327 <indexterm zone="sane saned">
328 <primary sortas="b-saned">saned</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="sane-find-scanner">
334 <term><command>sane-find-scanner</command></term>
335 <listitem>
336 <para>is a command-line tool to find SCSI and
337 USB scanners and determine their device files. Its primary
338 purpose is to make sure that scanners can be detected by
339 <application>SANE</application> backends.</para>
340 <indexterm zone="sane sane-find-scanner">
341 <primary sortas="b-sane-find-scanner">sane-find-scanner</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry id="scanadf">
347 <term><command>scanadf</command></term>
348 <listitem>
349 <para>is a command-line interface to control image acquisition
350 devices which are equipped with an automatic document feeder
351 (ADF).</para>
352 <indexterm zone="sane scanadf">
353 <primary sortas="b-scanadf">scanadf</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
358 <varlistentry id="scanimage">
359 <term><command>scanimage</command></term>
360 <listitem>
361 <para>is a command line interface for scanning from image acquisition
362 devices such as flatbed scanners or cameras. It is also used to list
363 the available backend devices.</para>
364 <indexterm zone="sane scanimage">
365 <primary sortas="b-scanimage">scanimage</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="xcam">
371 <term><command>xcam</command></term>
372 <listitem>
373 <para>is a graphical camera front end for
374 <application>SANE</application>.</para>
375 <indexterm zone="sane xcam">
376 <primary sortas="b-xcam">xcam</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="xscanimage">
382 <term><command>xscanimage</command></term>
383 <listitem>
384 <para>is a graphical user interface for scanning.</para>
385 <indexterm zone="sane xscanimage">
386 <primary sortas="b-xscanimage">xscanimage</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="libsane">
392 <term><filename class='libraryfile'>libsane.so</filename></term>
393 <listitem>
394 <para>is the application programming interface that is used to
395 communicate between frontends and backends.</para>
396 <indexterm zone="sane libsane">
397 <primary sortas="c-libsane">libsane.so</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="libsane-module">
403 <term><filename class='libraryfile'>libsane-*.so</filename></term>
404 <listitem>
405 <para>modules are backend scanning library plugins used to interface
406 with scanning devices. See
407 <ulink url="http://www.sane-project.org/sane-supported-devices.html"/>
408 for a list of supported backends.</para>
409 <indexterm zone="sane libsane-module">
410 <primary sortas="c-libsane-module">libsane-*.so</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 </variablelist>
416
417 </sect2>
418
419</sect1>
Note: See TracBrowser for help on using the repository browser.