From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Marco Menne <marco.menne@mailbox.org>
Cc: help-guix@gnu.org
Subject: Re: Blacklist Nouveau permanentely and no sound hda-intel
Date: Wed, 29 Sep 2021 15:02:52 +0200 [thread overview]
Message-ID: <87a6jv34j8.fsf@nckx> (raw)
In-Reply-To: <561dcfe8efc9702eac31f463a60a0639@mailbox.org>
[-- Attachment #1: Type: text/plain, Size: 1807 bytes --]
Marco,
Hullo and welcome!
"Marco Menne" via 写道:
> I searched a lot in the net but did'nt find an useful answer for
> Guix system.
> I know to blacklist the nouveau graphics driver on boot but how
> can I blacklist it permanentely?
You don't mention how you do so on boot.
I assume you're talking about adding
‘modprobe.blacklist=nouveau[,…]’ to the kernel command line[0] in
GRUB.
You can easily ask[1] Guix to add it to the default kernel command
line at each boot, like so:
(operating-system
[…]
(kernel-arguments
(cons* "modprobe.blacklist=nouveau[,…]"
[…]
%default-kernel-arguments))
[…])
Don't forget to reconfigure and optionally reboot.
> My second question is about the hda-intel sound driver.
> I have hda-intel and nvidia-hdmi sound modules. On Slackware I
> cloud blacklist the Nvidia driver and could get the intel driver
> working.
> But as in Guix system there is no /etc/modprobe.d/ folder I
> don't know how to get my sound working.
You forgot to mention how you'd use /etc/modprobe.d to do so… ;-)
So here too I can only guess an answer.
If you just want to add default module options, you can do so on
the kernel command line as well: either manually in GRUB (to test)
or the kernel-arguments field mentioned above.
For a random example plucked from ‘modinfo snd_hda_intel’: to
disable power saving, simply add "snd_hda_intel.power_save=0", and
the kernel will set this option for you whenever snd_hda_intel is
loaded, no matter when or how or who loads it.
Kind regards,
T G-R
[0]:
https://guix.gnu.org/manual/devel/en/guix.html#Initial-RAM-Disk
[1]:
https://guix.gnu.org/manual/devel/en/guix.html#operating_002dsystem-Reference
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
next prev parent reply other threads:[~2021-09-29 13:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-28 20:46 Blacklist Nouveau permanentely and no sound hda-intel Marco Menne via
2021-09-29 13:02 ` Tobias Geerinckx-Rice [this message]
2021-09-29 14:44 ` Marco Menne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a6jv34j8.fsf@nckx \
--to=me@tobias.gr \
--cc=help-guix@gnu.org \
--cc=marco.menne@mailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).