sane-stv680(5)
β¨ sane-stv680(5) β STV680 camera backend vibes ππ
Okay bestie, this is sane-stv680(5), and itβs giving βniche webcam backend with main character energyβ π. Letβs get into it.
πΈ NAME πΈ
sane-stv680 β SANE backend for STV680 camera's π
π¦ DESCRIPTION π¦
The sane-stv680 library implements a SANE (Scanner Access Now Easy) backend that gives you access to some STV680 cameras. π
π¨ Beta-quality alert: this backend should be considered beta-quality software! No cap.
STV680 cameras are sold under various brands like Aiptek. This backend may or may not support yours. π
The cameras that should work with this backend are:
- AIPTEK stv680 β USB vendor id
0x0553, USB product id0x0202, statusbasic. - Konica e-mini β USB vendor id
0x04c8, USB product id0x0722, statusuntested. - DigitalDream l'espion XS β USB vendor id
0x1183, USB product id0x0001, statusuntested. - Creative WebCam Go mini β USB vendor id
0x041e, USB product id0x4007, statusuntested.
For all these cameras, see the backend home page (under AUTHOR) for the exact status of each camera. π
For startup of this backend, check that if present the stv680 kernel module is removed or disabled. β οΈ
Also before using, enable the backend by editing the /etc/sane.d/dll.conf file: change #stv680 to stv680. β¨
For problems with the untested cameras, you should contact the author for that. π«Ά
The options the backend supports can either be selected through command line options to programs like scanimage(1) or through GUI elements in xcam(1). For both programs use the -B option needed for size buffer. π
Some frontends examples:
xcam -B
scanimage(1): for writing in batch mode to a file or to a new file each time:
scanimage -B -d stv680:libusb:001:002 --batch=out.ppm --batch-count 5 --mode "Color RGB"
scanimage -B -d stv680:libusb:001:002 --batch=out%d.ppm --batch-count 5 --mode "Color RGB"
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. π
Valid command line options and their syntax can be listed by using:
scanimage --help -d stv680
π Scan Mode π
--modeβ selects the basic mode of operation of the webcam's valid choices. The read resolution mode is8bits, output resolution is24bits. Selects the resolution for a scan. The camera can do only the resolutions listed.--Rawβ In this mode raw data is displayed.--Colorβ In this mode the bayer unshuffle is done but no color correction.--Color_RGBβ Bayer unshuffle, color correction.--Color_RGB_TXTβ Bayer unshuffle, color correction, textline with date and time is added.
π Enhancement options π
--white-level-r -32..+32β Selects what red radiance level should be considered "white", when scanning some sheets by changing the calibration value loaded into the scanner. Scale-32 .. 0 .. +32in steps of1.--white-level-g -32..+32β Selects what green radiance level should be considered "white", when scanning some sheets by changing the calibration value loaded into the scanner. Scale-32 .. 0 .. +32in steps of1.--white-level-b -32..+32β Selects what blue radiance level should be considered "white", when scanning some sheets by changing the calibration value loaded into the scanner. Scale-32 .. 0 .. +32in steps of1.
π CONFIGURATION FILE π
The configuration file /etc/sane.d/stv680.conf supports only one item: the device name to use (eg usb 0x.... 0x....). π§
πΎ FILES πΎ
/usr/lib64/sane/libsane-stv680.aβ The static library implementing this backend./usr/lib64/sane/libsane-stv680.soβ The shared library implementing this backend (present on systems that support dynamic loading).
π ENVIRONMENT π
SANE_DEBUG_STV680β If the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. E.g., a value of128requests all debug output to be printed. Smaller levels reduce verbosity.
π LIMITATIONS π
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. π
π BUGS π
Plenty. Parts of this backend are still under development. π«
- Some untested cameras.
- Video streaming slow and stops sometimes (
scanimage). - Sometimes 1/3 of image is NOK (
xcam).
π SEE ALSO π
sane(7), sane-usb(5), scanimage(1), xcam(1)
π AUTHORS π
Gerard Klaver http://gkall.hobby.nl/stv680-aiptek.html
π«Ά CREDITS π«Ά
Thanks to developers of the other stv680 programs:
STV680 kernel modulepencam2 programlibghoto2(3) program (camlib stv0680)
Thatβs the tea from sane-stv680(5), dated 11 Jul 2008, brought to you by SANE Scanner Access Now Easy πβ¨
π¦ where this page comes from
- fedora 43: sane-backends 1.4.0-4.fc43 Β· GPL-2.0-or-later WITH SANE-exception AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND IJG AND MIT
- fedora 44: sane-backends 1.4.0-6.fc44 Β· GPL-2.0-or-later WITH SANE-exception AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND IJG AND MIT
- opensuse-leap 16.0: sane-backends 1.3.0-bp160.1.14 Β· GPL-2.0-or-later AND SUSE-GPL-2.0+-with-sane-exception AND SUSE-Public-Domain
- opensuse-leap 16.0: sane-backends 1.3.0-bp160.1.14 Β· GPL-2.0-or-later AND SUSE-GPL-2.0+-with-sane-exception AND SUSE-Public-Domain
- opensuse-leap 16.0: sane-backends 1.3.0-bp160.1.14 Β· GPL-2.0-or-later AND SUSE-GPL-2.0+-with-sane-exception AND SUSE-Public-Domain
- opensuse-leap 16.0: sane-backends 1.3.0-bp160.1.14 Β· GPL-2.0-or-later AND SUSE-GPL-2.0+-with-sane-exception AND SUSE-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms