History log of /freebsd-current/lib/libusbhid/usbhid.3
Revision Date Author Comments
# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 9b15c51b 04-Jun-2022 Gordon Bergling <gbe@FreeBSD.org>

usbhid(3): Fix a typo in the manual page

- s/layed/laid/

MFC after: 3 days


# ec9b9fbd 20-Sep-2012 Alexander Motin <mav@FreeBSD.org>

Restore handling of the third argument (id) of hid_start_parse(), same as
it is done in NetBSD/OpenBSD, and as it was here before r205728.

I personally think this API or its implementation is incorrect, as it is not
correct to filter collections based on report ID, as they are orthogonal
in general case, but I see no harm from supporting this feature.

PR: usb/171810
Submitted by: Vitaly Magerya <vmagerya@gmail.com>
MFC after: 1 month


# 7778ab7e 28-Sep-2011 Alexander Motin <mav@FreeBSD.org>

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.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 7e474656 01-Feb-2009 Alfred Perlstein <alfred@FreeBSD.org>

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


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 4226a8bf 24-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

Fix prototypes.


# 24a0682c 20-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.


# c2e41e91 21-Dec-2003 Hideyuki KURASHINA <rushani@FreeBSD.org>

Correct URI to USB specs.

Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: docs/60457


# fe08efe6 08-Sep-2003 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7): Use the new feature of the .In macro.


# 3a5146d9 22-May-2003 Ruslan Ermilov <ru@FreeBSD.org>

Assorted mdoc(7) fixes.

Approved by: re (blanket)


# cf0e07e5 08-Apr-2003 Matthew N. Dodd <mdodd@FreeBSD.org>

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.


# af41ab4c 29-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: Tidy up the markup.


# 7b8cfc52 28-Mar-2002 Josef Karthauser <joe@FreeBSD.org>

Install libusbhid, and use it instead of libusb.

MFC after: 6 days


# 7793e755 28-Mar-2002 Josef Karthauser <joe@FreeBSD.org>

Update the documentation to reflect the change from libusb to libusbhid.

MFC after: 6 days


# 5450b5b0 28-Mar-2002 Josef Karthauser <joe@FreeBSD.org>

Finish the libusb.h -> libusbhid.h migration.

MFC after: 7 days


# 32eef9ae 01-Oct-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: Use the new .In macro for #include statements.


# 265c01df 22-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: Fixed broken xrefs.


# 1a7d8d06 05-Feb-2001 Bruce Evans <bde@FreeBSD.org>

Fixed prototypes. About half of them were wrong (mainly due to const
poisoning having not reached here).


# 251c176f 17-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use certified section headers wherever possible.


# cb17760d 15-Nov-2000 Ben Smithurst <ben@FreeBSD.org>

Remove fullstops from the end of .Xr lines in SEE ALSO section.


# b425e319 16-Oct-2000 Nick Hibma <n_hibma@FreeBSD.org>

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.


# 9e2046df 11-Jun-2000 Nick Hibma <n_hibma@FreeBSD.org>

The USB library from NetBSD by Lennart Augustsson <lennart@augustsson.net>.