Linux newbie here step 4 say edit a file “etc/modprobe.d/alsa-base.conf” as root WHERE is this file?
and how do I change the kernel parameters?
@Kim_Brady_Eyben Would you be able to link the guide as there are lots of them for all the different distributions.
Nevermind, I found what you were talking about. The file is in the path you specified, /etc/modprobe.d/alsa-base.conf
. A quick way to add it is to open a root shell sudo -s
and run echo "options snd-hda-intel model=dell-headset-multi" >> /etc/modprobe.d/alsa-base.conf
and then reboot. That should do what they are referring to.
@Kim_Brady_Eyben To change kernel parameters you have to change your grub settings. Assuming you are using a distro with grub (most of them use grub, popos doesn’t for example).
There are two options to do this, one through terminal and one through GUI.
Terminal: edit /etc/default/grub
file. Everything after GRUB_CMDLINDE_LINUX_DEFAULT=
are the kernel parameters. BE VERY CAREFUL EDITING THIS FILE, YOU CAN END UP WITH A NON BOOTING SYSTEM.
Then you have to update the grub config with this command sudo grub-mkconfig -o /boot/grub/grub.cfg.
Reboot
GUI:There are many GUI options available, the one I use is grub-customizer
. Install it with your package manager or store (depending on what distro you use).
Then launch the app, in the General settings
tab you will see kernel parameters
. Edit it and click top-left on save.
Reboot
ADDED: How to install grub-customizer: https://linuxconfig.org/how-to-install-grub-customizer-on-linux-all-major-distros