USB mouse stops working after upgrading to FreeBSD 15.0

3 views
Skip to first unread message

Jin Guojun[VFF]

unread,
Feb 16, 2026, 12:05:09 AMFeb 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 AMFeb 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 AMFeb 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 PMFeb 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.



Jin Guojun[VFF]

unread,
Feb 21, 2026, 4:24:15 PMFeb 21
to freebsd-...@freebsd.org, Hrant Dadivanyan, freeb...@freebsd.org
It is not very clear if the issue is in the X11 or hms driver because
Compx 2.4G Receiver works well in 13-R, 14-R and 16-R, but 15-R.

Since the problem reported in Xorg.0.log (see below), so added X11 folks
for further investigation.

Thanks Hrant for pointing out a kludge solution to add
EVDEV_RCPT_SYSMOUSE bit (1) in evdev_rcpt_mask (kern.evdev.rcpt_mask 12=>13)

USB wireless moused works in 15-R not but fully functioning --

    the roller runs opposite direction: rolling up makes page going
down, rolling down makes page moving up.

Here is 15-R X11 mouse information (failure) vs. 14-R (successful)

----- Begin 15-R Xorg.0.log mouse section -------

1471:[   297.623] (II) config/udev: Adding input device System mouse
(/dev/input/event1)
1472:[   297.624] (**) System mouse: Applying InputClass "libinput
pointer catchall"
1473:[   297.624] (II) Using input driver 'libinput' for 'System mouse'
1474:[   297.624] (**) System mouse: always reports core events
1476:[   297.625] (II) event1  - System mouse: is tagged by udev as: Mouse
1477:[   297.627] (II) event1  - System mouse: device is a pointer
1478:[   297.628] (II) event1  - System mouse: device removed
1479:[   297.628] (II) libinput: System mouse: Step value 0 was
provided, libinput Fallback acceleration function is used.
1480:[   297.628] (II) libinput: System mouse: Step value 0 was
provided, libinput Fallback acceleration function is used.
1481:[   297.628] (II) libinput: System mouse: Step value 0 was
provided, libinput Fallback acceleration function is used.
1483:[   297.628] (II) XINPUT: Adding extended input device "System
mouse" (type: MOUSE, id 7)
1485:[   297.628] (**) System mouse: (accel) selected scheme none/0
1486:[   297.628] (**) System mouse: (accel) acceleration factor: 2.000
1487:[   297.628] (**) System mouse: (accel) acceleration threshold: 4
1488:[   297.630] (II) event1  - System mouse: is tagged by udev as: Mouse
1489:[   297.632] (II) event1  - System mouse: device is a pointer
1527:[   297.655] (II) event5  - ETPS/2 Elantech Touchpad: is tagged by
udev as: Mouse Touchpad
1539:[   297.679] (II) event5  - ETPS/2 Elantech Touchpad: is tagged by
udev as: Mouse Touchpad
1555:[   297.704] (II) config/udev: Adding input device Compx 2.4G
Receiver Mouse (/dev/input/event7)
1556:[   297.704] (**) Compx 2.4G Receiver Mouse: Applying InputClass
"libinput pointer catchall"
1557:[   297.704] (II) Using input driver 'libinput' for 'Compx 2.4G
Receiver Mouse'
1558:[   297.704] (**) Compx 2.4G Receiver Mouse: always reports core events
1560:[   297.706] (II) event7  - Compx 2.4G Receiver Mouse: is tagged by
udev as: Mouse
1561:[   297.707] (II) event7  - Compx 2.4G Receiver Mouse: device is a
pointer
1562:[   297.709] (II) event7  - Compx 2.4G Receiver Mouse: device removed
1563:[   297.709] (II) libinput: Compx 2.4G Receiver Mouse: Step value 0
was provided, libinput Fallback acceleration function is used.
1564:[   297.709] (II) libinput: Compx 2.4G Receiver Mouse: Step value 0
was provided, libinput Fallback acceleration function is used.
1565:[   297.709] (II) libinput: Compx 2.4G Receiver Mouse: Step value 0
was provided, libinput Fallback acceleration function is used.
1567:[   297.709] (II) XINPUT: Adding extended input device "Compx 2.4G
Receiver Mouse" (type: MOUSE, id 12)
1569:[   297.709] (**) Compx 2.4G Receiver Mouse: (accel) selected
scheme none/0
1570:[   297.709] (**) Compx 2.4G Receiver Mouse: (accel) acceleration
factor: 2.000
1571:[   297.709] (**) Compx 2.4G Receiver Mouse: (accel) acceleration
threshold: 4
1572:[   297.711] (II) event7  - Compx 2.4G Receiver Mouse: not tagged
as supported input device
1575:[   297.711] (EE) Couldn't init device "Compx 2.4G Receiver Mouse"
----- End 15-R Xorg.0.log mouse section -------

