DKMS

Hi, I'm one of several people supporting an app that often needs out-of-tree kernel modules installed. We're seeing an increasing number of Bazzite users who want to install the software, and we don't know how to help with the drivers. If someone could advise the 'bazzite way'/'ublue way' to DKMS, that would be awesome. Thanks!
13 Replies
pallaswept
pallasweptOP2mo ago
Bump nice talk
mrvictorywin (Ping on reply)
What is the software? afaik there isn't an easy way of installing dkms modules on bazzite but it includes some of them preinstalled. For example wl driver for Broadcom Wi-Fi. They left the server:glorp:
Kimloc
Kimloc2mo ago
@mrvictorywin (Ping on reply) The software in question is CoolerControl. An app that helps provide fan control to various linux distributions https://gitlab.com/coolercontrol/coolercontrol
GitLab
CoolerControl / CoolerControl · GitLab
Cooling device control for Linux.
mrvictorywin (Ping on reply)
iirc there is an ujust for cooler control, look up ujust | grep cooler. If the software needs kernel modules, they may be automatically handled by the ujust.
Kimloc
Kimloc2mo ago
The main issue isn't specifically coolercontrol, but the out of tree drivers often required for various motherboards to properly recognize the various sensors Examples would be many motherboards requiring the nct6687D or IT87 drivers for MSI or Gigabyte We often encounter in 95% of cases that one of these out of tree drivers be installed in order for proper fan detection for all sensors except for GPU So our hope was that there was a method where we can point these individuals to the various out of tree drivers for installation even with the usual restrictions seen with an immutable distro such as Bazzite
mrvictorywin (Ping on reply)
File an issue with a list of kernel modules on ublue-os/bazzite. Bazzite devs can just bundle the modules with the OS Btw I have gigabyte b650m, is an extra module necessary for fan control? If yes I can test on my PC
Kimloc
Kimloc2mo ago
I would need to see an output from sudo sensors-detect to be absolutely sure, but typically with that motherboard I would expect an IT87 driver If you want to paste the output here I should be able to tell quickly
Kimloc
Kimloc2mo ago
Found unknown chip with ID 0x8689
Probing for Super-I/O at 0x4e/0x4f
Found unknown chip with ID 0x8689
Probing for Super-I/O at 0x4e/0x4f
This is what we typically see with a machine using the default in tree driver. With this driver by default, fans can usually be recognized but not able to be controlled as that capability doesn't exist within that driver.
Kimloc
Kimloc2mo ago
For that, we typically send people to the following for the out of tree IT87 driver https://github.com/frankcrawford/it87
GitHub
GitHub - frankcrawford/it87
Contribute to frankcrawford/it87 development by creating an account on GitHub.
Kimloc
Kimloc2mo ago
And this then brings us to the purpose of this thread originally where users come to us on this distribution looking for fan control. while we can provide the interface and application to do so, without drivers such as that, it can't do much And we don't know how to properly get drivers such as that into a state where they can be loaded without severely compromising the entire distribution
Kimloc
Kimloc2mo ago
If you are curious for more and want to discuss in-depth, feel free to drop by our discord https://docs.coolercontrol.org/
CoolerControl
CoolerControl Documentation

Did you find this page helpful?