Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2026 12:22:51 -0800
From:      "Jin Guojun[VFF]" <jguojun@gmail.com>
To:        =?UTF-8?Q?T=C4=B3l_Coosemans?= <tijl@FreeBSD.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: USB mouse stops working after upgrading to FreeBSD 15.0
Message-ID:  <c62e2841-1147-4006-ae45-125490e42775@gmail.com>
In-Reply-To: <20260218113933.21081380@hal.tijl.coosemans.org>
References:  <aa9d334a-b41f-4153-809d-d543c30141f9@gmail.com> <20260218113933.21081380@hal.tijl.coosemans.org>

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

On 2/18/26 02:39, Tijl Coosemans wrote:
> 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.

It looks like this is a defect in 15-R between the hms and X11.

I further installed Current snapshot and 16 snapshot; 15 snapshot has 
the same issue as 15.0-R, but 16.0 snapshot work flawless.

Both has the same input/event[6-9] for 2.4G Receiver, and moused in both 
snapshots use the same parameters.

hms.ko is loaded by default. The wireless mouse works on the text 
console in 15.0-R, but when Xwindow starts, the mouse no longer works.




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c62e2841-1147-4006-ae45-125490e42775>