summaryrefslogtreecommitdiffstats
path: root/usr.bin/usbhidctl
Commit message (Collapse)AuthorAgeFilesLines
* mdoc sweep.joel2013-05-121-1/+3
|
* Fix style nit: don't use leading zero for dates in .Ddeadler2012-06-051-1/+1
| | | | | | Prompted by: brueffer Approved by: brueffer MFC after: 3 days
* Add support for -z option for reading operations. It allows to not requestmav2012-05-162-6/+7
| | | | current values from device, but only receive changes.
* Add missing static keywords to usbhidctl(1)ed2011-11-061-6/+6
|
* MFprojects/hid:mav2011-09-282-124/+355
| | | | | | | | | | | | | | Import the rest of HID improvements from the branch: - improve report descriptor parser in libusbhid to handle several kinds of reports same time; - add to the libusbhid API two functions wrapping respective kernel IOCTLs for reading and writing reports; - tune uhid IOCTL interface to allow reading and writing arbitrary report, when multiple supported by the device; - teach usbhidctl to set output and feature reports; - make usbhidaction support all the same item names as bhidctl. Sponsored by: iXsystems, inc.
* MFprojects/hid:mav2011-07-301-15/+39
| | | | | | | | | | | | - Fix usbhidctl and usbhidaction to handle HID devices with multiple report ids, such as multimedia keyboards. - Add collection type and report id to the `usbhidctl -r` output. They are important for proper device understanding and debugging. - Fix usbhidaction tool to properly handle items having report_count more then 1. Approved by: re (kib) MFC after: 2 weeks
* The NetBSD Foundation has granted permission to remove clause 3 and 4imp2010-02-162-14/+0
| | | | | | from their software. Obtained from: NetBSD
* Use getprogname() instead of referencing __progname.delphij2009-06-231-3/+2
|
* Build fixups for the new USB stack.thompsa2009-02-231-1/+1
|
* src/usr.bin/usbhidaction/usbhidaction.calfred2009-02-021-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/usr.bin/usbhidctl/usbhid.c src/sys/dev/usb2/include/usb2_hid.h src/sys/dev/usb2/input/uhid2.c src/lib/libusbhid/Makefile src/lib/libusbhid/descr.c src/lib/libusbhid/descr_compat.c src/lib/libusbhid/usbhid.3 src/lib/libusbhid/usbhid.h src/lib/libusbhid/usbvar.h Patches to make libusbhid and HID userland utilities compatible with the new USB stack. All HID ioctls should go through the libusbhid library to ensure compatibility. I have found at least one piece of software in /usr/ports which needs to get updated before USB HID devices will work. This is the X joystick input driver. Reported and tested by: Daichi GOTO and Masanori OZAWA. src/sys/dev/usb2/core/usb2_process.c Correct USB process names. Reported by: Andre Guibert de Bruet src/sys/dev/usb2/serial/uftdi2.c Integrate changes from old USB stack. Submitted by: hps
* usbhidctl appears to not report features and write size correctlyimp2007-12-211-4/+4
| | | | | | | | This turns out to be due to an argument botch for hid_report_size. The PR contained patches to fix the argument botch. Submitted by: Maurice Castro PR: usb/118915
* Bump document date.grog2006-11-231-1/+1
| | | | | Nitpicked by: ru MFC after: 1 week
* usage: Include the - in the x flag.grog2006-11-231-3/+3
| | | | | | | main: Make -x set the hexdump; there's no obvious reason to toggle it. Nitpicked by: ru MFC after: 1 week
* Add option -x to display output values in hex in addition to decimal.grog2006-11-232-9/+24
|
* Sort sections.ru2005-01-181-4/+4
|
* Correct reference to a non existant man page.charnier2004-01-041-1/+1
|
* Remove uninitialized local variable in favor of global.mdodd2003-05-261-2/+1
| | | | | | PR: bin/52685 Submitted by: Alexander Nedotsukov <bland@mail.ru> Approved by: re (scottl)
* Sync with NetBSD.mdodd2003-04-091-3/+4
| | | | | | | | | | | | | | - Bump shared library version on libusbhid. - Retire libusbhid.h; it is called usbhid.h now. - hid_start_parse() takes a third argument. - hid_locate() takes a fifth argument. - hid_report_size() order of arguments changes. - Other changes, including formatting and whitespace. Bump __FreeBSD_version. This change will break all third party applications that rely on previous FreeBSD specific behavior.
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-1/+1
| | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
* Use `The .Nm utility'charnier2002-04-201-2/+4
|
* Style nits.ru2002-04-151-3/+2
|
* Don't unnecessarily include .mk files.ru2002-04-151-4/+1
|
* Install libusbhid, and use it instead of libusb.joe2002-03-281-2/+2
| | | | MFC after: 6 days
* Use libusbhid.h instead of libusb.h.joe2002-03-281-1/+1
|
* WARNS=2 fixes.markm2001-12-111-6/+6
|
* Remove a bogus %s from a printf.n_hibma2001-04-171-1/+1
| | | | Submitted by: kris
* Fix the build break.n_hibma2000-10-171-15/+9
| | | | | | | The solution isn't perfect, instead of printing the first report, it will the report no report id, but the proper solution is more complex than this. We would need to iterate over the report descriptor and figure out all the report id's before starting to print.
* Don't overflow in command-line argskris2000-10-091-2/+2
| | | | Submitted by: Mike Heffner <mheffner@vt.edu>
* Rename the ``name'' argument to ``item'' and mark it up as an argument.sheldonh2000-07-201-6/+9
| | | | | | | | Make use of the marked up argument to clarify the text in the DESCRIPTION section. Insert a missing word: ``the''. Make the phrase in the BUGS section a full sentence. Sort the cross-references in the SEE ALSO section correctly.
* Add the usbhidctl utility, from NetBSD, by Lennart Augusstn_hibma2000-07-053-0/+441
OpenPOWER on IntegriCloud