source: pst/scanning/sane.xml@ 2c1ff38

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 2c1ff38 was 520f6b4f, checked in by Randy McMurchy <randy@…>, 18 years ago

Renamed the TeX package to its proper name - teTeX

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

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