jmcneill
f5e1fa54fa
Add an optional '-p pidfile' parameter.
2018-05-15 01:41:29 +00:00
bouyer
878cb1cfc5
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
2017-12-10 20:38:13 +00:00
dholland
4e631407ca
PR 51754 Charlotte Koch: fix -v output of config parser.
2016-12-31 10:13:15 +00:00
christos
f05010c404
- PR/50291: Fix memory leak
...
- estrdup/emalloc
- use EXIT_FAILURE instead of 1
2015-09-29 14:27:00 +00:00
christos
185af7b6b5
use O_CLOEXEC
2013-01-24 17:46:00 +00:00
lukem
c1ceae17f0
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
2009-04-14 22:15:16 +00:00
lukem
c493aef500
fix -Wsign-compare issues
2009-01-18 07:11:45 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
perry
8b0f9554ff
convert __attribute__s to applicable cdefs.h macros
2007-12-15 19:44:37 +00:00
christos
1245f2f0ca
Sprinkle static, pass lib, warns=4
2006-05-19 14:43:58 +00:00
christos
f2dd1e3c0c
Coverity CID 1772: Close file on error return.
2006-05-01 00:03:15 +00:00
dsainty
432d19fe4b
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]
2005-07-02 04:05:09 +00:00
augustss
6fbdbcbb3e
If running as a demon, make sure config file has an absolute path name.
...
Partly addresses PR 15769.
2005-04-29 17:18:30 +00:00
dsl
1869f0e146
Add (unsigned char) cast to ctype functions
2004-11-05 21:56:01 +00:00
augustss
7efc81ca56
Make stdout line buffered (in case you are logging).
2004-10-31 21:10:59 +00:00
wiz
c76ac2e131
Use Fl for flags, not "Ar -"; add verb to sentence;
...
grammar fix; remove trailing whitespace.
2004-10-20 23:52:04 +00:00
augustss
d44bf45e4b
Update date (phew, got there before wiz! ;)
2004-10-20 13:57:36 +00:00
augustss
689cf598a2
Change logic in patch to allow CONST collections a little.
2004-10-20 13:56:53 +00:00
augustss
9a9d5c1a03
Allow a HID table to be specified (as for usbhidctl).
2004-10-20 13:53:56 +00:00
augustss
7dae9ae8ac
Allow a collection to have the CONST flag.
...
Add some debug.
2004-10-20 13:49:15 +00:00
augustss
4c335c3359
Fix a typo.
...
Clarify path name for the config file.
2004-10-20 13:47:21 +00:00
augustss
17f791c30f
Clarify and modernize a little.
2004-10-19 13:51:57 +00:00
augustss
ac26803d62
Update with an additional (useful) example.
2004-10-19 13:39:51 +00:00
mrg
6f0ae3f96d
don't syslog() or errx() a \n.
2004-10-10 01:16:17 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
agc
a8d6388e6f
Add NetBSD RCS Ids.
2003-06-23 13:05:47 +00:00
itojun
aa5672d8c5
sscanf overrun
2003-05-17 01:02:01 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant
be8ae688ae
New sentence, new line.
2002-09-30 11:08:56 +00:00
itojun
f51456c273
err/errx/warn/warnx do not need \n at the end
2002-06-11 06:06:18 +00:00
veego
e2e1706f05
Ups, it is LIBUSBHID and not LIBUSBHIB.
2002-02-02 16:54:26 +00:00
veego
3de557e57f
Change LIBUSB to LIBUSBHIB, reflecting the library name change.
2002-02-02 16:49:52 +00:00
augustss
cbb3d4301d
Re-read the configuration file on HUP.
2002-01-18 14:38:59 +00:00
augustss
e7408f3af1
Make it possible to recognize values in usage ranges.
2001-12-29 23:17:50 +00:00
augustss
ab2923bd65
Fix some buglets.
2001-12-29 22:15:32 +00:00
augustss
0519f15d3d
Update for libusbhid(3) changes.
2001-12-28 17:49:31 +00:00
augustss
07e3980f16
Fix typo.
2001-12-09 22:53:30 +00:00
wiz
1c9dacf400
Sort sections.
2001-12-08 19:19:41 +00:00
cgd
c2bdafab79
use getprogname()
2001-02-20 23:51:59 +00:00
augustss
eb24c4857c
Change indentation and wording a little.
2000-12-30 16:18:13 +00:00
augustss
ba3249597d
Add copyright notice.
2000-12-30 13:10:12 +00:00
augustss
6a55a964fc
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.
2000-12-30 13:07:48 +00:00