Commit Graph

54 Commits

Author SHA1 Message Date
wiz 09e63f3f79 Sync usage with manpage. 2006-10-26 11:12:41 +00:00
wiz 2a68b10b7d Bump date. 2006-10-26 11:12:13 +00:00
wiz 5d62300779 Pull single letter options together.
-r and -w need at least one argument, so document as such. Mark up GET_REPORT.
2006-10-26 11:12:00 +00:00
dsainty f903859f35 Implement an option to reset all values (rather than attempting to read
them) to allow setting item values on certain pesky devices that otherwise
error out on the GET_REPORT command.

Indicated via the new -z flag.
2006-10-22 06:16:37 +00:00
dsainty 3d56b3bab3 Add support for addressing multiple items with the same name (for buggy
devices).

The syntax and patch were discussed with Lennart about 1.5 years ago :)

Knock the BUG entry out of the man page.
2006-10-22 05:09:14 +00:00
mrg 084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
christos 76c6077db0 Coverity CID 815: Avoid NULL pointer deref. 2006-05-01 05:04:02 +00:00
jdolecek 98eec0d015 bump size of some arrays 2005-02-09 22:14:13 +00:00
dsl 1869f0e146 Add (unsigned char) cast to ctype functions 2004-11-05 21:56:01 +00:00
dsainty 5469cb6f9a Make the USB_GET_REPORT error format match the USB_SET_REPORT error format by
including the report the error was on.
2004-10-31 07:36:19 +00:00
dsainty b95d1a22d4 Correct spelling of hierarchy in a comment, and tab around RCSID 2004-10-30 05:16:13 +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
wiz e07b8295fc Cm So . Sc -> Sq Cm \&. (and similar for :). 2003-07-01 10:26:27 +00:00
agc a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +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
christos 6728d906e9 Prefix structure members to protect them against clashes with eg. c++ keywords.
Suggested by Alfred Perlstein, from FreeBSD, ok'd by augustss
2002-02-20 20:30:12 +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 f8efb19e18 Print items with a usage range in a comprehensible way.
Also print all items in an array.
2001-12-29 21:23:24 +00:00
augustss 0519f15d3d Update for libusbhid(3) changes. 2001-12-28 17:49:31 +00:00
augustss 26ea6daa53 Add a clarifying remark to the -a option. 2001-12-24 10:10:10 +00:00
augustss c9de30b246 Back out last commit that was not meant to be done yet. 2001-12-22 19:39:42 +00:00
augustss 5e2e7b5a79 Provide a nicer messages if the device read fails.
From David Sainty in PR bin/15019.
2001-12-22 12:34:41 +00:00
wiz dffa59c8f5 Sort sections, sort SEE ALSO, standardize section header, improve markup in
one place.
2001-10-22 23:51:12 +00:00
augustss dc41f2f427 Change usbhidctl to take numeric usage names. Add examples in the man
page.  From Dave Sainty <dave@dtsp.co.nz>.
2001-10-22 22:03:49 +00:00
simonb a378517ea4 80 column police. 2001-03-28 03:17:41 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
augustss 50891507e0 Updated version of the usbhidctl command that allows setting, as well as
reading, items.  From Dave Sainty <dave@dtsp.co.nz>.
2000-09-24 02:27:12 +00:00
augustss f744825091 Some fixes suggested by Sheldon Hearn <sheldonh@uunet.co.za> (FreeBSD). 2000-07-06 07:26:48 +00:00
matt fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
simonb d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
augustss ff6d760db9 GC an unused #define. 1999-05-16 19:42:03 +00:00
augustss 63541a8c9d Sync with libusb. 1999-05-12 00:38:20 +00:00
augustss d2db1be09a Update for new libusb. 1999-05-12 00:05:11 +00:00
augustss 9e0a31a316 Xref usb(3). 1999-05-11 21:03:58 +00:00
augustss 18f11488db Make USB HID processing into a library. 1999-05-11 21:02:24 +00:00
augustss f0956be346 Updates from Soren S. Jorvang <soren@t.dk> 1999-05-08 14:56:21 +00:00
augustss dc975a385b Dump more HID info. 1999-04-21 17:41:08 +00:00
augustss f52e3c039b Handle devices with a report id correctly. 1999-04-21 16:23:14 +00:00
augustss caf9aabb3e Make opyrights conform. 1999-04-13 20:50:48 +00:00
hubertf 56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
augustss ab8c44f6d2 Remove two garbage characters in the table. 1999-01-13 23:14:33 +00:00
augustss ef51366cb7 Handle flags better. 1998-12-03 20:46:10 +00:00
augustss 8cababe387 Fix typo. 1998-12-02 16:37:48 +00:00
augustss 9726cfd1fb Make the copyright header conform to the NetBSD template. 1998-11-25 22:17:06 +00:00
augustss 5650a635f5 Fix typo. 1998-10-22 10:34:17 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
augustss 02c8f266db Make the /dev/ part of the device name optional. 1998-07-23 13:48:59 +00:00