Change load order of a certain kernel module

Hi. I have a watercooler (NZXT Kraken), module is loaded (nzxt_kraken3). On Wayland KDE Plasma 6.6.0, showing liquid temperature of the watercooler in a KDE Widget (System Monitor Sensor).

I notice that 50% of the times I boot my PC, the temperature is not shown. Solving by manually adding the temperature again in the widget. All other sensor values are always 100% shown (cpu/gpu load, cpu/gpu temp, network up/down bps).

I suspect the ‘no show’ of this temperature is caused by the kernel module just not loaded yet. Hence my try put to load this module nzxt_kraken3 as soon as possible, by manually adjusting the load order of kernels.

Can this be done, changing the load order of kernel modules (I understand dependencies are involved). How?

Or, maybe even better, why is the liquid temp not always shown after booting up?

I somehow doubt that a race condition ( that is what you describe ) is going on. The kernel module is loaded during the actual boot to graphical.target , the widget is only loaded after Plasma started. With that in mind, it is worth checking the journal whether the module loads properly.
Please show:
sudo lsmod | grep nzxt
from both when the widget does work as expected, and when it doesn’t

Succes ermee :smile: