HomeFreeBSD

hid: Import hidbus(4)

Description

hid: Import hidbus(4)

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

Details

Provenance
wulfAuthored on Oct 9 2020, 1:10 AM
Differential Revision
D27888: hid: Create hardware abstraction and hidbus
Parents
rG961a3535db3c: hid: Import HID transport method definitions and helper functions.
Branches
Unknown
Tags
Unknown