The graphics/sane-backends port

sane-backends-1.2.1p0 – API for accessing scanners, backends (cvsweb github mirror)


SANE stands for Scanner Access Now Easy.
This package contains the SANE libraries (this means backends and
network scanning parts) and the command line frontend scanimage.

Available FLAVORS:
	escl - build support for the eSCL protocol
                (vendor-neutral network protocol for driverless scanning)
	snmp - build with net-snmp support (SNMP scanner autodiscovery)
WWW: http://www.sane-project.org/


| Running ${PKGSTEM} on OpenBSD

First read ${TRUEPREFIX}/share/doc/sane-backends/PROBLEMS.

HP scanners need the hplip and hpaio packages installed.

Since USB scanning will be handled by libusb, you need to allow
the user access to the corresponding USB endpoint. To do so, find
where your scanner is attached to using:
    $ usbdevs -v
then change the ownerships accordingly.

Controller /dev/usb0:                                                           
addr 05: 03f0:4812 HP, Officejet 7500 E910                                      
         high speed, self powered, config 1, rev 1.00, iSerialNumber MY2793100Q05JB
         driver: umass0                                                         
         driver: ugen1                                                          
# chown  /dev/ugen1.* /dev/usb0

You can grant multiple users direct access to the scanner by adding them to the
_saned group and allowing access to its ugen(4) and usb(4) devices.
    # chgrp _saned /dev/ugen1.* && chmod 660 /dev/ugen1.* /dev/usb0

To preserve your changes after a system update, use rc.local(8).
Alternatively, hotplugd(8) attach/detach scripts can automate this.

SANE only supports the generic SCSI uk(4) devices.
Make sure your user account has access to the scanner device node or you
will not be able to scan.

Some backends (like sane-plustek(5)) use a lockfile for allowing
multiple access to one scanner. If using such a backend, you must
add yourself to the _saned group or you will not be able to scan.

By default, the saned(8) daemon runs as _saned, so you need to allow the
_saned user access to the scanner device node.


Antoine Jacoutot

Only for arches

aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64


on alpha: ICE hp5590.c:1141: error: unrecognizable insn


graphics lang/python

Library dependencies

Build dependencies

Reverse dependencies