Page MenuHomeFreeBSD

hid: Import raw hid driver (hidraw)
ClosedPublic

Authored by wulf on Jan 6 2021, 1:04 AM.
Tags
None
Referenced Files
F153951376: D27992.id81728.diff
Sat, Apr 25, 1:24 AM
Unknown Object (File)
Tue, Apr 21, 11:58 AM
Unknown Object (File)
Tue, Apr 21, 9:23 AM
Unknown Object (File)
Mon, Apr 20, 11:22 PM
Unknown Object (File)
Mon, Apr 20, 7:15 PM
Unknown Object (File)
Sun, Apr 19, 5:18 PM
Unknown Object (File)
Sun, Apr 19, 3:25 AM
Unknown Object (File)
Tue, Apr 14, 7:37 AM
Subscribers
None

Details

Summary

This driver provides raw access to HID devices through uhid(4)-compatible interface and is based on pre-8.x uhid(4) code.

Unlike uhid(4) it does not take devices in to monopoly ownership and allows parallel access from other drivers.
hidraw supports Linux's hidraw-compatible interface as well.

Also this change adds HIDRAW_MAKE_UHID_ALIAS kernel option which installs /dev/uhid# alias to hidraw character device for compatibility with some existing uhid(4) users like Firefox.
As side effect enabling of this option renames traditional uhid(4) driver to hidraw to make possible using of common unit number allocator.

This revision is subset of https://reviews.freebsd.org/D27777

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable