From: Mekeor Melire <mekeor@posteo.de>
To: Simon Streit <simon@netpanic.org>
Cc: help-guix@gnu.org
Subject: Re: Passing options to modules via modprobe.d
Date: Mon, 12 Dec 2022 01:18:37 +0000 [thread overview]
Message-ID: <87zgbtpg8o.fsf@posteo.de> (raw)
In-Reply-To: <ygupmkdtinz.fsf@netpanic.org>
2022-05-16 20:51 simon@netpanic.org:
> I've been trying to pass options to certain modules at boot like
> this:
>
> --8<---------------cut
> here---------------start------------->8---
> (simple-service 'thinkpad-acpi etc-service-type
> (list `("modprobe.d/thinkpad.conf"
> ,(plain-file "thinkpad.conf"
> "options thinkpad_acpi
> fan_control=1\n"))))
> --8<---------------cut
> here---------------end--------------->8---
>
> This seems all okay and the store item is properly linked to
> /etc/modprobe.d. The only problem though is that this parameter
> is not passed to the module. Thus fan_control is not enabled.
I'm running into the same problem! I guess we should report this
as bug?
> Manually passing this parameter via modprobe in the command line
> is fine.
>
> Consing "thinkpad_acpi.fan_control=1" to kernel-arguments works
> too.
Thanks for this workaround :)
prev parent reply other threads:[~2022-12-12 1:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-16 18:51 Passing options to modules via modprobe.d Simon Streit
2022-12-12 1:18 ` Mekeor Melire [this message]
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=87zgbtpg8o.fsf@posteo.de \
--to=mekeor@posteo.de \
--cc=help-guix@gnu.org \
--cc=simon@netpanic.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).