Want to install module to kinoite fedora

Hi there. I want the driver from GitHub - davidjo/snd_hda_macbookpro: Kernel audio driver for Macs with 8409 HDA chip + MAX98706/SSM3515 amps to be installed in my kinoite fedora, but since / is ro i cant install it the way written there.

Can anyone help me to get the module built, installed and loaded?

Thx

It looks like this is using DKMS to build the kernel module and unfortunately we don’t have good support for that right now on Atomic Desktops.

Your best option is to look at building the module via a container build. See the Fedora bootc docs and the fedora-bootc-nvidia repo for an example using another DKMS module.

You can get the bootable container images for the Atomic Desktops at: https://gitlab.com/fedora/ostree/ci-test

Thank you Timothee for your precise answer.

There is 2 ways to build the driver. One is installing the dkms module, second is to install it without dkms. Neither of these work
They work properly in stock fedora, but i would really want to use Atomic for system stabilty.

But ill have a look at the container build.

And btw for imac 2019 i have created a easy to use fan controller at DerNoli · GitHub, as well as a autobrightness daemon, that can be used as rpm and therefore used with atomic.

The only missing thing is the audio driver. Then you would be the first to have a fully supported mac version.

Thanks anyway

Martin

If you are OK doing a bit of packaging, it should be possible to make a kmod RPM for this module. See https://rpmfusion.org/Packaging/KernelModules/Kmods2 and other kmod modules in the RPM Fusion repos for examples. Kmod modules can be layered on Atomic Desktops so that would make things a bit easier. You will have to disable Secure Boot or figure out signing.