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)
Feb 23 2024, 12:24 PM
Unknown Object (File)
Jan 14 2024, 3:40 PM
Unknown Object (File)
Dec 20 2023, 6:59 AM
Unknown Object (File)
Dec 12 2023, 9:06 AM
Unknown Object (File)
Dec 3 2023, 7:34 PM
Unknown Object (File)
Dec 3 2023, 7:34 PM
Unknown Object (File)
Dec 3 2023, 6:21 PM
Unknown Object (File)
Dec 3 2023, 12:41 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 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