Updated to 15.1 - I have a useable mouse in the console but not in the window manager

I have just updated my desktop from 14.4 to 15.1 as i was having issues with mesa with drm-kmod in 14.4. Everything seems to be working except the mouse. It works fine in the console but if I try either sway or windowmaker wm the mouse doesn't work

Code:
freebsd-version -kru ; uname -mvKU ; pkg -v
15.1-RELEASE-p1
15.1-RELEASE-p1
15.1-RELEASE-p1
FreeBSD 15.1-RELEASE-p1 #0 -dirty: Tue Jun 30 03:16:39 UTC 2026     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1501000 1501000
2.8.1

In my /etc/rc.conf I have the following mouse configurations

Code:
moused_enable="YES"
moused_port="auto"

In the boot loader
Code:
cat /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
amdtemp_load="YES"
snd_driver_load="YES"
fusefs_load="YES"
if_bridge_load="YES"
kern.vty="vt"
hw.vga.textmode = 1
kern.vt.fb.default_mode="1920x1080"
hw.usb.usbhid.enable=1

I noted that I am getting the following errors in the xorg logs

Code:
grep -E "(EE)|(WW)|libinput|mouse" /var/log/Xorg.0.log
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2221.845] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2221.936] (==) AMDGPU(0): Silken mouse enabled
[  2221.951] (WW) AMDGPU(0): Option "HotplugDriver" is not used
[  2221.953] (II) Initializing extension MIT-SCREEN-SAVER
[  2222.002] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[  2222.002] (II) LoadModule: "libinput"
[  2222.002] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[  2222.003] (II) Module libinput: vendor="X.Org Foundation"
[  2222.003] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[  2222.021] (II) config/udev: Adding input device System mouse (/dev/input/event1)
[  2222.022] (**) System mouse: Ignoring device from InputClass "Ignore FreeBSD System Mouse Multiplexer"
[  2222.022] (**) Compx 2.4G Receiver Consumer Control: Applying InputClass "libinput keyboard catchall"
[  2222.022] (II) Using input driver 'libinput' for 'Compx 2.4G Receiver Consumer Control'
[  2222.025] (**) Compx 2.4G Receiver System Control: Applying InputClass "libinput keyboard catchall"
[  2222.025] (II) Using input driver 'libinput' for 'Compx 2.4G Receiver System Control'
[  2222.028] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  2222.028] (II) Using input driver 'libinput' for 'Power Button'
[  2222.031] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[  2222.031] (II) Using input driver 'libinput' for 'AT keyboard'
[  2222.037] (**) Compx 2.4G Receiver Keyboard: Applying InputClass "libinput keyboard catchall"
[  2222.037] (II) Using input driver 'libinput' for 'Compx 2.4G Receiver Keyboard'
[  2222.042] (**) Compx 2.4G Receiver Keyboard: Applying InputClass "libinput keyboard catchall"
[  2222.042] (II) Using input driver 'libinput' for 'Compx 2.4G Receiver Keyboard'
[  2222.046] (**) Compx 2.4G Receiver Mouse: Applying InputClass "libinput pointer catchall"
[  2222.046] (II) Using input driver 'libinput' for 'Compx 2.4G Receiver Mouse'
[  2222.049] (II) libinput: Compx 2.4G Receiver Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[  2222.049] (II) libinput: Compx 2.4G Receiver Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[  2222.049] (II) libinput: Compx 2.4G Receiver Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[  2222.050] (EE) Couldn't init device "Compx 2.4G Receiver Mouse"
[  2222.050] (II) UnloadModule: "libinput"

These are the xf86-input packages I have loaded
Code:
pkg info | grep xf86-input
xf86-input-evdev-2.10.6_8      X.Org event device input driver
xf86-input-keyboard-1.9.0_6    X.Org keyboard input driver
xf86-input-libinput-1.5.0      X.Org libinput input driver
xf86-input-mouse-1.9.3_5       X.Org mouse input driver

These are my drm /kmod installed packages

Code:
pkg info | grep drm
drm-66-kmod-6.6.25.1501000_10  Direct Rendering Manager (DRM) GPU drivers
gpu-firmware-kmod-20260519,1   Firmware modules for the drm-kmod drivers
libdrm-2.4.133,1               Direct Rendering Manager library and headers
linux-rl9-libdrm-2.4.128       Rocky Linux Direct Rendering Manager runtime

Any ideas what is wrong and how I can resolve it
 
Not related to the issue
Code:
snd_driver_load="YES"
Remove that one. You don't need to load every available sound card driver. It's a useful module to test which sound card you might have, but shouldn't be loaded permanently.

Code:
kern.vty="vt"
This is the default, and has been the default for many years.

Code:
moused_enable="YES"
moused_port="auto"
Don't need these for USB mice, moused(8) gets automatically loaded via devd(8) (see /etc/devd/moused.conf).
 
Back
Top