Also, what's the output of
dmesg
when you unplug and plug in your keyboard?
Part of the solution could also be on a hardware switch Apple/Windows on the keyboard.
When I first saw this, I thought that USBHID was meant to be universal for both Windows, generic and Mac keyboards and other HID inputs. I2CHID or IICHID was only compatible with Windows and other generic keyboards, but not engineered for Mac manufactured keyboards.
Upon looking up, "Keychron keyboard multimedia keys problems", it says how the Windows keys aren't found when it's switched to Mac, and how those keyboards need the Windows key to use the multimedia keys. So, if it's a Keychron keyboard,
Search on the Keychron keyboards and Linux and Apple. Look both for the Keychrons with separate multimedia keys and those with combined multimedia and Fn-keys. Somewhere out there is a description of the issue and technical background. Part of the solution could also be on a hardware switch Apple/Windows on the keyboard.
is relevant.
If that solves the problem, please let us know anyway, the output of
dmesg
for that keyboard, the status of
kldstat
, and also the version of FreeBSD, you're using. If it doesn't solve the problem, also let us know which additional HID drivers may be in that kernel, and the status of USBHID, and any other related driver settings or hardware driver on your computer. To find if a driver is already loaded, use
kldload
and it will tell you if that driver is already otherwise loaded in the kernel. Also, let of know if the problem has to do with Multimedia keys needing overlay keys. For future readers, including those who may stumble onto that problem.
The title says, Cooler Master Devastator keyboard, and I'm not sure if the problem or solution is similar to that of a Keychron keyboard. The more recent guide listed would be relevant for gaming and minimal mechanical keyboards. I'm not sure of the working status of multimedia keys overlayed on top of other keys on mechanical or WASD keyboards on it though.
Someone in that thread noted a problem for WASD keyboards which is what was also described in this thread for Keychron keyboards, having to do with requiring Windows keys or other overlay keys to use in conjunction with multimedia keys.