all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Adam Bolte <abolte@systemsaviour.com>
Cc: help-guix@gnu.org
Subject: Re: Kernel module arguments and custom /proc settings
Date: Thu, 28 Jul 2016 17:24:32 +0200	[thread overview]
Message-ID: <87popxg4zz.fsf@gnu.org> (raw)
In-Reply-To: <20160728130831.GA32364@dragon> (Adam Bolte's message of "Thu, 28 Jul 2016 23:09:31 +1000")

Hi,

Adam Bolte <abolte@systemsaviour.com> skribis:

> On Mon, Jul 25, 2016 at 10:47:36PM +0200, Ludovic Courtès wrote:
>> Could you try writing the following in /run/modprobe.d/fan.conf:
>> 
>> --8<---------------cut here---------------start------------->8---
>> options thinkpad_acpi fan_control=1
>> --8<---------------cut here---------------end--------------->8---
>> 
>> and then rebooting?
>> 
>> If everything goes well, this .conf file will be taken into account when
>> udev asks to load ‘thinkpad_acpi’.
>
> I can confirm that this worked fine. Thanks!

Good!

>> Eventually we should provide a way to specify /run/modprobe.d entries
>> via the ‘operating-system’ config, though.
>
> Sounds good. As someone who comes from a background in configuration
> management, I would much rather have the entire system configuration
> defined in a state configuration file than do manual once-off edits
> (which is a part of what has attracted me to the project).

Agreed.

> Now I just need to figure out how to set /proc entries on boot. I
> guess I need to write a "service" for that, although I'm currently a
> complete a noob at Scheme.

Right, you need a service that extends ‘activation-service-type’ with a
snippet along the lines of:

  #~(call-with-output-file "/proc/something"
      (lambda (port)
        (display "whatever" port)))

Hopefully people can provide more guidance on IRC or on this list.

> Actually, that's why I purchased this X60 100% free
> software-compatible laptop - so I could better experiment and learn
> these technologies.
>
> Ultimately there are a number of programs I use under Debian which I
> would like to create Guix packages for when I'm more comfortable with
> how it all works. Then it's just a matter of finding the time to read
> and experiment. :)

Sounds good.  :-)

Thanks for your feedback,
Ludo’.

  reply	other threads:[~2016-07-28 15:24 UTC|newest]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87popxg4zz.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.