Re: USB mouse stops working after upgrading to FreeBSD 15.0
"Jin Guojun[VFF]" <[email protected]>
| Newsgroups | gmane.os.freebsd.questions |
|---|---|
| Message-ID | <[email protected]> |
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.