View previous topic :: View next topic |
Author |
Message |
simoon n00b
Joined: 05 Oct 2024 Posts: 2
|
Posted: Fri Oct 25, 2024 8:11 am Post subject: Ugrd and enabling kernel modules |
|
|
Need some help with ugrd if anyone can provide assistance.
Yesterday I finally managed to do a luks and btrfs install using ugrd following this tutorial
https://www.youtube.com/watch?v=5n7GAW6dUZQ
However ugrd for some reason is ignoring a load of kernel modules and my sound card is not available due to this. Does anyone know how I can enable kernel modules with ugrd? There is a part in the video above that says to use
but I don't know how to use it. There doesn't seem to be much documentation arround ugrd, that I can find anyway.
Here is a picture of my ugrd output.
https://ibb.co/NjZYr4k |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1893
|
Posted: Fri Oct 25, 2024 12:37 pm Post subject: |
|
|
I know nothing about this "ugrd" however it is very apparent from the picture that "ugrd.kmod.nosound" is blocking any sound modules from loading. Similar can be said for novideo for graphics modules and nonetwork for wifi and ethernet |
|
Back to top |
|
|
simoon n00b
Joined: 05 Oct 2024 Posts: 2
|
Posted: Fri Oct 25, 2024 12:48 pm Post subject: |
|
|
grknight wrote: | I know nothing about this "ugrd" however it is very apparent from the picture that "ugrd.kmod.nosound" is blocking any sound modules from loading. Similar can be said for novideo for graphics modules and nonetwork for wifi and ethernet |
Thanks for the reply
I managed to make some changes by editing the config.toml like so, adding in some of the ignored modules.
Code: | modules = [
"ugrd.kmod.standard_mask",
# "ugrd.crypto.cryptsetup", # This is included by the gpg module
# "ugrd.crypto.gpg", # This is included by the smartcard module
# "ugrd.crypto.smartcard",
"ugrd.kmod.nvidia_drm",
"ugrd.kmod.rfkill",
"ugrd.kmod.nvidia",
"ugrd.kmod.snd_hda_codec_hdmi",
"ugrd.kmod.ledtrig_audio",
"ugrd.kmod.snd_hda_codec",
"ugrd.kmod.snd_hda_core",
"ugrd.kmod.rapl",
"ugrd.kmod.snd_hwdep",
"ugrd.kmod.snd_pcm",
"ugrd.kmod.video",
"ugrd.kmod.snd_timer",
"ugrd.kmod.pcspkr",
"ugrd.kmod.sp5100_tco",
"ugrd.kmod.snd",
"ugrd.kmod.k10temp",
"ugrd.kmod.i2c_piix4",
"ugrd.kmod.soundcore",
"ugrd.kmod.r8169",
"ugrd.kmod.wmi",
"ugrd.kmod.joydev",
"ugrd.kmod.nfnetlink",
"ugrd.kmod.nouveau",
"ugrd.kmod.snd_hda_codec_realtek",
"ugrd.kmod.snd_hda_codec_ca0132",
"ugrd.kmod.gigabyte_wmi",
"ugrd.kmod.wmi_bmof",
"ugrd.kmod.pcieport",
]
|
Still not getting any sound though. Do you know how I would disable the nosound option?
This is the config.toml: https://pastebin.com/jXMKadWt
But I can't see any option for it and the nosound isn't listed in there. It is mentioned in the documentation for ugrd, but it doesn't say how to change it.
https://github.com/desultory/ugrd/blob/main/docs/configuration.md
I'm fairly new to Linux so some of this stuff is a mystery to me. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1893
|
Posted: Fri Oct 25, 2024 1:12 pm Post subject: |
|
|
According to https://github.com/desultory/ugrd/blob/main/src/ugrd/kmod/standard_mask.toml you should do the opposite. Empty out the modules option to load the modules by this tool.
ugrd.kmod.standard_mask includes no sound, video or network.
Maybe it would save this for udev later but then it is confusing on the reasoning at the same time.
Only the author could really explain this. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|