291 lines
6.5 KiB
HTML
291 lines
6.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of sane-u12</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>sane-u12</H1>
|
|
Section: SANE Scanner Access Now Easy (5)<BR>Updated: 14 Jul 2008<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="ixAAB"></A>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
sane-u12 - SANE backend for Plustek USB flatbed scanners,
|
|
based on older parport designs
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<B>sane-u12</B>
|
|
|
|
library implements a SANE (Scanner Access Now Easy) backend that
|
|
provides access to USB flatbed scanners based on Plusteks' ASIC
|
|
98003 (parallel-port ASIC) and a GeneSys Logics' USB-parport
|
|
bridge chip.
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>SUPPORTED DEVICES</H2>
|
|
|
|
The backend is able to support some early Plustek USB scanner based
|
|
their old parport design around the ASIC 98003 and other rebadged
|
|
Plustek devices. The following tables will give you a short overview.
|
|
<P>
|
|
If your Plustek scanner has another Product ID, then the device is
|
|
<B>NOT</B>
|
|
|
|
supported by this backend.
|
|
<BR>
|
|
|
|
<P>
|
|
Vendor Plustek - ID: 0x07B3
|
|
<BR>
|
|
|
|
|
|
<PRE>
|
|
----------------------------------------------------------
|
|
Model: Vendor-ID: Product-ID:
|
|
----------------------------------------------------------
|
|
OpticPro U12 0x07B3 0x0001
|
|
OpticPro U1212 0x07B3 0x0001
|
|
OpticPro UT12 0x07B3 0x0001
|
|
</PRE>
|
|
|
|
|
|
<P>
|
|
|
|
<P>
|
|
Vendor KYE/Genius
|
|
<BR>
|
|
|
|
|
|
<PRE>
|
|
--------------------------------------------------------
|
|
USB Model: Vendor-ID: Product-ID:
|
|
--------------------------------------------------------
|
|
ColorPage Vivid III USB 0x07B3 0x0001
|
|
ColorPage HR6 V1 0x0458 0x2004
|
|
</PRE>
|
|
|
|
|
|
<P>
|
|
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>CONFIGURATION</H2>
|
|
|
|
To use your scanner with this backend, you need at least two
|
|
entries in the configuration file
|
|
<I>@CONFIGDIR@/u12.conf</I>
|
|
|
|
<DL COMPACT><DT id="1"><DD>
|
|
<I>[usb] vendor-id product-id</I>
|
|
|
|
<BR>
|
|
|
|
<I>device /dev/usbscanner</I>
|
|
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<I>[usb]</I>
|
|
|
|
tells the backend, that the following devicename (here
|
|
<I>/dev/usbscanner</I>)
|
|
|
|
has to be interpreted as USB scanner device. If vendor- and
|
|
product-id has not been specified, the backend tries to
|
|
detect this by its own. If device is set to
|
|
<I>auto</I>
|
|
|
|
then the next matching device is used.
|
|
<P>
|
|
|
|
<B>The Options:</B>
|
|
|
|
<P>
|
|
|
|
option warmup t
|
|
<DL COMPACT><DT id="2"><DD>
|
|
<I>t</I>
|
|
|
|
specifies the warmup period in seconds
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
option lampOff t
|
|
<DL COMPACT><DT id="3"><DD>
|
|
<I>t</I>
|
|
|
|
is the time in seconds for switching off the lamps in
|
|
standby mode
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
option lOffonEnd b
|
|
<DL COMPACT><DT id="4"><DD>
|
|
<I>b</I>
|
|
|
|
specifies the behaviour when closing the backend, 1 --> switch
|
|
lamps off, 0 --> do not change lamp status
|
|
</DL>
|
|
|
|
<P>
|
|
<P>
|
|
|
|
See the u12.conf file for examples.
|
|
<P>
|
|
|
|
<B>Note:</B>
|
|
|
|
<BR>
|
|
|
|
You have to make sure, that the USB subsystem is loaded
|
|
correctly and you have access to the device-node. For
|
|
more details see
|
|
<B>sane-usb (5)</B>
|
|
|
|
manpage. You might use
|
|
<B>sane-find-scanner</B>
|
|
|
|
to check that you have access to your device.
|
|
<P>
|
|
|
|
<B>Note:</B>
|
|
|
|
<BR>
|
|
|
|
If there's no configuration file, the backend defaults to
|
|
<B>device auto</B>
|
|
|
|
<P>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="5"><I>@CONFIGDIR@/u12.conf</I>
|
|
|
|
<DD>
|
|
The backend configuration file
|
|
<DT id="6"><I>@LIBDIR@/libsane-u12.a</I>
|
|
|
|
<DD>
|
|
The static library implementing this backend.
|
|
<DT id="7"><I>@LIBDIR@/libsane-u12.so</I>
|
|
|
|
<DD>
|
|
The shared library implementing this backend (present on systems that
|
|
support dynamic loading).
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="8"><B>SANE_CONFIG_DIR</B>
|
|
|
|
<DD>
|
|
This environment variable specifies the list of directories that may
|
|
contain the configuration file. Under UNIX, the directories are
|
|
separated by a colon (`:'), under OS/2, they are separated by a
|
|
semi-colon (`;'). If this variable is not set, the configuration file
|
|
is searched in two default directories: first, the current working
|
|
directory (".") and then in @CONFIGDIR@. If the value of the
|
|
environment variable ends with the directory separator character, then
|
|
the default directories are searched after the explicitly specified
|
|
directories. For example, setting
|
|
<B>SANE_CONFIG_DIR</B>
|
|
|
|
to "/tmp/config:" would result in directories "tmp/config", ".", and
|
|
"@CONFIGDIR@" being searched (in this order).
|
|
<DT id="9"><B>SANE_DEBUG_U12</B>
|
|
|
|
<DD>
|
|
If the library was compiled with debug support enabled, this
|
|
environment variable controls the debug level for this backend. Higher
|
|
debug levels increase the verbosity of the output.
|
|
<P>
|
|
Example:
|
|
export SANE_DEBUG_U12=10
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?7+sane">sane</A></B>(7),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+sane-usb">sane-usb</A></B>(5),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+sane-plustek">sane-plustek</A></B>(5),
|
|
|
|
<BR>
|
|
|
|
<I>@DOCDIR@/u12/U12.changes</I>
|
|
|
|
<P>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>CONTACT AND BUG-REPORTS</H2>
|
|
|
|
Please send any information and bug-reports to:
|
|
<BR>
|
|
|
|
<B>SANE Mailing List</B>
|
|
|
|
<P>
|
|
|
|
Additional info and hints can be obtained from our
|
|
<BR>
|
|
|
|
Mailing-List archive at:
|
|
<BR>
|
|
|
|
<B><A HREF="http://www.sane-project.org/mailing-lists.html">http://www.sane-project.org/mailing-lists.html</A></B>
|
|
|
|
<P>
|
|
|
|
To obtain debug messages from the backend, please set the
|
|
environment-variable
|
|
<I>SANE_DEBUG_U12</I>
|
|
|
|
before calling your favorite scan-frontend (i.e. xscanimage).
|
|
<BR>
|
|
|
|
<B>i.e.: export SANE_DEBUG_U12=20 ; xscanimage</B>
|
|
|
|
<P>
|
|
|
|
The value controls the verbosity of the backend.
|
|
<P>
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>KNOWN BUGS & RESTRICTIONS</H2>
|
|
|
|
* The driver is in alpha state, so please don't expect too much!!!
|
|
<P>
|
|
|
|
* When using libusb, it might be, that the backend hangs.
|
|
In that case, reconnect the scanner.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="11"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="12"><A HREF="#lbAD">SUPPORTED DEVICES</A><DD>
|
|
<DT id="13"><A HREF="#lbAE">CONFIGURATION</A><DD>
|
|
<DT id="14"><A HREF="#lbAF">FILES</A><DD>
|
|
<DT id="15"><A HREF="#lbAG">ENVIRONMENT</A><DD>
|
|
<DT id="16"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="17"><A HREF="#lbAI">CONTACT AND BUG-REPORTS</A><DD>
|
|
<DT id="18"><A HREF="#lbAJ">KNOWN BUGS & RESTRICTIONS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:05 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|