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
F98876316: D28124.diff
Sat, Oct 5, 3:18 AM
Unknown Object (File)
Wed, Oct 2, 7:44 AM
Unknown Object (File)
Wed, Oct 2, 7:44 AM
Unknown Object (File)
Fri, Sep 27, 6:39 PM
Unknown Object (File)
Thu, Sep 26, 1:47 PM
Unknown Object (File)
Mon, Sep 23, 10:02 AM
Unknown Object (File)
Thu, Sep 19, 11:43 AM
Unknown Object (File)
Thu, Sep 19, 7:35 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 Skipped
Unit
Tests Skipped

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