USB mouse stops working after upgrading to FreeBSD 15.0

0 views
Skip to first unread message

Jin Guojun[VFF]

unread,
Feb 16, 2026, 12:05:09 AM (4 days ago) Feb 16
to FreeBSD Mailing List
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?

-Jin


Jin Guojun[VFF]

unread,
Feb 18, 2026, 12:31:48 AM (2 days ago) Feb 18
to questions
Rolled back to 14.3 and saw a few differences:

1) 15.0 creates 4 input devices: event6 to event9, where 14.3 creates
two devices: event 6 and event 7.

2) 14.3 moused uses /dev/ums0 not /dev/input/event7

3) 14.3 moused uses "-t auto" for both touchpad and USB mouse, where
15.0 moused uses -t evdev for USB mouse, and no-type for touchpad.

Will stay with 14.3 for a while then test 15.1-BETA / RC later.

-Jin


Tijl Coosemans

unread,
Feb 18, 2026, 5:40:35 AM (2 days ago) Feb 18
to Jin Guojun[VFF], FreeBSD Mailing List
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.

Jin Guojun[VFF]

unread,
Feb 19, 2026, 3:23:12 PM (12 hours ago) Feb 19
to Tijl Coosemans, FreeBSD Mailing List
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.



Reply all
Reply to author
Forward
0 new messages