diff options
author | Vladimir Kondratyev <wulf@FreeBSD.org> | 2021-01-12 19:36:21 +0000 |
---|---|---|
committer | Vladimir Kondratyev <wulf@FreeBSD.org> | 2021-01-14 20:04:47 +0000 |
commit | b62f6dfaed3d0189c1853f26b773c3afed203463 (patch) | |
tree | 0948e3cf32d0de0766ebd25567b30e44ce9a2260 /share | |
parent | d2b3ceddccac60b563f642898e3a314647666a10 (diff) | |
download | src-b62f6dfaed3d0189c1853f26b773c3afed203463.tar.gz src-b62f6dfaed3d0189c1853f26b773c3afed203463.zip |
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
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/usbhid.4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/share/man/man4/usbhid.4 b/share/man/man4/usbhid.4 index a8905dc76ea8..1b9e61ce1cad 100644 --- a/share/man/man4/usbhid.4 +++ b/share/man/man4/usbhid.4 @@ -23,7 +23,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 21, 2020 +.Dd January 12, 2021 .Dt USBHID 4 .Os .Sh NAME @@ -54,6 +54,13 @@ variables and .Xr loader 8 tunables: .Bl -tag -width indent +.It Va hw.usb.usbhid.enable +Enable +.Nm +and make its priority greater than other USB HID drivers have. +Default is 0. +.El +.Bl -tag -width indent .It Va hw.usb.usbhid.debug Debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. |