I just installed a vm with ubuntu studio 24.04 lts
The interface gets recognized out of the box but does not work because it is 6.8.
Ok, if:
#zcat /proc/config.gz
does not work you need to:
#cat /boot/config-$(uname -r) > .config
whole process:
# sudo apt-get install build-essential libncurses-dev bison flex libssl-dev libelf-dev git ccache libudev-dev libpci-dev debhelper-compat fakeroot xz-utils
# cd /usr/src
# sudo wget https://cdn.kernel.org/pub/linux/kernel … .12.tar.xz
# sudo tar -xf linux-6.12.tar.xz
# cd linux-6.12
# sudo cat /boot/config-$(uname -r) > /home/stefan/running.config (replace "stefan" with your username of course)
# sudo cp /home/stefan/running.config .config (replace "stefan" with your username of course)
# openssl req -new -x509 -newkey rsa:2048 -keyout certs/signing_key.pem -out certs/signing_key.x509 -days 365 -nodes -subj "/CN=Custom Kernel Signer/"
# sudo make menuconfig
... just <esc> out of the config and save it. Of course you could customize the kernel if you want to. But as you mentioned you are not too familiar with low level system stuff I would recommend not trying too, as you will likely mess up the configuration.
# sudo ./scripts/config --disable SYSTEM_TRUSTED_KEYS
# sudo ./scripts/config --disable SYSTEM_REVOCATION_KEYS
# sudo make -j$(nproc) ... just press enter when the questions regarding the certs are asked - the defaults are ok .. this will take a long time. On my vm with 8 vcpus (intel i9) and 16GB vRAM it took about 20-25 minutes, could however be a lot faster if you install it on a capable physical machine
# sudo make modules_install
# sudo make install
edit you grub config with the editor of your choice /etc/default/grub and edit the default option, you can skip that for the time beeing and hold shift during boot and select the new kernel by hand to test if everything works (recommended). After testing do the edit.
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 6.12.0"
# sudo update-grub
# sudo reboot
# uname -r should show 6.12.0
Everything works now (if you start qpwgraph for example your RME DF-USB is shown).
I usually don't trust a package from an unknown source - if you like you can build the kernel as a debian package yourself (check out guides on the inet and combine it with the above steps), but in my opinion it is not necessary for a single system.
If you use a nvidia gpu ... you would have to do additional stuff - did not test that as I used a vm.
As you probably noticed english is not my native language, so excuse the errors I certainly made.