#
331722 |
|
29-Mar-2018 |
eadler |
Revert r330897:
This was intended to be a non-functional change. It wasn't. The commit message was thus wrong. In addition it broke arm, and merged crypto related code.
Revert with prejudice.
This revert skips files touched in r316370 since that commit was since MFCed. This revert also skips files that require $FreeBSD$ property changes.
Thank you to those who helped me get out of this mess including but not limited to gonzo, kevans, rgrimes.
Requested by: gjb (re)
|
#
330897 |
|
14-Mar-2018 |
eadler |
Partial merge of the SPDX changes
These changes are incomplete but are making it difficult to determine what other changes can/should be merged.
No objections from: pfg
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225839 |
|
28-Sep-2011 |
mav |
MFprojects/hid: 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.
|
#
208023 |
|
13-May-2010 |
thompsa |
Use fixed width integer types for parsing the binary hid data.
PR: usb/146367 Submitted by: Hans Petter Selasky
|
#
205728 |
|
27-Mar-2010 |
kaiw |
Merge improvements from kernel HID parser to the userland usbhid(3) parser. This merge does not change any API and should not break any native or thirdparty applications.
Changes include:
* Merge multiple report ID support and other improvements from kernel HID parser. * Ignore rid argument in hid_start_parser, parse all the report items since we now support multiple report ID. * Skip report ID byte in hid_get_data() and set report ID byte in hid_set_data(), if report ID is non-zero. * Reimplement hid_get_report_id: instead get report id from uhid device (which is always 0), try parsing the report descriptor and return the first report ID encountered.
Reviewed by: hps Silent on: -usb mailing list
|
#
187994 |
|
01-Feb-2009 |
alfred |
src/usr.bin/usbhidaction/usbhidaction.c 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
|
#
130030 |
|
03-Jun-2004 |
des |
Add __BEGIN_DECLS / __END_DECLS so this can be used in C++ code.
MFC after: 1 week
|
#
125716 |
|
11-Feb-2004 |
emax |
Do not cast dval. Make global _usage_page unsigned.
Reviewed by: imp (mentor)
|
#
113273 |
|
08-Apr-2003 |
mdodd |
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 previous FreeBSD specific behavior.
|
#
113193 |
|
06-Apr-2003 |
mdodd |
MF NetBSD:
- Reduce diffs with NetBSD. - Formatting and explicit values for enum declaration. - Order of prototypes. - zero report_size in hid_clear_local() - errx() needs no newline - Don't initialie variable in declaration in hid_parse_usage_in_page(). - Use fmtcheck() in hid_usage_in_page().
|
#
93309 |
|
27-Mar-2002 |
joe |
Rename libusb.h to libusbhid.h, via a repocopy.
MFC after: 7 days
|
#
93282 |
|
27-Mar-2002 |
joe |
Follow NetBSD and rename libusb to libusbhid.
MFC after: 7 days
|
#
92917 |
|
21-Mar-2002 |
obrien |
Remove __P() usage.
|
#
72065 |
|
05-Feb-2001 |
bde |
Added used include of <sys/cdefs.h>.
Declare all the interfaces documented in usb.3 (2 were missing).
|
#
67217 |
|
16-Oct-2000 |
n_hibma |
Sync with NetBSD:
K&R -> ANSI
Bugfix: 'Keep the bit position even when the report descriptor says POP.'
Add hid_use_report_desc, hid_parse_usage_page, hid_parse_usage_in_page.
Changed iface for hid_report_size.
|
#
65116 |
|
26-Aug-2000 |
n_hibma |
Sync with NetBSD: Print unknown usages with 4 digits. Mask in page extraction.
|
#
61560 |
|
11-Jun-2000 |
n_hibma |
The USB library from NetBSD by Lennart Augustsson <lennart@augustsson.net>.
|