Page MenuHomeFreeBSD

usbhid: Replace USBHID_ENABLED kernel config option with loader tunable
ClosedPublic

Authored by wulf on Tue, Jan 12, 10:03 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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

I'll have a closer look tomorrow.

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