Page MenuHomeFreeBSD

D45659.id155763.diff
No OneTemporary

D45659.id155763.diff

diff --git a/share/man/man4/usbhid.4 b/share/man/man4/usbhid.4
--- a/share/man/man4/usbhid.4
+++ b/share/man/man4/usbhid.4
@@ -21,7 +21,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 12, 2021
+.Dd May 20, 2025
.Dt USBHID 4
.Os
.Sh NAME
@@ -60,7 +60,7 @@
.Xr ums 4 ,
and
.Xr uhid 4 .
-Default is 0.
+Default is 1.
.El
.Bl -tag -width indent
.It Va hw.usb.usbhid.debug
diff --git a/sys/dev/usb/input/usbhid.c b/sys/dev/usb/input/usbhid.c
--- a/sys/dev/usb/input/usbhid.c
+++ b/sys/dev/usb/input/usbhid.c
@@ -76,7 +76,7 @@
#include "hid_if.h"
static SYSCTL_NODE(_hw_usb, OID_AUTO, usbhid, CTLFLAG_RW, 0, "USB usbhid");
-static int usbhid_enable = 0;
+static int usbhid_enable = 1;
SYSCTL_INT(_hw_usb_usbhid, OID_AUTO, enable, CTLFLAG_RWTUN,
&usbhid_enable, 0, "Enable usbhid and prefer it to other USB HID drivers");
#ifdef USB_DEBUG

File Metadata

Mime Type
text/plain
Expires
Tue, May 19, 12:53 PM (21 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33312420
Default Alt Text
D45659.id155763.diff (922 B)

Event Timeline