----- Begin 14-R Xorg.0.log mouse section -------

19:[    29.368] (**) |-->Input Device "Mouse0"
43:[    29.372] (WW) Hotplugging is on, devices using drivers 'kbd',
'mouse' or 'vmmouse' will be disabled.
44:[    29.372] (WW) Disabling Mouse0
129:[    30.571] (==) NVIDIA(0): Silken mouse enabled
190:[    30.756] (II) config/udev: Adding input device System mouse
(/dev/input/event1)
191:[    30.756] (**) System mouse: Applying InputClass "libinput
pointer catchall"
192:[    30.756] (II) Using input driver 'libinput' for 'System mouse'
193:[    30.756] (**) System mouse: always reports core events
195:[    30.757] (II) event1  - System mouse: is tagged by udev as: Mouse
196:[    30.757] (II) event1  - System mouse: device is a pointer
197:[    30.758] (II) event1  - System mouse: device removed
198:[    30.758] (II) libinput: System mouse: Step value 0 was provided,
libinput Fallback acceleration function is used.
199:[    30.758] (II) libinput: System mouse: Step value 0 was provided,
libinput Fallback acceleration function is used.
200:[    30.758] (II) libinput: System mouse: Step value 0 was provided,
libinput Fallback acceleration function is used.
202:[    30.758] (II) XINPUT: Adding extended input device "System
mouse" (type: MOUSE, id 7)
204:[    30.758] (**) System mouse: (accel) selected scheme none/0
205:[    30.758] (**) System mouse: (accel) acceleration factor: 2.000
206:[    30.758] (**) System mouse: (accel) acceleration threshold: 4
207:[    30.759] (II) event1  - System mouse: is tagged by udev as: Mouse
208:[    30.759] (II) event1  - System mouse: device is a pointer
284:[    30.784] (II) event7  - Compx 2.4G Receiver, class 0/0, rev
1.10/6.23, addr 4: is tagged by udev as: Mouse
291:[    30.785] (II) XINPUT: Adding extended input device "Compx 2.4G
Receiver" (type: MOUSE, id 13)
296:[    30.786] (II) event7  - Compx 2.4G Receiver, class 0/0, rev
1.10/6.23, addr 4: is tagged by udev as: Mouse
----- End 14-R Xorg.0.log mouse section -------

>> On 2/19/26 20:10, Hrant Dadivanyan wrote:
>>>
>>> Hi, this sounds close to my experience with similar mouse.
>>> Did you try to play with kern.evdev.rcpt_mask sysctl?
>>>
>>> Hrant

Jin Guojun[VFF]

unread,
Feb 21, 2026, 5:59:18 PMFeb 21
to Hrant Dadivanyan, freebsd-...@freebsd.org, freeb...@freebsd.org
On 2/21/26 14:12, Hrant Dadivanyan wrote:
> On 2/22/26 01:24, Jin Guojun[VFF] wrote:
>> It is not very clear if the issue is in the X11 or hms driver because
>> Compx 2.4G Receiver works well in 13-R, 14-R and 16-R, but 15-R.
>>
>> Since the problem reported in Xorg.0.log (see below), so added X11
>> folks for further investigation.
>>
>> Thanks Hrant for pointing out a kludge solution to add
>> EVDEV_RCPT_SYSMOUSE bit (1) in evdev_rcpt_mask (kern.evdev.rcpt_mask
>> 12=>13)
>>
>> USB wireless moused works in 15-R not but fully functioning --
>>
>>      the roller runs opposite direction: rolling up makes page going
>> down, rolling down makes page moving up.
>>
>
> same here. try this:
> /usr/local/bin/xinput set-prop "System mouse" "libinput Natural
> Scrolling Enabled" 1

Thank you for having this information, now mouse work as normal, and the
issue looks more likely to be related to X11 in 15-R.

I also noticed a couple of X related issues in 15-R (only happened once
so far):

1) Doing search in Thunderbird, the mouse button changed from 1 2 3 to 3
2 1.

2) A colon of square icons changed to a colon of wider panels by moving
mouse and touchpad alternatively.


Reply all
Reply to author
Forward
0 new messages