man-pages/man5/sane-stv680.5.html
2021-03-31 01:06:50 +01:00

263 lines
6.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of sane-stv680</TITLE>
</HEAD><BODY>
<H1>sane-stv680</H1>
Section: SANE Scanner Access Now Easy (5)<BR>Updated: 11 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">&nbsp;</A>
<H2>NAME</H2>
sane-stv680 - SANE backend for STV680 camera's
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The
<B>sane-stv680</B>
library implements a SANE (Scanner Access Now Easy) backend that
provides access to some STV680 cameras. This backend
should be considered
<B>beta-quality</B>
software! STV680 cameras are sold under
various brands like Aiptek.
This backend may or may not support yours.
<P>
The cameras that should work with this backend are:
<P>
<PRE>
Vendor Model USB vendor id USB product id status
------------------------ ------------- -------------- --------
AIPTEK stv680 0x0553 0x0202 basic
Konica e-mini 0x04c8 0x0722 untested
DigitalDream l'espion XS 0x1183 0x0001 untested
Creative WebCam Go mini 0x041e 0x4007 untested
</PRE>
<P>
For all these cameras, see the backend home page (under AUTHOR)
for the exact status of each camera.
<P>
For startup of this backend check that if present the stv680 kernel module is
removed or disabled.
<BR>
Also before using, enable the backend by editing the /etc/sane.d/dll.conf file,
change #stv680 to stv680.
<P>
For problems with the untested cameras, you
should contact the author for that.
<P>
The options the backend supports can either be selected through
command line options to programs like scanimage or through GUI
elements in xcam. For both programs use the -B option needed for size buffer.
<P>
Some frontends examples:
<BR>
xcam
<DL COMPACT><DT id="1"><DD>
xcam -B
</DL>
<P>
scanimage: for writing in batch mode to a file or to a new file each time.
<DL COMPACT><DT id="2"><DD>
scanimage -B -d stv680:libusb:001:002 --batch=out.ppm --batch-count 5 --mode &quot;Color RGB&quot;
</DL>
<DL COMPACT><DT id="3"><DD>
scanimage -B -d stv680:libusb:001:002 --batch=out%d.ppm --batch-count 5 --mode &quot;Color RGB&quot;
</DL>
<P>
<BR>
If you have any success with a camera not listed here, or if you have
any strange behavior, please report to the backend maintainer or to
the SANE mailing list.
<P>
Valid command line options and their syntax can be listed by using
<DL COMPACT><DT id="4"><DD>
scanimage --help -d stv680
</DL>
<P>
<P>
<DL COMPACT>
<DT id="5"><B>Scan Mode</B>
<DD>
<P>
<DT id="6"><B>--mode</B>
<DD>
selects the basic mode of operation of the webcams valid choices.
<P>
The read resolution mode is 8 bits, output resolution is 24 bits.
Selects the resolution for a scan.
The camera can do only the resolutions listed.
<DT id="7"><B>--Raw</B>
<DD>
In this mode raw data is displayed
<DT id="8"><B>--Color</B>
<DD>
In this mode the bayer unshuffle is done but no color correction
<DT id="9"><B>--Color_RGB</B>
<DD>
Bayer unshuffle, color correction
<DT id="10"><B>--Color_RGB_TXT</B>
<DD>
Bayer unshuffle, color correction, textline with date and time is added
<P>
<P>
<DT id="11"><B>Enhancement options</B>
<DD>
<P>
<DT id="12"><B>--white-level-r</B>
<DD>
Selects what red radiance level should be
considered &quot;white&quot;, when scanning some sheets by changing the calibration
value loaded into the scanner. Scale -32 .. 0 .. +32 in steps of 1.
<P>
<DT id="13"><B>--white-level-g</B>
<DD>
Selects what green radiance level should be
considered &quot;white&quot;, when scanning some sheets by changing the calibration i
value loaded into the scanner. Scale -32 .. 0 .. +32 in steps of 1.
<P>
<DT id="14"><B>--white-level-b</B>
<DD>
Selects what blue radiance level should be
considered &quot;white&quot;, when scanning some sheets by changing the calibration
value loaded into the scanner. Scale -32 .. 0 .. +32 in steps of 1.
<P>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>CONFIGURATION FILE</H2>
The configuration file @CONFIGDIR@/stv680.conf supports only one
information: the device name to use (eg usb 0x.... 0x....).
<P>
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>FILES</H2>
<DL COMPACT>
<DT id="15"><I>@LIBDIR@/libsane-stv680.a</I>
<DD>
The static library implementing this backend.
<DT id="16"><I>@LIBDIR@/libsane-stv680.so</I>
<DD>
The shared library implementing this backend (present on systems that
support dynamic loading).
<P>
<P>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>ENVIRONMENT</H2>
<DL COMPACT>
<DT id="17"><B>SANE_DEBUG_STV680</B>
<DD>
If the library was compiled with debug support enabled, this
environment variable controls the debug level for this backend. E.g.,
a value of 128 requests all debug output to be printed. Smaller levels
reduce verbosity.
<P>
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>LIMITATIONS</H2>
The windows TWAIN driver has many more options than this SANE
backend. However they are only software adjustments. This backend only
implements what the webcam can support.
<P>
<P>
<A NAME="lbAH">&nbsp;</A>
<H2>BUGS</H2>
<P>
<DL COMPACT>
<DT id="18">Plenty. Parts of this backend are still under development.<DD>
1. Some untested cameras.
<BR>
2. Video streaming slow and stops sometimes (scanimage).
<BR>
3. Sometimes 1/3 of image is NOK (xcam).
<P>
<P>
</DL>
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<A HREF="/cgi-bin/man/man2html?5+sane-usb">sane-usb</A>(5), <A HREF="/cgi-bin/man/man2html?1+scanimage">scanimage</A>(1), <A HREF="/cgi-bin/man/man2html?1+xcam">xcam</A>(1), <A HREF="/cgi-bin/man/man2html?7+sane">sane</A>(7)
<P>
<P>
<A NAME="lbAJ">&nbsp;</A>
<H2>AUTHORS</H2>
<P>
Gerard Klaver <A HREF="http://gkall.hobby.nl/stv680-aiptek.html">http://gkall.hobby.nl/stv680-aiptek.html</A>
<P>
<P>
<P>
<A NAME="lbAK">&nbsp;</A>
<H2>CREDITS</H2>
<P>
<DL COMPACT>
<DT id="19">Thanks to developers of the other stv680 programs:<DD>
STV680 kernel module
<BR>
pencam2 program
<BR>
libghoto2 program (camlib stv0680)
<P>
</DL>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="20"><A HREF="#lbAB">NAME</A><DD>
<DT id="21"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="22"><A HREF="#lbAD">CONFIGURATION FILE</A><DD>
<DT id="23"><A HREF="#lbAE">FILES</A><DD>
<DT id="24"><A HREF="#lbAF">ENVIRONMENT</A><DD>
<DT id="25"><A HREF="#lbAG">LIMITATIONS</A><DD>
<DT id="26"><A HREF="#lbAH">BUGS</A><DD>
<DT id="27"><A HREF="#lbAI">SEE ALSO</A><DD>
<DT id="28"><A HREF="#lbAJ">AUTHORS</A><DD>
<DT id="29"><A HREF="#lbAK">CREDITS</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>