]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
hid: Replace USBHID_ENABLED kernel config option with loader tunable
authorVladimir Kondratyev <wulf@FreeBSD.org>
Tue, 12 Jan 2021 19:36:21 +0000 (22:36 +0300)
committerVladimir Kondratyev <wulf@FreeBSD.org>
Thu, 14 Jan 2021 20:04:47 +0000 (23:04 +0300)
commitb62f6dfaed3d0189c1853f26b773c3afed203463
tree0948e3cf32d0de0766ebd25567b30e44ce9a2260
parentd2b3ceddccac60b563f642898e3a314647666a10
hid: Replace USBHID_ENABLED kernel config option with loader tunable

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

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

Suggested by: jhb
Reviewed by: hselasky
Differential revision: https://reviews.freebsd.org/D28124
share/man/man4/usbhid.4
sys/amd64/conf/GENERIC
sys/conf/NOTES
sys/conf/options
sys/dev/usb/input/uhid.c
sys/dev/usb/input/ukbd.c
sys/dev/usb/input/ums.c
sys/dev/usb/input/usbhid.c
sys/dev/usb/input/wmt.c
sys/i386/conf/GENERIC