{"id":4647,"date":"2022-12-20T18:09:26","date_gmt":"2022-12-20T21:09:26","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/sanestv680-man5\/"},"modified":"2022-12-20T18:09:26","modified_gmt":"2022-12-20T21:09:26","slug":"sanestv680-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/sanestv680-man5\/","title":{"rendered":"sane&minus;stv680 (man5)"},"content":{"rendered":"<h1 align=\"center\">sane\u2212stv680<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#CONFIGURATION FILE\">CONFIGURATION FILE<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#ENVIRONMENT\">ENVIRONMENT<\/a><br \/> <a href=\"#LIMITATIONS\">LIMITATIONS<\/a><br \/> <a href=\"#BUGS\">BUGS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a><br \/> <a href=\"#CREDITS\">CREDITS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">sane\u2212stv680 \u2212 SANE backend for STV680 camera\u2019s<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>sane\u2212stv680<\/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>\n<p style=\"margin-left:11%; margin-top: 1em\">The cameras that should work with this backend are:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Vendor Model USB vendor id USB product id status <br \/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8211; <br \/> AIPTEK stv680 0x0553 0x0202 basic <br \/> Konica e-mini 0x04c8 0x0722 untested <br \/> DigitalDream l\u2019espion XS 0x1183 0x0001 untested <br \/> Creative WebCam Go mini 0x041e 0x4007 untested<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">For all these cameras, see the backend home page (under AUTHOR) for the exact status of each camera.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">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 <i>\/etc\/sane.d\/dll.conf<\/i> file, change #stv680 to stv680.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">For problems with the untested cameras, you should contact the author for that.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The options the backend supports can either be selected through command line options to programs like <b>scanimage<\/b>(1) or through GUI elements in <b>xcam<\/b>(1). For both programs use the <b>\u2212B<\/b> option needed for size buffer.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Some frontends examples:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>xcam<\/b>(1)<\/p>\n<p style=\"margin-left:22%;\">xcam \u2212B<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>scanimage<\/b>(1): for writing in batch mode to a file or to a new file each time:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">scanimage \u2212B \u2212d stv680:libusb:001:002 \u2212\u2212batch=out.ppm \u2212\u2212batch-count 5 \u2212\u2212mode &#8220;Color RGB&#8221; <br \/> scanimage \u2212B \u2212d stv680:libusb:001:002 \u2212\u2212batch=out%d.ppm \u2212\u2212batch-count 5 \u2212\u2212mode &#8220;Color RGB&#8221;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If you have any success with a camera not listed here, or if you observe any strange behavior, please report to the backend maintainer or to the SANE mailing list.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Valid command line options and their syntax can be listed by using:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">scanimage \u2212\u2212help \u2212d stv680<\/p>\n<p style=\"margin-left:11%;\"><b>Scan Mode<\/b><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212\u2212mode<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>selects the basic mode of operation of the webcams valid choices.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%; margin-top: 1em\">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.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212Raw<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"52%\">\n<p style=\"margin-top: 1em\">In this mode raw data is displayed<\/p>\n<\/td>\n<td width=\"26%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212Color<\/b><\/p>\n<p style=\"margin-left:22%;\">In this mode the bayer unshuffle is done but no color correction<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212Color_RGB<\/b><\/p>\n<p style=\"margin-left:22%;\">Bayer unshuffle, color correction<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212Color_RGB_TXT<\/b><\/p>\n<p style=\"margin-left:22%;\">Bayer unshuffle, color correction, textline with date and time is added<\/p>\n<p style=\"margin-left:11%;\"><b>Enhancement options <br \/> \u2212\u2212white\u2212level\u2212r \u221232..+32<\/b><\/p>\n<p style=\"margin-left:22%;\">Selects what red radiance level should be considered &#8220;white&#8221;, when scanning some sheets by changing the calibration value loaded into the scanner. Scale \u221232 .. 0 .. +32 in steps of 1.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212white\u2212level\u2212g \u221232..+32<\/b><\/p>\n<p style=\"margin-left:22%;\">Selects what green radiance level should be considered &#8220;white&#8221;, when scanning some sheets by changing the calibration i value loaded into the scanner. Scale \u221232 .. 0 .. +32 in steps of 1.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212white\u2212level\u2212b \u221232..+32<\/b><\/p>\n<p style=\"margin-left:22%;\">Selects what blue radiance level should be considered &#8220;white&#8221;, when scanning some sheets by changing the calibration value loaded into the scanner. Scale \u221232 .. 0 .. +32 in steps of 1.<\/p>\n<h2>CONFIGURATION FILE <a name=\"CONFIGURATION FILE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The configuration file <i>\/etc\/sane.d\/stv680.conf<\/i> supports only one item: the device name to use (eg usb 0x&#8230;. 0x&#8230;.).<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>\/usr\/lib64\/sane\/libsane\u2212stv680.a<\/i><\/p>\n<p style=\"margin-left:22%;\">The static library implementing this backend.<\/p>\n<p style=\"margin-left:11%;\"><i>\/usr\/lib64\/sane\/libsane\u2212stv680.so<\/i><\/p>\n<p style=\"margin-left:22%;\">The shared library implementing this backend (present on systems that support dynamic loading).<\/p>\n<h2>ENVIRONMENT <a name=\"ENVIRONMENT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>SANE_DEBUG_STV680<\/b><\/p>\n<p style=\"margin-left:22%;\">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>\n<h2>LIMITATIONS <a name=\"LIMITATIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">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>\n<h2>BUGS <a name=\"BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Plenty. Parts of this backend are still under development.<\/p>\n<p style=\"margin-left:22%;\">1. Some untested cameras. <br \/> 2. Video streaming slow and stops sometimes (scanimage). <br \/> 3. Sometimes 1\/3 of image is NOK (xcam).<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>sane<\/b>(7), <b>sane\u2212usb<\/b>(5), <b>scanimage<\/b>(1), <b>xcam<\/b>(1)<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Gerard Klaver <i>http:\/\/gkall.hobby.nl\/stv680-aiptek.html<\/i><\/p>\n<h2>CREDITS <a name=\"CREDITS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Thanks to developers of the other stv680 programs:<\/p>\n<p style=\"margin-left:22%;\">STV680 kernel module <br \/> pencam2 program <b><br \/> libghoto2<\/b>(3) program (camlib stv0680)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  sane\u2212stv680 \u2212 SANE backend for STV680 camera\u2019s <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1291,1583],"class_list":["post-4647","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-man5","tag-sane-stv680"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4647"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4647\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}