sane-teco2(5)
π sane-teco2 β ok so this is the vibe
Hey bestie, welcome to the sane-teco2 page from the SANE collection β SANE Scanner Access Now Easy, the manual section 5 situation, yes yes. Grab a snack, we're talking scanners π
β¨ NAME β¨
sane-teco2 β the SANE backend for TECO / RELISYS scanners. That's the whole name, that's the whole job π
πΈ DESCRIPTION πΈ
Okay so the sane-teco2 library implements a SANE (Scanner Access Now Easy) backend that gives you access to some TECO SCSI flatbed scanners. And like β be aware β this backend should honestly be considered beta-quality software! It's giving "we're so back but also are we". TECO scanners get sold under a whole bunch of brands, like Mustek, Relisys, Piotech, Primax, TRUST. This backend may or may not support yours. No cap. π
The scanners that should work with this backend are:
Vendor Model TECO model status
--------------------------- -------------- -----------
Mustek ScanMagic 4830S VM3575 untested
Primax Jewel 4800 VM356A good
Primax Profi 9600 VM6575 basic
Primax Profi 19200 VM6586 good
Relisys APOLLO Express 3 VM356A basic
Relisys APOLLO Express 6 VM6565 good
Relisys APOLLO Express 12 ? untested
Relisys AVEC II S3 VM3564 good
Relisys AVEC Super 3 VM3575 basic
Relisys SCORPIO Pro VM6575 good
Relisys SCORPIO Pro-S VM6586 untested
Relisys SCORPIO Super 3 VM3575 good
For all these scanners, lineart and gray mode work well. But lowkey most of them don't support more than a handful of resolutions in color mode. If you want the exact status of each scanner, go check the backend home page β it's linked down in AUTHORS, iykyk. π
Real talk: the untested scanners will not be directly supported. You should contact the author for that one. Don't just vibe and hope, bestie π
The TECO VM number can usually be found at the back of the scanner. It's also part of the FCC ID. Sleuth it out π΅οΈββοΈ
The options the backend supports can either be selected through command line options to programs like scanimage(1), or through GUI elements in xscanimage(1), xsane(1), quiteinsane(1) or kooka(1). Pick your fighter, they all slay β¨
If you have any success with a scanner not listed here, or if you notice any strange behavior, please report to the backend maintainer or to the SANE mailing list. Be the main character who files the bug report π«Ά
π¦ OPTIONS π¦
Want the whole menu? Valid command line options and their syntax can be listed by running:
scanimage --help -d teco2
Look at her go π
π Scan Mode
--mode Lineart|Gray|Colorβ selects the basic mode of operation of the scanner.Lineartmode is black and white only (1 bit).Graymode will produce 256 levels of gray (8 bits).Colorwill produce a 24 bits color image. Three moods, all iconic.--resolution 1..600β selects the resolution for a scan. The scanner can do all resolutions between 1 and 600, in increments of 1, forLineartandGray. ForColor, a restricted set of resolutions are available. Inconsistent queen but we love her π
β οΈ Note: all values with vertical resolution in dpi > 300 (300 x 600) or 600 (600 x 1200) result in a wrong proportion for the scan. The proportion can be adjusted with the followingconvert(1)command from imagemagick:convert -geometry (dpi/max_xdpi * 100%)x100%max_xdpiis for the vm3575 constant with 300 dpi β e.g. 600dpi adjust with:convert -geometry 200%x100%
--previewβ requests a preview scan. The resolution used for that scan is 50 dpi (for VM356A and VM6575 it's 75 dpi) and the scan area is the maximum allowed. The scan mode is user selected. The default is"no". Little sneak peek energy π
π Geometry options
-l,-t,-x,-yβ control the scan area:-lsets the top left x coordinate,-tthe top left y coordinate,-xselects the width and-ythe height of the scan area. All parameters are specified in millimeters by default. Framing the shot, very director-of-photography of you πΈ
π§ Enhancement options
--custom-gamma(no custom gamma option for the VM3564 and VM356A) β (color mode only) allows the user to specify a gamma table (see the next 3 parameters). The "next 3 parameters" are literally the next section, keep reading bestie, we got you πΈ
π₯ OPTIONS FOR COLOR MODE π₯
These options are valid for scan mode Color only. Color girlies only, everyone else look away π
--red-gamma-tableβ can be used to download a user defined gamma table for the red channel. The table must be 256 bytes long.--green-gamma-tableβ can be used to download a user defined gamma table for the green channel. The table must be 256 bytes long.--blue-gamma-tableβ can be used to download a user defined gamma table for the blue channel. The table must be 256 bytes long.
Three tables, three channels, 256 bytes each, no shortcuts π
β OPTIONS ONLY FOR VM3564, VM356A, VM3575 and VM6575 β
These options are only available for VM3564, VM356A, VM3575 and VM6575 models. If that's not your model, this whole section is not for you, and that's okay π«Ά
--white-level-r 0..64β selects what red radiance level should be considered "white", when scanning some sheets by changing the calibration value loaded into the scanner. Scale0..64in steps of1.--white-level-g 0..64β selects what green radiance level should be considered "white", when scanning some sheets by changing the calibration value loaded into the scanner. Scale0..64in steps of1.--white-level-b 0..64β selects what blue radiance level should be considered "white", when scanning some sheets by changing the calibration value loaded into the scanner. Scale0..64in steps of1.
Look at you, tuning whiteness levels like a pro. Calibration icon behavior honestly π
π CONFIGURATION FILE π
The configuration file /etc/sane.d/teco2.conf supports only one item: the device name to use (eg /dev/scanner). That's it. One thing. Minimalist queen. She said "I only do one job" π
π FILES π
/usr/lib64/sane/libsane-teco2.aβ the static library implementing this backend./usr/lib64/sane/libsane-teco2.soβ the shared library implementing this backend (present on systems that support dynamic loading).
Two files, both shipped with love π
β¨ ENVIRONMENT β¨
SANE_DEBUG_TECO2β 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. Crank it to 128 when you're in your detective era πSANE_TECO2_CAL_ALGOβ either0or1. Selects the algorithm for the calibration. A value of1seems to give better scans on the VM356A, VM3575. Feedback on it is welcome. For VM3564, VM356A, VM3575, VM6575 default1. For other supported types default0. Ngl this one's a whole vibe experiment, tell them what you find π
π LIMITATIONS π
The windows TWAIN driver has many more options than this SANE backend. But plot twist β those are only software adjustments. This backend only implements what the scanner can support. Hardware honesty era, we respect it π«Ά
π BUGS π
Plenty. Parts of this backend are still under development. Not me reading "Plenty." and cackling π Iconic levels of self-awareness.
π¦ SEE ALSO π¦
sane(7), sane-scsi(5), scanimage(1), xscanimage(1), xsane(1) β go read these too, they're all linked in the group chat β¨
π AUTHORS π
- Frank Zago β
http://www.zago.net/sane/#teco2 - The package is actively maintained by Gerard Klaver β
http://gkall.hobby.nl/teco2.html
π CREDITS π
Thanks to:
- Gerard Klaver for his relentless VM3575 testings and contributed a patch to support the VM3564 and VM356A. Relentless is the correct word and we're obsessed π
- Mark Plowman for providing the first SCSI traces from a VM3575.
- Andreas Klaedtke for providing the first SCSI traces from a VM6586 and for his testing, and to Stefan von Dombrowski for his testing.
- Nicolas Peyresaubes for providing the first SCSI traces from a VM656A and for his testing.
- Dave Parker for testing the support for the VM6575.
- Michael Hoeller for testing the support for the VM356A.
- Christoph Hoeffner for testing the support for the VM3564 (Relisys AVEC II S3 firmware 1.09).
Absolute legends, every single one π
Okay that's the whole page bestie, you're officially a TECO scholar πβ¨ This one's dated 14 Jul 2008 and comes to you from the SANE Scanner Access Now Easy crew β go forth, scan responsibly, and remember: if it's untested, contact the author before you get any ideas π π¦
π¦ 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