unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Adam Bolte <abolte@systemsaviour.com>
To: help-guix@gnu.org
Subject: Kernel module arguments and custom /proc settings
Date: Sun, 24 Jul 2016 14:05:28 +1000	[thread overview]
Message-ID: <20160724040528.GA19942@dragon> (raw)

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

Hello,

I have a machine that always overheats running GuixSD, and I would
like the fans to constantly run at maximum until I can find a better
solution.

The kernel module that enables fan control is thinkpad_acpi (which is
always loaded automatically), howerver manual fan control only works
if I set the module fan_control=1 argument when it loads. So I'm
looking for the equivalent of /etc/modprobe.d/ on Debian.

The module creates /proc/acpi/ibm/fan, which I can then write to (if
fan_control=1 was set) with the appropriate fan speed. I want to run
the equivalent of the following on boot:

# echo level full-speed > /proc/acpi/ibm/fan

In Debian this can be done by dropping the configuration into
/etc/sysctl.d/.

Is there a way to edit my config.scm file to make the above changes?

-Adam

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2016-07-24  4:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-24  4:05 Adam Bolte [this message]
2016-07-25 20:47 ` Kernel module arguments and custom /proc settings Ludovic Courtès
2016-07-28 13:09   ` Adam Bolte
2016-07-28 15:24     ` Ludovic Courtès
2016-07-25 21:09 ` Andreas Enge
2016-07-28 13:13   ` Adam Bolte

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=20160724040528.GA19942@dragon \
    --to=abolte@systemsaviour.com \
    --cc=help-guix@gnu.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).