Home | History | Annotate | only in /src/usr.bin/usbhidaction
History log of /src/usr.bin/usbhidaction
RevisionDateAuthorComments
 1.6 14-Apr-2009  lukem Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.5 19-May-2006  christos branches: 1.5.2; 1.5.30;
Sprinkle static, pass lib, warns=4
 1.4 02-Feb-2002  veego Ups, it is LIBUSBHID and not LIBUSBHIB.
 1.3 02-Feb-2002  veego Change LIBUSB to LIBUSBHIB, reflecting the library name change.
 1.2 28-Dec-2001  augustss Update for libusbhid(3) changes.
 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.5.30.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.5.2.2 19-May-2006  christos Sprinkle static, pass lib, warns=4
 1.5.2.1 19-May-2006  christos file Makefile was added on branch chap-midi on 2006-05-19 14:43:59 +0000
 1.16 15-May-2018  jmcneill Add an optional '-p pidfile' parameter.
 1.15 30-Apr-2008  martin branches: 1.15.60;
Convert TNF licenses to new 2 clause variant
 1.14 20-Oct-2004  wiz branches: 1.14.26;
Use Fl for flags, not "Ar -"; add verb to sentence;
grammar fix; remove trailing whitespace.
 1.13 20-Oct-2004  augustss Update date (phew, got there before wiz! ;)
 1.12 20-Oct-2004  augustss Allow a HID table to be specified (as for usbhidctl).
 1.11 20-Oct-2004  augustss Fix a typo.
Clarify path name for the config file.
 1.10 19-Oct-2004  augustss Clarify and modernize a little.
 1.9 19-Oct-2004  augustss Update with an additional (useful) example.
 1.8 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.7 30-Sep-2002  grant New sentence, new line.
 1.6 18-Jan-2002  augustss Re-read the configuration file on HUP.
 1.5 28-Dec-2001  augustss Update for libusbhid(3) changes.
 1.4 09-Dec-2001  augustss Fix typo.
 1.3 08-Dec-2001  wiz Sort sections.
 1.2 30-Dec-2000  augustss Change indentation and wording a little.
 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.14.26.1 18-May-2008  yamt sync with head.
 1.15.60.1 21-May-2018  pgoyette Sync with HEAD
 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