scanbuttond - Daemon to monitor and configure modern scanner's buttons

Property Value
Distribution FreeBSD 10
Repository FreeBSD Ports Latest amd64
Package name scanbuttond
Package version 0.2.3
Package release 2
Package architecture amd64
Package type txz
Installed size 111.54 KB
Download size 26.98 KB
Official Mirror
This is the port of scanbuttond, an utility to monitor the various buttons
found on many modern scanners which are intended to trigger certain actions
like copying, faxing or mailing the scanned document.
This daemon queries the scanner button state several times per second via
libusb and if it detects that a button is pressed it runs a shell script with
the button number as an argument.
The supported scanner backends currently are: epson, niash, plustek, snapscan
Categories: sysutils
scanbuttond has been installed, but is not quite ready to be used yet.
To make scanbuttond actually do something you have to edit
/usr/local/etc/scanbuttond/ and change it to your needs.
If you are having trouble getting your scanner detected try uncommenting one
of the following lines in /usr/local/etc/scanbuttond/
scanimage -n
sane-find-scanner  > /dev/null 2> /dev/null
If your scanner is connected via a hot-plug capable technology (e.g. USB)
you can conveniently enable scanbuttond every time you attach you scanner by
using devd. In order to do so you may add the following lines to your
/etc/devd.conf and restart devd after you are done.
(Make sure to replace device-name, vendor, product and back-end name to
something that matches your environment)
attach 20 {
device-name "ugen[0-9]+";
match "vendor" "0x04a9";
match "product" "0x220e";
action "/usr/local/bin/scanbuttond \
-s /usr/local/etc/scanbuttond/ \
-S /usr/local/etc/scanbuttond/ \
-b /usr/local/lib/";
detach 20 {
device-name "ugen[0-9]+";
match "vendor" "0x04a9";
match "product" "0x220e";
action "/usr/bin/killall scanbuttond";


Package Version Architecture Repository
scanbuttond-0.2.3_2.txz 0.2.3 i386 FreeBSD Ports Quarterly
scanbuttond-0.2.3_2.txz 0.2.3 amd64 FreeBSD Ports Quarterly
scanbuttond-0.2.3_2.txz 0.2.3 i386 FreeBSD Ports Latest
scanbuttond - - -


Name Value - - - - - - - -


Type URL
Binary Package scanbuttond-0.2.3_2.txz
Source Package sysutils/scanbuttond

Install Howto

Install scanbuttond txz package:

# pkg install scanbuttond

See Also

Package Description
scandoc-0.14.txz C/C++ documentation generator
scanhill-0.5.p1_1.txz Microsoft Messenger Protocol Sniffer
scanlogd-2.2.7_2.txz TCP port scan detection tool
scanssh-2.1_11.txz Scans networks for open proxies, SSH, web, and SMTP servers
scantailor- Interactive post-processing tool for scanned pages
scapy-2.3.3.txz Powerful interactive packet manipulation program in python
scare-1.3.10.txz ADRIFT-compatible interactive games interpreter
scavenge-2.0_1.txz Discover/audit forward and reverse DNS records
sccache-2.8.0.a0_2.txz Like ccache with cloud storage support
scct-0.1.txz Simple Cluster_SSH Clone using Tmux
scew-1.2.0.txz Simple C Expat Wrapper
schedutils-0.7.2.txz Collection of realtime scheduling tools
scheme48-1.9.2.txz Scheme Underground's implementation of R5RS
schiff-16_5.txz Steer your ship(s) with the keyboard
schismtracker-20180810.txz Module tracker editor/player resembling impulse tracker