MFprojects/hid: - Fix usbhidctl and usbhidaction to handle HID devices with multiplereport ids, such as multimedia keyboards. - Add collection type and report id to the `usbhidctl -r` output. They
MFprojects/hid: - Fix usbhidctl and usbhidaction to handle HID devices with multiplereport ids, such as multimedia keyboards. - Add collection type and report id to the `usbhidctl -r` output. Theyare important for proper device understanding and debugging. - Fix usbhidaction tool to properly handle items having report_countmore then 1.Approved by: re (kib)MFC after: 2 weeks
show more ...
The NetBSD Foundation has granted permission to remove clause 3 and 4from their software.Obtained from: NetBSD
Use getprogname() instead of referencing __progname.
Build fixups for the new USB stack.
src/usr.bin/usbhidaction/usbhidaction.csrc/usr.bin/usbhidctl/usbhid.csrc/sys/dev/usb2/include/usb2_hid.hsrc/sys/dev/usb2/input/uhid2.csrc/lib/libusbhid/Makefilesrc/lib/libusbhid/descr.csrc/lib/
src/usr.bin/usbhidaction/usbhidaction.csrc/usr.bin/usbhidctl/usbhid.csrc/sys/dev/usb2/include/usb2_hid.hsrc/sys/dev/usb2/input/uhid2.csrc/lib/libusbhid/Makefilesrc/lib/libusbhid/descr.csrc/lib/libusbhid/descr_compat.csrc/lib/libusbhid/usbhid.3src/lib/libusbhid/usbhid.hsrc/lib/libusbhid/usbvar.hPatches to make libusbhid and HID userland utilities compatible withthe new USB stack. All HID ioctls should go through the libusbhidlibrary to ensure compatibility. I have found at least one piece ofsoftware in /usr/ports which needs to get updated before USB HIDdevices 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.cCorrect USB process names.Reported by:Andre Guibert de Bruetsrc/sys/dev/usb2/serial/uftdi2.cIntegrate changes from old USB stack.Submitted by: hps
usbhidctl appears to not report features and write size correctlyThis turns out to be due to an argument botch for hid_report_size.The PR contained patches to fix the argument botch.Submitted by
usbhidctl appears to not report features and write size correctlyThis 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 CastroPR: usb/118915
Bump document date.Nitpicked by: ruMFC after: 1 week
usage: Include the - in the x flag.main: Make -x set the hexdump; there's no obvious reason to toggle it.Nitpicked by: ruMFC after: 1 week
Add option -x to display output values in hex in addition to decimal.
Sort sections.
Correct reference to a non existant man page.
Remove uninitialized local variable in favor of global.PR: bin/52685Submitted by: Alexander Nedotsukov <bland@mail.ru>Approved by: re (scottl)
Sync with NetBSD.- 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.- hi
Sync with NetBSD.- 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 previousFreeBSD specific behavior.
Usage style sweep: spell "usage" with a small 'u'.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'
Style nits.
Don't unnecessarily include .mk files.
Install libusbhid, and use it instead of libusb.MFC after: 6 days
Use libusbhid.h instead of libusb.h.
WARNS=2 fixes.
Remove a bogus %s from a printf.Submitted by: kris
Fix the build break.The solution isn't perfect, instead of printing the first report, itwill the report no report id, but the proper solution is more complexthan this. We would need to iterate ov
Fix the build break.The solution isn't perfect, instead of printing the first report, itwill the report no report id, but the proper solution is more complexthan this. We would need to iterate over the report descriptor andfigure out all the report id's before starting to print.
Don't overflow in command-line argsSubmitted by: Mike Heffner <mheffner@vt.edu>
Rename the ``name'' argument to ``item'' and mark it up as an argument.Make use of the marked up argument to clarify the text in the DESCRIPTIONsection.Insert a missing word: ``the''.Make the phr
Rename the ``name'' argument to ``item'' and mark it up as an argument.Make use of the marked up argument to clarify the text in the DESCRIPTIONsection.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 Augusst
12