Page MenuHomeFreeBSD

usbhid: Replace USBHID_ENABLED kernel config option with loader tunable
ClosedPublic

Authored by wulf on Jan 12 2021, 10:03 PM.
Tags
None
Referenced Files
F151115088: D28124.id82177.diff
Mon, Apr 6, 4:29 AM
Unknown Object (File)
Fri, Apr 3, 7:19 AM
Unknown Object (File)
Sat, Mar 28, 6:30 AM
Unknown Object (File)
Tue, Mar 24, 4:35 AM
Unknown Object (File)
Feb 15 2026, 4:09 PM
Unknown Object (File)
Feb 8 2026, 9:09 AM
Unknown Object (File)
Feb 7 2026, 11:33 PM
Unknown Object (File)
Jan 31 2026, 9:06 AM
Subscribers
None

Details

Summary

usbhid(4) is disabled by default to avoid conflicts with existing USBHID
drivers. To enable it place following lines to /boot/loader.conf:

hw.usb.usbhid.enable=1
usbhid_load="YES"

Test Plan

Boot with and without /boot/loader.conf changes.

Diff Detail

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

Event Timeline

wulf requested review of this revision.Jan 12 2021, 10:03 PM
wulf created this revision.

I'll have a closer look tomorrow.

This revision is now accepted and ready to land.Jan 14 2021, 8:30 AM