sane-hp3900(5)

🌸 sane-hp3900(5) β€” the girl's guide to the RTS8822 chipset scanner backend 🌸

okay so this is sane-hp3900(5), the manual page for the SANE backend that talks to scanners built on the RTS8822 chipset. it's giving niche but iconic, and i'm obsessed. let's get into it πŸ’…


✨ NAME ✨

sane-hp3900 β€” the SANE backend for scanners based on the RTS8822 chipset 🫢


πŸ’– DESCRIPTION πŸ’–

so the sane-hp3900 library implements a SANE (Scanner Access Now Easy) backend, and it gives you access to at least these USB flatbed scanners, no cap:

Model:                     Chipset:
------                     --------
HP ScanJet 3800            RTS8822BL-03A
HP ScanJet 3970            RTS8822L-01H
HP ScanJet 4070 Photosmart RTS8822L-01H
HP ScanJet 4370            RTS8822L-02A
HP ScanJet G2710           RTS8822BL-03A
HP ScanJet G3010           RTS8822L-02A
HP ScanJet G3110           RTS8822L-02A
UMAX Astra 4900/4950       RTS8822L-01H *
BenQ 5550                  RTS8823L-01E *

more details live on the sane-hp3900(5) backend homepage right here: http://sourceforge.net/projects/hp3900-series/ πŸ¦‹

this is ALPHA software. like, alpha alpha. keep your hand at the scanner's plug and unplug it, if the scanner does not start to scan 😭 seriously. see also the BUGS section below, bestie.

if you own a scanner other than the ones listed above that works with this backend, please let us know β€” send us the scanner's exact model name and the USB vendor and device ids (e.g. from /proc/bus/usb/devices, sane-find-scanner(1) or syslog) πŸ’Œ and even if the scanner's name is only slightly different from the models mentioned above, please let us know too. every data point helps, fr fr.


πŸŽ€ CONFIGURATION πŸŽ€

the contents of the hp3900.conf file is a list of usb lines containing vendor and product ids that correspond to USB scanners. the file can also contain the names of device files that correspond to an HP 39XX scanner. empty lines and lines starting with a hash mark (#) are ignored, periodt.

the scanners are autodetected by usb vendor_id product_id statements which are already included into hp3900.conf. "vendor_id" and "product_id" are hexadecimal numbers that identify the scanner πŸ”’

if autodetection does not work, add the device name of your scanner to the configuration file,


🧚 FILES 🧚

  • /etc/sane.d/hp3900.conf β€” the backend configuration file (see also description of SANE_CONFIG_DIR below 🫢)
  • /usr/lib64/sane/libsane-hp3900.a β€” the static library implementing this backend
  • /usr/lib64/sane/libsane-hp3900.so β€” the shared library implementing this backend (present on systems that support dynamic loading)

🌈 ENVIRONMENT 🌈

  • SANE_CONFIG_DIR β€” this environment variable specifies the list of directories that may contain the configuration file. on NIX systems, the directories are separated by a colon (,:), under OS/2, they are separated by a semi-colon (,;). if this variable is not set, the configuration file is searched in two default directories: first, the current working directory (.) and then in /etc/sane.d. if the value of the environment variable ends with the directory separator character, then the default directories are searched *after the explicitly specified directories. for example, setting SANE_CONFIG_DIR to "/tmp/config:" would result in directories tmp/config, ., and /etc/sane.d being searched (in this order) πŸ’«
  • SANE_DEBUG_HP3900 β€” if the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. higher debug levels increase the verbosity of the output πŸ“ˆ

example, so you can copy-paste:

export SANE_DEBUG_HP3900=4

πŸ”₯ SEE ALSO πŸ”₯

sane(7), sane-usb(5), sane-find-scanner(1), http://sourceforge.net/projects/hp3900-series/, http://jkdsoftware.dyndns.org/drupal/?q=es/books/151


πŸ‘‘ AUTHOR πŸ‘‘

Jonathan Bravo Lopez <jkdsoft@gmail.com> β€” legendary behavior, honestly πŸ’œ


πŸ’€ BUGS πŸ’€

scanning is only tested with Linux/ix86/gcc. be careful when testing on other operating systems and especially on big-endian platforms β€” the scanner may get wrong data πŸ™ˆ like, wrong wrong. not a vibe.


and that's the whole page, bestie!! this one's from 06 Jan 2009 and it's the sane-hp3900(5) page β€” go scan something cute πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from