aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/usbhidctl
Commit message (Collapse)AuthorAgeFilesLines
* Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-2/+2
| | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* mdoc sweep.Joel Dahl2013-05-121-1/+3
| | | | Notes: svn path=/head/; revision=250582
* Fix style nit: don't use leading zero for dates in .DdEitan Adler2012-06-051-1/+1
| | | | | | | | | Prompted by: brueffer Approved by: brueffer MFC after: 3 days Notes: svn path=/head/; revision=236596
* Add support for -z option for reading operations. It allows to not requestAlexander Motin2012-05-162-6/+7
| | | | | | | current values from device, but only receive changes. Notes: svn path=/head/; revision=235519
* Add missing static keywords to usbhidctl(1)Ed Schouten2011-11-061-6/+6
| | | | Notes: svn path=/head/; revision=227196
* MFprojects/hid:Alexander Motin2011-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. Notes: svn path=/head/; revision=225839
* MFprojects/hid:Alexander Motin2011-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 Notes: svn path=/head/; revision=224511
* The NetBSD Foundation has granted permission to remove clause 3 and 4Warner Losh2010-02-162-14/+0
| | | | | | | | | from their software. Obtained from: NetBSD Notes: svn path=/head/; revision=203971
* Use getprogname() instead of referencing __progname.Xin LI2009-06-231-3/+2
| | | | Notes: svn path=/head/; revision=194789
* Build fixups for the new USB stack.Andrew Thompson2009-02-231-1/+1
| | | | Notes: svn path=/head/; revision=188945
* src/usr.bin/usbhidaction/usbhidaction.cAlfred Perlstein2009-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 Notes: svn path=/head/; revision=187994
* usbhidctl appears to not report features and write size correctlyWarner Losh2007-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 Notes: svn path=/head/; revision=174826
* Bump document date.Greg Lehey2006-11-231-1/+1
| | | | | | | | Nitpicked by: ru MFC after: 1 week Notes: svn path=/head/; revision=164545
* usage: Include the - in the x flag.Greg Lehey2006-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 Notes: svn path=/head/; revision=164544
* Add option -x to display output values in hex in addition to decimal.Greg Lehey2006-11-232-9/+24
| | | | Notes: svn path=/head/; revision=164531
* Sort sections.Ruslan Ermilov2005-01-181-4/+4
| | | | Notes: svn path=/head/; revision=140420
* Correct reference to a non existant man page.Philippe Charnier2004-01-041-1/+1
| | | | Notes: svn path=/head/; revision=124131
* Remove uninitialized local variable in favor of global.Matthew N. Dodd2003-05-261-2/+1
| | | | | | | | | PR: bin/52685 Submitted by: Alexander Nedotsukov <bland@mail.ru> Approved by: re (scottl) Notes: svn path=/head/; revision=115317
* Sync with NetBSD.Matthew N. Dodd2003-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. Notes: svn path=/head/; revision=113273
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-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}/. Notes: svn path=/head/; revision=95258
* Use `The .Nm utility'Philippe Charnier2002-04-201-2/+4
| | | | Notes: svn path=/head/; revision=95124
* Style nits.Ruslan Ermilov2002-04-151-3/+2
| | | | Notes: svn path=/head/; revision=94744
* Don't unnecessarily include .mk files.Ruslan Ermilov2002-04-151-4/+1
| | | | Notes: svn path=/head/; revision=94743
* Install libusbhid, and use it instead of libusb.Josef Karthauser2002-03-281-2/+2
| | | | | | | MFC after: 6 days Notes: svn path=/head/; revision=93351
* Use libusbhid.h instead of libusb.h.Josef Karthauser2002-03-281-1/+1
| | | | Notes: svn path=/head/; revision=93349
* WARNS=2 fixes.Mark Murray2001-12-111-6/+6
| | | | Notes: svn path=/head/; revision=87699
* Remove a bogus %s from a printf.Nick Hibma2001-04-171-1/+1
| | | | | | | Submitted by: kris Notes: svn path=/head/; revision=75606
* Fix the build break.Nick 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. Notes: svn path=/head/; revision=67256
* Don't overflow in command-line argsKris Kennaway2000-10-091-2/+2
| | | | | | | Submitted by: Mike Heffner <mheffner@vt.edu> Notes: svn path=/head/; revision=66856
* Rename the ``name'' argument to ``item'' and mark it up as an argument.Sheldon Hearn2000-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. Notes: svn path=/head/; revision=63641
* Add the usbhidctl utility, from NetBSD, by Lennart AugusstNick Hibma2000-07-053-0/+441
Notes: svn path=/head/; revision=62642