Thank you for this great module! Here is one (unnecessary) example of a modprobe.d file (e.g. /etc/modprobe.d/xhci-hcd.conf
) for changing the polling rate (1000 Hz = 1, 500 Hz = 2, 250 Hz = 4, 125 Hz = 8) and preserving it between reboots:
options wmo_oc rate=2
Also, after modifying the /usr/src/wmo_oc-dkms-1.0/wmo_oc.c
file, the module can then be rebuilt with the following commands:
$ sudo dkms remove --no-depmod wmo_oc-dkms/1.0
$ sudo dkms install --no-depmod wmo_oc-dkms/1.0
The changes will take effect after a reboot.
Pinned Comments
yeaseb commented on 2022-04-08 18:38 (UTC)
To use this version with mouses different than the wmo1.1a and potentially other devices, you can edit lines 6 and 7 of /usr/src/wmo-oc-dkms/wmo_oc.c so it matches your desired VID:PID combination. After that, you can try reinstalling/updating a kernel package through pacman so it rebuilds dkms modules.