<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/hid/hidbus.c, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:25Z</updated>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:25Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bc80996974a61a4223eae4c1ccd47b6ee32a48a'/>
<id>urn:sha1:3bc80996974a61a4223eae4c1ccd47b6ee32a48a</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in current:
(cherry picked from commit 685dc743dc3b)
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-07-25T15:13:49Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=caa41f641755c935b036e17440a3b49329c904ed'/>
<id>urn:sha1:caa41f641755c935b036e17440a3b49329c904ed</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix

(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
</content>
</entry>
<entry>
<title>hv_hid: Hyper-V HID driver</title>
<updated>2023-03-31T18:44:04Z</updated>
<author>
<name>Yuri</name>
<email>yuri@aetern.org</email>
</author>
<published>2023-02-05T15:32:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=21f4e817fde79d5de79bfbdf180d358ca5f48bf9'/>
<id>urn:sha1:21f4e817fde79d5de79bfbdf180d358ca5f48bf9</id>
<content type='text'>
Hyper-V HID driver using hidbus/hms.

Reviewed by:	wulf
MFC after:	1 week
PR:		221074
Differential revision:	https://reviews.freebsd.org/D38140

(cherry picked from commit e4d3f1e40ab3327e4ff6f689f54a64bd2ebc0568)
</content>
</entry>
<entry>
<title>hid: Add hid_ioctl method to HID interface</title>
<updated>2022-12-24T08:33:26Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2022-03-02T23:35:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32854484accc6d93439b1ca4c7eee68d9375c318'/>
<id>urn:sha1:32854484accc6d93439b1ca4c7eee68d9375c318</id>
<content type='text'>
hid_ioctl method executes arbitrary transport backend command.
Format of the command is defined by hardware transport driver.

It is intended to assist HID device drivers to execute non-HID commands
on hybrid devices like Elan and Apple touchpads which can be switched
between HID and proprietary modes.

(cherry picked from commit 5f47c5a3a35de67546ce74cb01d45e62d414a179)
</content>
</entry>
<entry>
<title>hidbus(4): Align refcount checks for hidbus_intr_start() and hidbus_intr_stop().</title>
<updated>2022-08-04T13:17:56Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2022-06-23T13:44:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2817d3ac2a0a6163272ae5f30a9dc5705a977c26'/>
<id>urn:sha1:2817d3ac2a0a6163272ae5f30a9dc5705a977c26</id>
<content type='text'>
No functional change intended.

Discussed with:	wulf @
Sponsored by:	NVIDIA Networking

(cherry picked from commit c019a1690b85062729c775e2c820716edf5c37ea)
</content>
</entry>
<entry>
<title>hidbus(4): Add routine to check presence of collection of given usage</title>
<updated>2021-09-21T23:40:53Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2021-09-02T19:32:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=29bcf5e7d7a7eb15a692ec1fa2a0e3a3290a4c8e'/>
<id>urn:sha1:29bcf5e7d7a7eb15a692ec1fa2a0e3a3290a4c8e</id>
<content type='text'>
(cherry picked from commit d51e437669e4ac35ac4be366241ae6ba4a16c378)
</content>
</entry>
<entry>
<title>usbhid(4): Add second set of USB transfers to work in polled mode.</title>
<updated>2021-06-13T21:57:37Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2021-05-28T20:25:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a303f4b1c1d300488d5116bbf8f3692f545fbdd1'/>
<id>urn:sha1:a303f4b1c1d300488d5116bbf8f3692f545fbdd1</id>
<content type='text'>
The second set of USB transfer is requested by hkbd(4) and
should improve HID keyboard handling in kdb and panic contexts.

Reviewed by:	hselasky
Differential revision:	https://reviews.freebsd.org/D30486

(cherry picked from commit 9aa0e5af75d033aa2dff763dd2886daaa7213612)
</content>
</entry>
<entry>
<title>hid: Import usbhid - USB transport backend for HID subsystem.</title>
<updated>2021-01-07T23:18:43Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-10-08T21:32:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=01f2e864f79584c0cd250a8e7cfb501a9985768a'/>
<id>urn:sha1:01f2e864f79584c0cd250a8e7cfb501a9985768a</id>
<content type='text'>
This change implements hid_if.m methods for HID-over-USB protocol [1].

Also, this change adds USBHID_ENABLED kernel option which changes
device_probe() priority and adds/removes PnP records to prefer usbhid
over ums, ukbd, wmt and other USB HID device drivers and vice-versa.

The module is based on uhid(4) driver.  It is disabled by default for
now due to conflicts with existing USB HID drivers.

[1] https://www.usb.org/sites/default/files/hid1_11.pdf

Reviewed by:	hselasky
Differential revision:	https://reviews.freebsd.org/D27893
</content>
</entry>
<entry>
<title>hid: Import iichid - I2C transport backend for HID subsystem</title>
<updated>2021-01-07T23:18:43Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-10-06T21:50:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b1f1b07f6d412cb3ec8588a634836e26396eec70'/>
<id>urn:sha1:b1f1b07f6d412cb3ec8588a634836e26396eec70</id>
<content type='text'>
This implements hid_if.m methods for HID-over-I2C protocol [1].

Following kernel options are added:

IICHID_SAMPLING - Enable support for a sampling mode as interrupt
                  resource acquisition is not always possible in a case
                  of GPIO interrupts.
IICHID_DEBUG    - Enable debug output.

The module is based on prior Marc Priggemeyer work (D16698).

[1] http://download.microsoft.com/download/7/d/d/7dd44bb7-2a7a-4505-ac1c-7227d3d96d5b/hid-over-i2c-protocol-spec-v1-0.docx

Differential revision:	https://reviews.freebsd.org/D27892
</content>
</entry>
<entry>
<title>hid: Import hidbus(4)</title>
<updated>2021-01-07T23:18:42Z</updated>
<author>
<name>Vladimir Kondratyev</name>
<email>wulf@FreeBSD.org</email>
</author>
<published>2020-10-09T01:10:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2b4464b0b1143024ede8bd3ea69134ea17bc5355'/>
<id>urn:sha1:2b4464b0b1143024ede8bd3ea69134ea17bc5355</id>
<content type='text'>
This driver provides support for multiple HID driver attachments
to single HID transport backend. This ability existed in Net/OpenBSD
(uhidev and ihidev drivers) but has never been ported to FreeBSD.
Unlike Net/OpenBSD we do not use report number alone to distinct report
source but we follow MS way and use a top level collection (TLC) usage
index that report belongs to as a location key.

The driver performs child device autodiscovery based on HID report
descriptor data, proxying of HID requests from child devices to parent
transport backends and broadcasting of interrupts in backward direction.

Differential revision:	https://reviews.freebsd.org/D27888
</content>
</entry>
</feed>
