Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2026 11:39:33 +0100
From:      =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org>
To:        "Jin Guojun[VFF]" <jguojun@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: USB mouse stops working after upgrading to FreeBSD 15.0
Message-ID:  <20260218113933.21081380@hal.tijl.coosemans.org>
In-Reply-To: <aa9d334a-b41f-4153-809d-d543c30141f9@gmail.com>

index | next in thread | previous in thread | raw e-mail

On Sun, 15 Feb 2026 21:04:41 -0800 Jin Guojun[VFF] wrote:
> I have a Lenovo G505S laptop was running 14.3. After upgrade to 15.0, 
> the USB mouse stops working.
> 
> The touchpad still works. Below are mouse related information:
> 
> # ps uxagww | grep mouse
> root  4767   0.0  0.0    14520   2824  -  Is   19:45     0:00.30 
> /usr/sbin/moused -p /dev/input/event7 -t evdev -I /var/run/moused.event7.pid
> root  5046   0.0  0.0    14520   2824  -  Ss   19:45     0:01.25 
> /usr/sbin/moused -p /dev/psm0
> 
> # moused -i all
> /dev/input/event7 evdev mouse Compx 2.4G Receiver Mouse
> /dev/input/event5 evdev touchpad ETPS/2 Elantech Touchpad
> 
> # cat /dev/input/event7
> 
> we can see output to the screen (garbage code) when operating USB mouse 
> (click buttons or move mouse), but the cursor does not move.
> 
> What additional configuration is required for making USB mouse to work 
> in 15.0-R?

In FreeBSD 15 there's a new USB HID driver and you're supposed to use
hkbd and hms now instead of ukbd and ums.  So if you have ums in your
kernel config or are loading the module from /boot/loader.conf, replace
that with hms.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20260218113933.21081380>