[2096355] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[5d1668d] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[f051506c] | 6 |
|
---|
[e44ac95] | 7 | <!ENTITY sane-be-download-http "&sources-anduin-http;/sane/sane-backends-&sane-version;.tar.gz">
|
---|
[4c81bd8] | 8 | <!ENTITY sane-be-download-ftp " ">
|
---|
[e44ac95] | 9 | <!ENTITY sane-be-md5sum "f2618408712399661358ed1ad995f046">
|
---|
| 10 | <!ENTITY sane-be-size "6.9 MB">
|
---|
| 11 | <!ENTITY sane-be-buildsize "364 MB (with tests)">
|
---|
| 12 | <!ENTITY sane-be-time "0.7 SBU (with tests)">
|
---|
[f051506c] | 13 |
|
---|
[e44ac95] | 14 | <!ENTITY sane-fe-download-http "&sources-anduin-http;/sane/sane-frontends-&sane-fe-version;.tar.gz">
|
---|
[5714cf71] | 15 | <!ENTITY sane-fe-download-ftp " ">
|
---|
[989db39] | 16 | <!ENTITY sane-fe-md5sum "c63bf7b0bb5f530cf3c08715db721cd3">
|
---|
| 17 | <!ENTITY sane-fe-size "231 KB">
|
---|
| 18 | <!ENTITY sane-fe-buildsize "3.0 MB">
|
---|
| 19 | <!ENTITY sane-fe-time "less than 0.1 SBU">
|
---|
[5d1668d] | 20 | ]>
|
---|
| 21 |
|
---|
[8ba1563] | 22 | <sect1 id="sane" xreflabel="SANE-&sane-version;">
|
---|
[2096355] | 23 | <?dbhtml filename="sane.html"?>
|
---|
| 24 |
|
---|
| 25 | <sect1info>
|
---|
| 26 | <othername>$LastChangedBy$</othername>
|
---|
| 27 | <date>$Date$</date>
|
---|
| 28 | </sect1info>
|
---|
| 29 |
|
---|
| 30 | <title>SANE-&sane-version;</title>
|
---|
| 31 |
|
---|
| 32 | <indexterm zone="sane">
|
---|
| 33 | <primary sortas="a-SANE">SANE</primary>
|
---|
| 34 | </indexterm>
|
---|
| 35 |
|
---|
| 36 | <sect2 role="package">
|
---|
| 37 | <title>Introduction to SANE</title>
|
---|
| 38 |
|
---|
[fa3edfef] | 39 | <para>
|
---|
| 40 | <application>SANE</application> is short for Scanner Access Now Easy.
|
---|
| 41 | Scanner access, however, is far from easy, since every vendor has their
|
---|
| 42 | own protocols. The only known protocol that should bring some unity into
|
---|
| 43 | this chaos is the TWAIN interface, but this is too imprecise to allow a
|
---|
| 44 | stable scanning framework. Therefore, <application>SANE</application>
|
---|
| 45 | comes with its own protocol, and the vendor drivers can't be used.
|
---|
| 46 | </para>
|
---|
[2096355] | 47 |
|
---|
[fa3edfef] | 48 | <para>
|
---|
| 49 | <application>SANE</application> is split into back ends and front ends.
|
---|
| 50 | The back ends are drivers for the supported scanners and cameras. The
|
---|
| 51 | front ends are user interfaces to access the backends.
|
---|
| 52 | </para>
|
---|
[2096355] | 53 |
|
---|
[d9907c9] | 54 | &lfs91_checked;
|
---|
[d92b93c] | 55 |
|
---|
[2096355] | 56 | <bridgehead renderas="sect3">Back Ends Package Information</bridgehead>
|
---|
| 57 | <itemizedlist spacing='compact'>
|
---|
| 58 | <listitem>
|
---|
[fa3edfef] | 59 | <para>
|
---|
| 60 | Download (HTTP): <ulink url="&sane-be-download-http;"/>
|
---|
| 61 | </para>
|
---|
[2096355] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[fa3edfef] | 64 | <para>
|
---|
| 65 | Download (FTP): <ulink url="&sane-be-download-ftp;"/>
|
---|
| 66 | </para>
|
---|
[2096355] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[fa3edfef] | 69 | <para>
|
---|
| 70 | Download MD5 sum: &sane-be-md5sum;
|
---|
| 71 | </para>
|
---|
[2096355] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[fa3edfef] | 74 | <para>
|
---|
| 75 | Download size: &sane-be-size;
|
---|
| 76 | </para>
|
---|
[2096355] | 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
[fa3edfef] | 79 | <para>
|
---|
| 80 | Estimated disk space required: &sane-be-buildsize;
|
---|
| 81 | </para>
|
---|
[2096355] | 82 | </listitem>
|
---|
| 83 | <listitem>
|
---|
[fa3edfef] | 84 | <para>
|
---|
| 85 | Estimated build time: &sane-be-time;
|
---|
| 86 | </para>
|
---|
[2096355] | 87 | </listitem>
|
---|
| 88 | </itemizedlist>
|
---|
| 89 |
|
---|
[f67554b0] | 90 | <bridgehead renderas="sect3">Additional Downloads (Front Ends)</bridgehead>
|
---|
[2096355] | 91 | <itemizedlist spacing='compact'>
|
---|
| 92 | <listitem>
|
---|
[fa3edfef] | 93 | <para>
|
---|
| 94 | Download (HTTP): <ulink url="&sane-fe-download-http;"/>
|
---|
| 95 | </para>
|
---|
[2096355] | 96 | </listitem>
|
---|
| 97 | <listitem>
|
---|
[fa3edfef] | 98 | <para>
|
---|
| 99 | Download (FTP): <ulink url="&sane-fe-download-ftp;"/>
|
---|
| 100 | </para>
|
---|
[2096355] | 101 | </listitem>
|
---|
| 102 | <listitem>
|
---|
[fa3edfef] | 103 | <para>
|
---|
| 104 | Downlaod MD5 sum: &sane-fe-md5sum;
|
---|
| 105 | </para>
|
---|
[2096355] | 106 | </listitem>
|
---|
| 107 | <listitem>
|
---|
[fa3edfef] | 108 | <para>
|
---|
| 109 | Download size: &sane-fe-size;
|
---|
| 110 | </para>
|
---|
[2096355] | 111 | </listitem>
|
---|
| 112 | <listitem>
|
---|
[fa3edfef] | 113 | <para>
|
---|
| 114 | Estimated disk space required: &sane-fe-buildsize;
|
---|
| 115 | </para>
|
---|
[2096355] | 116 | </listitem>
|
---|
| 117 | <listitem>
|
---|
[fa3edfef] | 118 | <para>
|
---|
| 119 | Estimated build time: &sane-fe-time;
|
---|
| 120 | </para>
|
---|
[2096355] | 121 | </listitem>
|
---|
| 122 | </itemizedlist>
|
---|
[88e2920] | 123 |
|
---|
[e44ac95] | 124 | <note>
|
---|
| 125 | <para>
|
---|
| 126 | The upstream location for these files is at
|
---|
| 127 | <ulink url="https://gitlab.com/sane-project"/> but
|
---|
| 128 | the file URLs use embedded md5sums. For convenience,
|
---|
| 129 | the packages have been copied to the localion above.
|
---|
| 130 | </para>
|
---|
| 131 | </note>
|
---|
| 132 |
|
---|
[2096355] | 133 | <bridgehead renderas="sect3">SANE Dependencies</bridgehead>
|
---|
| 134 |
|
---|
| 135 | <bridgehead renderas="sect4">Optional (Back Ends)</bridgehead>
|
---|
[272d904] | 136 | <para role="optional">
|
---|
[2b3ffa0] | 137 | <xref linkend="avahi"/>,
|
---|
| 138 | <xref linkend="cups"/>,
|
---|
[272d904] | 139 | <xref linkend="libjpeg"/>,
|
---|
| 140 | <xref linkend="libtiff"/>,
|
---|
[2b3ffa0] | 141 | <xref linkend="libusb"/>,
|
---|
[80dbc4c8] | 142 | <xref linkend="v4l-utils"/>,
|
---|
[2b3ffa0] | 143 | <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
|
---|
[272d904] | 144 | <ulink url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink>,
|
---|
[80dbc4c8] | 145 | <ulink url="http://www.gphoto.org/">libgphoto2</ulink>, and
|
---|
[f720ace1] | 146 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
|
---|
[272d904] | 147 | </para>
|
---|
[2096355] | 148 |
|
---|
| 149 | <bridgehead renderas="sect4">Optional (Front Ends)</bridgehead>
|
---|
[272d904] | 150 | <para role="optional">
|
---|
| 151 | <xref linkend="x-window-system"/>,
|
---|
| 152 | <xref linkend="gtk2"/>, and
|
---|
| 153 | <xref linkend="gimp"/>
|
---|
| 154 | </para>
|
---|
[2096355] | 155 |
|
---|
[977061b0] | 156 | <para condition="html" role="usernotes">User Notes:
|
---|
| 157 | <ulink url="&blfs-wiki;/sane"/></para>
|
---|
| 158 |
|
---|
[2096355] | 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | <sect2 role="kernel" id='sane-kernel'>
|
---|
[37f01429] | 162 | <title>Kernel Configuration, Drivers and Additional Packages</title>
|
---|
[2096355] | 163 |
|
---|
| 164 | <indexterm zone="sane sane-kernel">
|
---|
| 165 | <primary sortas="d-Scanning-devices">Scanning devices</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 |
|
---|
[fa3edfef] | 168 | <para>
|
---|
| 169 | To access your scanner, you will probably need the related kernel
|
---|
| 170 | drivers and/or additional support packages. A SCSI scanner will need SCSI
|
---|
| 171 | drivers, a parallel port scanner needs parallel port support (you should
|
---|
| 172 | use enhanced EPP modes) and perhaps <ulink
|
---|
| 173 | url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink>, and a USB
|
---|
| 174 | scanner will need the <xref linkend="libusb"/> package. For HP devices,
|
---|
| 175 | you may need <ulink
|
---|
| 176 | url="http://sourceforge.net/projects/hplip/files/hplip/">hplip</ulink>.
|
---|
| 177 | Ensure you have the necessary drivers properly configured to access
|
---|
| 178 | the devices.
|
---|
| 179 | </para>
|
---|
[2096355] | 180 |
|
---|
| 181 | </sect2>
|
---|
| 182 |
|
---|
| 183 | <sect2 role="installation">
|
---|
| 184 | <title>Installation of SANE</title>
|
---|
| 185 |
|
---|
| 186 | <sect3>
|
---|
| 187 | <title>Installation of SANE Back Ends</title>
|
---|
| 188 |
|
---|
[fa3edfef] | 189 | <para>
|
---|
| 190 | The <application>SANE</application> daemon should run with its own
|
---|
| 191 | group. Create this group by issuing the following commands as the
|
---|
| 192 | <systemitem class="username">root</systemitem> user:
|
---|
| 193 | </para>
|
---|
[c67fd68c] | 194 |
|
---|
[1dd7b0ae] | 195 | <screen role="root"><userinput>groupadd -g 70 scanner</userinput></screen>
|
---|
[c67fd68c] | 196 |
|
---|
[2b3ffa0] | 197 | <note>
|
---|
| 198 | <para>
|
---|
[46c5976] | 199 | <command>configure</command> assumes that the user building
|
---|
| 200 | <application>SANE</application>-backends is a member of the
|
---|
| 201 | <systemitem class="groupname">scanner</systemitem> group for testing
|
---|
| 202 | the existence of this group. So the user building the package should
|
---|
| 203 | be added to the <systemitem class="groupname">scanner</systemitem>
|
---|
| 204 | group. As the <systemitem class="username">root</systemitem> user:
|
---|
[2b3ffa0] | 205 | </para>
|
---|
| 206 |
|
---|
[46c5976] | 207 | <screen role="root"><userinput>usermod -G scanner -a <replaceable>username</replaceable></userinput></screen>
|
---|
[2b3ffa0] | 208 | </note>
|
---|
[46c5976] | 209 |
|
---|
[fa3edfef] | 210 | <para>
|
---|
| 211 | For a USB scanner, if you are linking to <xref linkend="libusb"/>,
|
---|
| 212 | include the configure switch --enable-libusb_1_0. Install
|
---|
| 213 | <application>SANE</application>-backends by running the following
|
---|
| 214 | commands:
|
---|
| 215 | </para>
|
---|
[2096355] | 216 |
|
---|
[46c5976] | 217 | <screen><userinput>sg scanner -c " \
|
---|
| 218 | ./configure --prefix=/usr \
|
---|
[2ea1836] | 219 | --sysconfdir=/etc \
|
---|
| 220 | --localstatedir=/var \
|
---|
| 221 | --with-group=scanner \
|
---|
[46c5976] | 222 | --with-docdir=/usr/share/doc/sane-backends-&sane-version;" &&
|
---|
[2ea1836] | 223 | make</userinput></screen>
|
---|
[2b3ffa0] | 224 |
|
---|
[fa3edfef] | 225 | <para>
|
---|
| 226 | To test the results, issue: <command>make check</command>.
|
---|
| 227 | </para>
|
---|
[9ea2f70] | 228 |
|
---|
[fa3edfef] | 229 | <para>
|
---|
| 230 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 231 | </para>
|
---|
[2096355] | 232 |
|
---|
[2b3ffa0] | 233 | <screen role="root"><userinput>make install &&
|
---|
| 234 | install -m 644 -v tools/udev/libsane.rules \
|
---|
| 235 | /etc/udev/rules.d/65-scanner.rules &&
|
---|
| 236 | chgrp -v scanner /var/lock/sane</userinput></screen>
|
---|
[2096355] | 237 |
|
---|
[fa3edfef] | 238 | <para>
|
---|
| 239 | With the scanner on, run <command>scanimage -L</command> and the
|
---|
| 240 | name and location of the device should appear. Of course, you need the
|
---|
| 241 | device drivers configured, in order to run this test.
|
---|
| 242 | </para>
|
---|
[45f715c] | 243 |
|
---|
[2096355] | 244 | </sect3>
|
---|
| 245 |
|
---|
| 246 | <sect3>
|
---|
| 247 | <title>Installation of SANE Front Ends</title>
|
---|
| 248 |
|
---|
[fa3edfef] | 249 | <para>
|
---|
| 250 | The <application>SANE</application>-frontends package
|
---|
| 251 | includes the graphical frontends <command>xscanimage</command> and
|
---|
| 252 | <command>xcam</command>, and a command-line frontend
|
---|
| 253 | <command>scanadf</command>. You don't need this package if you intend
|
---|
| 254 | to use one of the more advanced graphical frontends like
|
---|
| 255 | <xref linkend="xsane"/>. For a list of frontend packages, see
|
---|
| 256 | <ulink url="http://www.sane-project.org/sane-frontends.html"/>.
|
---|
| 257 | </para>
|
---|
| 258 |
|
---|
| 259 | <para>
|
---|
| 260 | To install <application>SANE</application>-frontends,
|
---|
| 261 | use the following commands:
|
---|
| 262 | </para>
|
---|
[2096355] | 263 |
|
---|
[f67554b0] | 264 | <screen><userinput>tar -xf ../sane-frontends-&sane-fe-version;.tar.gz &&
|
---|
| 265 | cd sane-frontends-&sane-fe-version; &&
|
---|
| 266 |
|
---|
| 267 | sed -i -e "/SANE_CAP_ALWAYS_SETTABLE/d" src/gtkglue.c &&
|
---|
[bd4f0143] | 268 | ./configure --prefix=/usr --mandir=/usr/share/man &&
|
---|
[2096355] | 269 | make</userinput></screen>
|
---|
| 270 |
|
---|
[fa3edfef] | 271 | <para>
|
---|
| 272 | This package does not come with a test suite.
|
---|
| 273 | </para>
|
---|
[989db39] | 274 |
|
---|
[fa3edfef] | 275 | <para>
|
---|
| 276 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 277 | </para>
|
---|
[2096355] | 278 |
|
---|
[a52e5394] | 279 | <screen role="root"><userinput>make install &&
|
---|
[989db39] | 280 | install -v -m644 doc/sane.png xscanimage-icon-48x48-2.png \
|
---|
| 281 | /usr/share/sane</userinput></screen>
|
---|
[2096355] | 282 |
|
---|
[fa3edfef] | 283 | <para>
|
---|
| 284 | If <application>GIMP</application> was linked into the build and
|
---|
| 285 | you wish <application>GIMP</application> to use
|
---|
| 286 | <command>xscanimage</command> as a scanning plugin, issue the following
|
---|
| 287 | command as the <systemitem class="username">root</systemitem> user:
|
---|
| 288 | </para>
|
---|
[2096355] | 289 |
|
---|
[989db39] | 290 | <screen role="root"><userinput>ln -v -s ../../../../bin/xscanimage /usr/lib/gimp/2.0/plug-ins</userinput></screen>
|
---|
[2096355] | 291 |
|
---|
[4d6023d2] | 292 | <note>
|
---|
| 293 | <para>
|
---|
[c6f0a51] | 294 | If the plugin <command>xscanimage</command> is disabled in
|
---|
| 295 | <application>GIMP</application>'s menu, in order to enable it,
|
---|
| 296 | "create" a blank image using the menu or Ctrl-N. After that, it is
|
---|
| 297 | enabled.
|
---|
[4d6023d2] | 298 | </para>
|
---|
| 299 | </note>
|
---|
| 300 |
|
---|
[2096355] | 301 | </sect3>
|
---|
| 302 |
|
---|
| 303 | </sect2>
|
---|
| 304 |
|
---|
| 305 | <sect2 role="commands">
|
---|
| 306 | <title>Command Explanations</title>
|
---|
| 307 |
|
---|
[46c5976] | 308 | <para>
|
---|
| 309 | <command>sg scanner -c "..."</command>: runs the command between double
|
---|
| 310 | quotes with principal group <systemitem
|
---|
| 311 | class="groupname">scanner</systemitem>. This may be needed if the user
|
---|
| 312 | has been newly added to group scanner, and has not looged out and in.
|
---|
| 313 | </para>
|
---|
| 314 |
|
---|
[fa3edfef] | 315 | <para>
|
---|
| 316 | <parameter>--sysconfdir=/etc</parameter>: This switch installs the
|
---|
| 317 | configuration files in <filename class="directory">/etc/sane.d</filename>
|
---|
| 318 | instead of <filename class="directory">/usr/etc/sane.d</filename>.
|
---|
| 319 | </para>
|
---|
[2096355] | 320 |
|
---|
[fa3edfef] | 321 | <para>
|
---|
| 322 | <parameter>--with-group=scanner</parameter>: This parameter causes
|
---|
| 323 | the directory created for the locking files to be group owned by the
|
---|
| 324 | <systemitem class="groupname">scanner</systemitem> group instead of the
|
---|
| 325 | default <systemitem class="groupname">uucp</systemitem> group.
|
---|
| 326 | </para>
|
---|
[2b3ffa0] | 327 |
|
---|
[fa3edfef] | 328 | <para>
|
---|
| 329 | <command>exit</command>: This command is used to exit the shell
|
---|
| 330 | created by the <command>su</command> command.
|
---|
| 331 | </para>
|
---|
[2096355] | 332 | </sect2>
|
---|
| 333 |
|
---|
| 334 | <sect2 role="configuration">
|
---|
| 335 | <title>Configuring SANE</title>
|
---|
| 336 |
|
---|
| 337 | <sect3 id="sane-config">
|
---|
| 338 | <title>Config Files</title>
|
---|
| 339 |
|
---|
[fa3edfef] | 340 | <para>
|
---|
| 341 | <filename>/etc/sane.d/*.conf</filename>
|
---|
| 342 | </para>
|
---|
[2096355] | 343 |
|
---|
| 344 | <indexterm zone="sane sane-config">
|
---|
| 345 | <primary sortas="e-etc-sane.d-conf">/etc/sane.d/*.conf</primary>
|
---|
| 346 | </indexterm>
|
---|
| 347 |
|
---|
| 348 | </sect3>
|
---|
| 349 |
|
---|
| 350 | <sect3>
|
---|
| 351 | <title>Configuration Information</title>
|
---|
| 352 |
|
---|
| 353 | <sect4>
|
---|
| 354 | <title>Backend Configuration</title>
|
---|
| 355 |
|
---|
[fa3edfef] | 356 | <para>
|
---|
| 357 | The backend configuration files are located in
|
---|
| 358 | <filename class='directory'>/etc/sane.d</filename>. Information
|
---|
| 359 | for configuring the various backends can be found by using the man(5)
|
---|
| 360 | page for the desired backend. Run
|
---|
| 361 | <command>
|
---|
| 362 | man sane-<replaceable><backend></replaceable></command>,
|
---|
| 363 | substituting the desired backend.
|
---|
| 364 | </para>
|
---|
[2096355] | 365 |
|
---|
[fa3edfef] | 366 | <para>
|
---|
| 367 | Add any desired users to the <systemitem
|
---|
| 368 | class="groupname">scanner</systemitem> group.
|
---|
| 369 | </para>
|
---|
[d47868a] | 370 |
|
---|
[fa3edfef] | 371 | <para>
|
---|
| 372 | If you want to access a network scanner, include two lines in
|
---|
| 373 | <filename>net.conf</filename>, as <systemitem
|
---|
| 374 | class="username">root</systemitem> user (make sure to replace
|
---|
| 375 | <server_ip> by the actual value, below):
|
---|
| 376 | </para>
|
---|
[45f715c] | 377 |
|
---|
[1c4f3b1f] | 378 | <screen role="root"><userinput>cat >> /etc/sane.d/net.conf << "EOF"
|
---|
[51dfb3e] | 379 | <literal>connect_timeout = 60
|
---|
| 380 | <server_ip></literal>
|
---|
[45f715c] | 381 | EOF</userinput></screen>
|
---|
| 382 |
|
---|
[fa3edfef] | 383 | <para>
|
---|
| 384 | On the server side, include the client ip in the access list of
|
---|
| 385 | <filename>/etc/sane.d/saned.conf</filename>, restart the
|
---|
| 386 | <command>saned</command> daemon, and make sure the firewall, if any,
|
---|
| 387 | is open to the client.
|
---|
| 388 | </para>
|
---|
[45f715c] | 389 |
|
---|
[2096355] | 390 | </sect4>
|
---|
| 391 |
|
---|
[4d6023d2] | 392 | <sect4>
|
---|
| 393 | <title>Frontend Configuration</title>
|
---|
| 394 | <para>
|
---|
| 395 | If you use a desktop environment like <application>Gnome</application>
|
---|
| 396 | or <application>KDE</application> you may wish to create a
|
---|
| 397 | <filename>xscanimage.desktop</filename> file so that
|
---|
| 398 | <application>xscanimage</application> appears in the panel's menus.
|
---|
| 399 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 400 | </para>
|
---|
| 401 |
|
---|
[2a2112b4] | 402 | <screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &&
|
---|
[4d6023d2] | 403 |
|
---|
| 404 | cat > /usr/share/applications/xscanimage.desktop << "EOF" &&
|
---|
[51dfb3e] | 405 | <literal>[Desktop Entry]
|
---|
[4d6023d2] | 406 | Encoding=UTF-8
|
---|
| 407 | Name=XScanImage - Scanning
|
---|
| 408 | Comment=Acquire images from a scanner
|
---|
| 409 | Exec=xscanimage
|
---|
| 410 | Icon=xscanimage
|
---|
| 411 | Terminal=false
|
---|
| 412 | Type=Application
|
---|
[51dfb3e] | 413 | Categories=Application;Graphics</literal>
|
---|
[4d6023d2] | 414 | EOF
|
---|
| 415 |
|
---|
| 416 | ln -svf ../sane/xscanimage-icon-48x48-2.png /usr/share/pixmaps/xscanimage.png</userinput></screen>
|
---|
| 417 |
|
---|
| 418 | </sect4>
|
---|
| 419 |
|
---|
[2096355] | 420 | <sect4>
|
---|
| 421 | <title>General Information</title>
|
---|
| 422 |
|
---|
[fa3edfef] | 423 | <para>
|
---|
| 424 | For general information about configuring and using
|
---|
| 425 | <application>SANE</application>, see <command>man sane</command>.
|
---|
| 426 | For information about USB scanning devices,
|
---|
| 427 | run <command>man sane-usb</command>. For information about SCSI
|
---|
| 428 | devices, run <command>man sane-scsi</command>.
|
---|
| 429 | </para>
|
---|
[2096355] | 430 |
|
---|
| 431 | </sect4>
|
---|
| 432 |
|
---|
| 433 | <sect4>
|
---|
| 434 | <title>Configuration and setup of the 'saned' daemon</title>
|
---|
| 435 |
|
---|
[fa3edfef] | 436 | <para>
|
---|
| 437 | The <command>saned</command> daemon is not meant to be used for
|
---|
| 438 | untrusted clients. You should provide <xref linkend="fw-firewall"/>
|
---|
| 439 | protection to ensure only trusted clients access the daemon. Due to
|
---|
| 440 | the complex security requirements to ensure only trusted clients
|
---|
| 441 | access the daemon, BLFS does not provide
|
---|
| 442 | instructions to configure the <command>saned</command> daemon.
|
---|
| 443 | Some good (but outdated)
|
---|
| 444 | information for setting up and securing the <command>saned</command>
|
---|
| 445 | daemon can be found at
|
---|
| 446 | <ulink url="http://penguin-breeder.org/sane/saned/"/>.
|
---|
| 447 | </para>
|
---|
[2096355] | 448 |
|
---|
| 449 | </sect4>
|
---|
| 450 |
|
---|
| 451 | </sect3>
|
---|
| 452 |
|
---|
| 453 | </sect2>
|
---|
| 454 |
|
---|
| 455 | <sect2 role="content">
|
---|
| 456 | <title>Contents</title>
|
---|
| 457 |
|
---|
| 458 | <bridgehead renderas="sect4">Back Ends:</bridgehead>
|
---|
| 459 | <segmentedlist>
|
---|
| 460 | <segtitle>Installed Programs</segtitle>
|
---|
| 461 | <segtitle>Installed Libraries</segtitle>
|
---|
| 462 | <segtitle>Installed Directories</segtitle>
|
---|
| 463 |
|
---|
| 464 | <seglistitem>
|
---|
| 465 | <seg>gamma4scanimage, sane-config, saned, sane-find-scanner,
|
---|
| 466 | and scanimage</seg>
|
---|
| 467 | <seg>libsane.so and numerous scanner backend modules</seg>
|
---|
[2ea1836] | 468 | <seg>/etc/sane.d, /usr/{include,lib,share}/sane,
|
---|
[989db39] | 469 | and /usr/share/doc/sane-&sane-version;</seg>
|
---|
[2096355] | 470 | </seglistitem>
|
---|
| 471 | </segmentedlist>
|
---|
| 472 |
|
---|
| 473 | <bridgehead renderas="sect4">Front Ends:</bridgehead>
|
---|
| 474 | <segmentedlist>
|
---|
| 475 | <segtitle>Installed Programs</segtitle>
|
---|
| 476 | <segtitle>Installed Library</segtitle>
|
---|
[989db39] | 477 | <segtitle>Installed Directories</segtitle>
|
---|
[2096355] | 478 |
|
---|
| 479 | <seglistitem>
|
---|
| 480 | <seg>scanadf, xcam, and xscanimage</seg>
|
---|
[6f19a68e] | 481 | <seg><application>GIMP</application> plugin embedded in
|
---|
[2096355] | 482 | <command>xscanimage</command></seg>
|
---|
[989db39] | 483 | <seg>None</seg>
|
---|
[2096355] | 484 | </seglistitem>
|
---|
| 485 | </segmentedlist>
|
---|
| 486 |
|
---|
| 487 | <variablelist>
|
---|
| 488 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 489 | <?dbfo list-presentation="list"?>
|
---|
| 490 | <?dbhtml list-presentation="table"?>
|
---|
| 491 |
|
---|
| 492 | <varlistentry id="gamma4scanimage">
|
---|
| 493 | <term><command>gamma4scanimage</command></term>
|
---|
| 494 | <listitem>
|
---|
[fa3edfef] | 495 | <para>
|
---|
| 496 | creates a gamma table in the format expected by
|
---|
| 497 | <command>scanimage</command>.
|
---|
| 498 | </para>
|
---|
[2096355] | 499 | <indexterm zone="sane gamma4scanimage">
|
---|
| 500 | <primary sortas="b-gamma4scanimage">gamma4scanimage</primary>
|
---|
| 501 | </indexterm>
|
---|
| 502 | </listitem>
|
---|
| 503 | </varlistentry>
|
---|
| 504 |
|
---|
| 505 | <varlistentry id="sane-config-prog">
|
---|
| 506 | <term><command>sane-config</command></term>
|
---|
| 507 | <listitem>
|
---|
[fa3edfef] | 508 | <para>
|
---|
| 509 | is a tool used to determine the compiler and linker
|
---|
| 510 | flags that should be used to compile and link
|
---|
| 511 | <application>SANE</application>.
|
---|
| 512 | </para>
|
---|
[2096355] | 513 | <indexterm zone="sane sane-config-prog">
|
---|
| 514 | <primary sortas="b-sane-config">sane-config</primary>
|
---|
| 515 | </indexterm>
|
---|
| 516 | </listitem>
|
---|
| 517 | </varlistentry>
|
---|
| 518 |
|
---|
| 519 | <varlistentry id="saned">
|
---|
| 520 | <term><command>saned</command></term>
|
---|
| 521 | <listitem>
|
---|
[fa3edfef] | 522 | <para>
|
---|
| 523 | is the <application>SANE</application> daemon that
|
---|
| 524 | allows remote clients to access image acquisition devices
|
---|
| 525 | available on the local host.
|
---|
| 526 | </para>
|
---|
[2096355] | 527 | <indexterm zone="sane saned">
|
---|
| 528 | <primary sortas="b-saned">saned</primary>
|
---|
| 529 | </indexterm>
|
---|
| 530 | </listitem>
|
---|
| 531 | </varlistentry>
|
---|
| 532 |
|
---|
| 533 | <varlistentry id="sane-find-scanner">
|
---|
| 534 | <term><command>sane-find-scanner</command></term>
|
---|
| 535 | <listitem>
|
---|
[fa3edfef] | 536 | <para>
|
---|
| 537 | is a command-line tool to find SCSI and
|
---|
| 538 | USB scanners and determine their device files. Its primary
|
---|
| 539 | purpose is to make sure that scanners can be detected by
|
---|
| 540 | <application>SANE</application> backends.
|
---|
| 541 | </para>
|
---|
[2096355] | 542 | <indexterm zone="sane sane-find-scanner">
|
---|
| 543 | <primary sortas="b-sane-find-scanner">sane-find-scanner</primary>
|
---|
| 544 | </indexterm>
|
---|
| 545 | </listitem>
|
---|
| 546 | </varlistentry>
|
---|
| 547 |
|
---|
| 548 | <varlistentry id="scanadf">
|
---|
| 549 | <term><command>scanadf</command></term>
|
---|
| 550 | <listitem>
|
---|
[fa3edfef] | 551 | <para>
|
---|
| 552 | is a command-line interface to control image acquisition
|
---|
| 553 | devices which are equipped with an automatic document feeder (ADF).
|
---|
| 554 | </para>
|
---|
[2096355] | 555 | <indexterm zone="sane scanadf">
|
---|
| 556 | <primary sortas="b-scanadf">scanadf</primary>
|
---|
| 557 | </indexterm>
|
---|
| 558 | </listitem>
|
---|
| 559 | </varlistentry>
|
---|
| 560 |
|
---|
| 561 | <varlistentry id="scanimage">
|
---|
| 562 | <term><command>scanimage</command></term>
|
---|
| 563 | <listitem>
|
---|
[fa3edfef] | 564 | <para>
|
---|
| 565 | is a command line interface for scanning from image acquisition
|
---|
| 566 | devices such as flatbed scanners or cameras. It is also used to
|
---|
| 567 | list the available backend devices.
|
---|
| 568 | </para>
|
---|
[2096355] | 569 | <indexterm zone="sane scanimage">
|
---|
| 570 | <primary sortas="b-scanimage">scanimage</primary>
|
---|
| 571 | </indexterm>
|
---|
| 572 | </listitem>
|
---|
| 573 | </varlistentry>
|
---|
| 574 |
|
---|
| 575 | <varlistentry id="xcam">
|
---|
| 576 | <term><command>xcam</command></term>
|
---|
| 577 | <listitem>
|
---|
[fa3edfef] | 578 | <para>
|
---|
| 579 | is a graphical camera front end for
|
---|
| 580 | <application>SANE</application>.
|
---|
| 581 | </para>
|
---|
[2096355] | 582 | <indexterm zone="sane xcam">
|
---|
| 583 | <primary sortas="b-xcam">xcam</primary>
|
---|
| 584 | </indexterm>
|
---|
| 585 | </listitem>
|
---|
| 586 | </varlistentry>
|
---|
| 587 |
|
---|
| 588 | <varlistentry id="xscanimage">
|
---|
| 589 | <term><command>xscanimage</command></term>
|
---|
| 590 | <listitem>
|
---|
[fa3edfef] | 591 | <para>
|
---|
| 592 | is a graphical user interface for scanning.
|
---|
| 593 | </para>
|
---|
[2096355] | 594 | <indexterm zone="sane xscanimage">
|
---|
| 595 | <primary sortas="b-xscanimage">xscanimage</primary>
|
---|
| 596 | </indexterm>
|
---|
| 597 | </listitem>
|
---|
| 598 | </varlistentry>
|
---|
| 599 |
|
---|
| 600 | <varlistentry id="libsane">
|
---|
| 601 | <term><filename class='libraryfile'>libsane.so</filename></term>
|
---|
| 602 | <listitem>
|
---|
[fa3edfef] | 603 | <para>
|
---|
| 604 | is the application programming interface that is used to
|
---|
| 605 | communicate between frontends and backends.
|
---|
| 606 | </para>
|
---|
[2096355] | 607 | <indexterm zone="sane libsane">
|
---|
| 608 | <primary sortas="c-libsane">libsane.so</primary>
|
---|
| 609 | </indexterm>
|
---|
| 610 | </listitem>
|
---|
| 611 | </varlistentry>
|
---|
| 612 |
|
---|
| 613 | <varlistentry id="libsane-module">
|
---|
| 614 | <term><filename class='libraryfile'>libsane-*.so</filename></term>
|
---|
| 615 | <listitem>
|
---|
[fa3edfef] | 616 | <para>
|
---|
| 617 | modules are backend scanning library plugins used to interface
|
---|
| 618 | with scanning devices. See <ulink
|
---|
| 619 | url="http://www.sane-project.org/sane-supported-devices.html"/>
|
---|
| 620 | for a list of supported backends.
|
---|
| 621 | </para>
|
---|
[2096355] | 622 | <indexterm zone="sane libsane-module">
|
---|
| 623 | <primary sortas="c-libsane-module">libsane-*.so</primary>
|
---|
| 624 | </indexterm>
|
---|
| 625 | </listitem>
|
---|
| 626 | </varlistentry>
|
---|
| 627 |
|
---|
| 628 | </variablelist>
|
---|
| 629 |
|
---|
| 630 | </sect2>
|
---|
[f051506c] | 631 |
|
---|
[7008de1] | 632 | </sect1>
|
---|