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
Unknown Object (File)
Tue, Dec 10, 7:09 AM
Unknown Object (File)
Sun, Dec 8, 6:25 PM
Unknown Object (File)
Mon, Nov 25, 3:17 PM
Unknown Object (File)
Sat, Nov 23, 11:11 AM
Unknown Object (File)
Nov 21 2024, 6:44 AM
Unknown Object (File)
Nov 20 2024, 4:07 PM
Unknown Object (File)
Nov 19 2024, 11:37 PM
Unknown Object (File)
Nov 18 2024, 1:30 PM
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