usbhid: Enable by default

Co-authored-by: Emmanuel Vadot <manu@FreeBSD.org>
Reviewed by:	bapt, wulf
Relnotes:	Yes
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45659
This commit is contained in:
Ed Maste
2025-05-20 11:27:26 -04:00
parent 0d9aa2a441
commit 74072e9f16
3 changed files with 13 additions and 3 deletions
+10
View File
@@ -27,6 +27,16 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW:
world, or to merely disable the most expensive debugging functionality
at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
20250730:
The usbhid(4) USB HID driver is now enabled by default, and will be
used in preference to other USB HID drivers like ukbd(4), ums(4), and
uhid(4). Work on a FIDO/U2F driver and moused(8) is in progress.
The default is being switched now so that we can find and fix any
additional issues prior to FreeBSD 15.0.
To revert to the previous USB HID driver behavior, set the loader
tunable hw.usb.usbhid_enable=0.
20250727:
bmake (i.e., /usr/bin/make and /usr/share/mk) has moved to a new
package, FreeBSD-bmake. If you use pkgbase and you need make, you
+2 -2
View File
@@ -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 July 30, 2025
.Dt USBHID 4
.Os
.Sh NAME
@@ -60,7 +60,7 @@ and make its priority greater than other USB HID drivers, such as
.Xr ums 4 ,
and
.Xr uhid 4 .
Default is 0.
Default is 1.
.El
.Bl -tag -width indent
.It Va hw.usb.usbhid.debug
+1 -1
View File
@@ -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