sane-rts8891(5)
π sane-rts8891 β the SANE backend for rts8891-based scanners
okay so before we even get into it: this is a section 5 manpage, bestie, and it's called sane-rts8891. Like, that's the whole vibe. it lives in the SAN(E) Scanner Access Now Easy corner of the universe and it's about to tell you everything about the rts8891 backend. grab a snack π
β¨ NAME β¨
sane-rts8891 β the SANE backend for scanners built on the rts8891 chipset π₯
π¦ DESCRIPTION π¦
so, the sane-rts8891 library implements a SANE backend β and SANE literally stands for Scanner Access Now Easy, which, periodt β that gives you access to scanners based on the rts8891 ASIC. yes, ASIC. that's the little brain inside. π§
the scanners that actually work with this backend are these icons right here:
- Umax Astra 4400 β status:
untested - Umax Astra 4450 β status:
untested - HP scanjet 4000c β status:
good - HP scanjet 4470c β status:
good
(it's giving "two slay, two question mark" but we move π)
the options the backend supports can either be picked through command line options on programs like scanimage(1), or through GUI elements in xscanimage(1) or xsane(1). so, your call, bestie β terminal gremlin era or clicky era. π
if you notice any strange behavior, please report it to the backend maintainer or to the SANE mailing list. genuinely β they want to know. ngl, this is the most helpful thing you can do. π«Ά
you can list all the valid command line options and their syntax by running:
scanimage --help -d rts8891
πΈ Scan Mode Options πΈ
--modeβ selects the basic mode of operation of the scanner. valid choices areColor,GrayandLineart. the default mode isColor. theLineartmode is for black and white only (1 bit).Graywill produce 256 levels of gray (8 bits).Colormode allows for over 16 million different colors produced from 24 bits of color information. so yeah, that's not a typo, that's sixteen MILLION colors, okay π--resolutionβ selects the resolution for a scan. the horizontal and vertical resolutions are set by the value of this option. the scanner is capable of the following resolutions for the specified option value:- value
75β hor. resolution75dpi, vert. resolution75dpi - value
150β hor. resolution150dpi, vert. resolution150dpi - value
300β hor. resolution300dpi, vert. resolution300dpi - value
600β hor. resolution600dpi, vert. resolution600dpi - value
1200β hor. resolution1200dpi, vert. resolution1200dpi
- value
--previewβ requests a preview scan. the resolution used for that scan is75dpi and the scan area and the scan mode are as specified through their options, or the default if not specified. the default value for preview mode is"no". little sneak peek energy π--thresholdβ selects the minimum-brightness to get a white point. the threshold is only used withLineartmode scans. it is specified as a percentage in the range0..100%(in steps of1). the default value of the threshold option is50. it's giving "how white is white, actually" π
π CONFIGURATION FILE π
the configuration file /etc/sane.d/rts8891.conf contains the usb device ids of supported scanners (eg usb 0x043d 0x007c) and scanner configuration options. empty lines and lines starting with a hash mark (#) are ignored. classic. π
the options supported are allowsharing, modelnumber.
Option β
allowsharingβ enables or not the sharing of the scanner between multiple frontends at the same time.modelnumberβ is used to force the reported model by the backend and is only useful in the case of a scanner which NVRAM has been erased. the values are:0to report a HP4470c.1to report a HP4400c.2to report an Astra 4400.
fr fr, modelnumber is the "my NVRAM got wiped and now I don't know who I am" setting. only reach for it in that scenario. π«Ά
π FILES π
/usr/lib64/sane/libsane-rts8891.aβ the static library implementing this backend./usr/lib64/sane/libsane-rts8891.soβ the shared library implementing this backend (present on systems that support dynamic loading).
π ENVIRONMENT π
SANE_DEBUG_RTS8891,SANE_DEBUG_RTS8891_LOW,SANE_DEBUG_RTS88XX_LIBβ if the library was compiled with debug support enabled, these environment variables control the debug level for this backend. e.g., a value of255requests all debug output to be printed. smaller levels reduce verbosity.
so like... 255 is "tell me EVERYTHING, I want the whole tea" β and smaller numbers are "okay bestie, just the highlights". π¦
π LIMITATIONS π
- scanners of the same model exist with different sensors, due to lack of data (ie USB logs) some sensors are better supported than others. at least
75dpi mode is working for any model. - sharing the scanner between several frontends at the same time (
allowsharingoption) may not work on some USB controllers.
and the big one: XPA is not (yet) supported. it's giving "coming soon (derogatory)". π
π BUGS π
no bugs currently known. (iconic, honestly. we love a clean slate. β¨)
β SEE ALSO β
sane-scsi(5), scanimage(1), xscanimage(1), xsane(1), sane(7)
π AUTHOR π
this backend has been developed by StΓ©phane Voltz.
http://stef.dev.free.fr/sane/rts8891
π§ CREDITS π§
many thanks go to:
- Laurent Fournier who donated me a HP4470c.
- Vladimir Sysoev and "TheUnruly Squash" for the time they spent recording USB activity and testing the experimental version on HP4400 models.
and that's the whole page, bestie π go forth and scan π
sign-off: this page is from the SANE Scanner Access Now Easy collection, dated 8 Dec 2008, and it's sane-rts8891(5), section 5. ty for coming to my ted talk π«Άβ¨
π¦ where this page comes from
- centos-stream 10: sane-backends 1.2.1-10.el10 Β· 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 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