HomeFreeBSD

hid: Import usbhid - USB transport backend for HID subsystem.

Description

hid: Import usbhid - USB transport backend for HID subsystem.

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

Details

Provenance
wulfAuthored on Oct 8 2020, 9:32 PM
Reviewer
hselasky
Differential Revision
D27893: hid: Import usbhid - USB transport backend for HID subsystem
Parents
rGb1f1b07f6d41: hid: Import iichid - I2C transport backend for HID subsystem
Branches
Unknown
Tags
Unknown