Home | History | Annotate | Download | only in usbhidaction
History log of /src/usr.bin/usbhidaction/usbhidaction.c
RevisionDateAuthorComments
 1.30  13-Apr-2021  mrg increase the size of a buffer by 1 byte.

i think GCC 10 is right here.
 1.29  15-May-2018  jmcneill Add an optional '-p pidfile' parameter.
 1.28  10-Dec-2017  bouyer branches: 1.28.2;
Fix fallout from hid factorisation:
- need to install sys/dev/hid/hid.h for userland
- include it where needed - most of the time in place if usb/usbhid.h
 1.27  31-Dec-2016  dholland PR 51754 Charlotte Koch: fix -v output of config parser.
 1.26  29-Sep-2015  christos branches: 1.26.2;
- PR/50291: Fix memory leak
- estrdup/emalloc
- use EXIT_FAILURE instead of 1
 1.25  24-Jan-2013  christos use O_CLOEXEC
 1.24  18-Jan-2009  lukem branches: 1.24.8; 1.24.14;
fix -Wsign-compare issues
 1.23  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.22  15-Dec-2007  perry branches: 1.22.4;
convert __attribute__s to applicable cdefs.h macros
 1.21  19-May-2006  christos branches: 1.21.2; 1.21.12;
Sprinkle static, pass lib, warns=4
 1.20  01-May-2006  christos Coverity CID 1772: Close file on error return.
 1.19  02-Jul-2005  dsainty By setting close-on-exec on the USB HID device descriptor, prevent passing an
extraneous descriptor to the command defined as the action to take on a
particular HID event.

This also avoids an unfortunate side-effect: killing and restarting
usbhidaction would sometimes fail because of a lingering open descriptor for
the same device on a process executed by the previous run of usbhidaction.

[OK'd by Lennart]
 1.18  29-Apr-2005  augustss If running as a demon, make sure config file has an absolute path name.
Partly addresses PR 15769.
 1.17  05-Nov-2004  dsl Add (unsigned char) cast to ctype functions
 1.16  31-Oct-2004  augustss Make stdout line buffered (in case you are logging).
 1.15  20-Oct-2004  augustss Change logic in patch to allow CONST collections a little.
 1.14  20-Oct-2004  augustss Allow a HID table to be specified (as for usbhidctl).
 1.13  20-Oct-2004  augustss Allow a collection to have the CONST flag.
Add some debug.
 1.12  10-Oct-2004  mrg don't syslog() or errx() a \n.
 1.11  05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.10  23-Jun-2003  agc Add NetBSD RCS Ids.
 1.9  17-May-2003  itojun sscanf overrun
 1.8  11-Jun-2002  itojun err/errx/warn/warnx do not need \n at the end
 1.7  18-Jan-2002  augustss Re-read the configuration file on HUP.
 1.6  29-Dec-2001  augustss Make it possible to recognize values in usage ranges.
 1.5  29-Dec-2001  augustss Fix some buglets.
 1.4  28-Dec-2001  augustss Update for libusbhid(3) changes.
 1.3  20-Feb-2001  cgd use getprogname()
 1.2  30-Dec-2000  augustss Add copyright notice.
 1.1  30-Dec-2000  augustss Add a command to perform commands when USB HID items take on certain
values.
Some sample uses: controlling USB speakers with the HID buttons on them,
invoking the proper programs from the HID buttons on modern USB
keyboards.
 1.21.12.1  09-Jan-2008  matt sync with HEAD
 1.21.2.2  19-May-2006  christos Sprinkle static, pass lib, warns=4
 1.21.2.1  19-May-2006  christos file usbhidaction.c was added on branch chap-midi on 2006-05-19 14:43:59 +0000
 1.22.4.1  18-May-2008  yamt sync with head.
 1.24.14.1  25-Feb-2013  tls resync with head
 1.24.8.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.26.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.28.2.1  21-May-2018  pgoyette Sync with HEAD

RSS XML Feed