From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Bolte Subject: Kernel module arguments and custom /proc settings Date: Sun, 24 Jul 2016 14:05:28 +1000 Message-ID: <20160724040528.GA19942@dragon> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRAgK-0000pb-8S for help-guix@gnu.org; Sun, 24 Jul 2016 00:06:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRAgE-0005KE-8G for help-guix@gnu.org; Sun, 24 Jul 2016 00:06:23 -0400 Received: from systemsaviour.com ([220.233.36.9]:54187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRAgD-0005JF-Qt for help-guix@gnu.org; Sun, 24 Jul 2016 00:06:18 -0400 Received: from dragon (unknown [192.168.1.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by systemsaviour.com (Postfix) with ESMTPSA id 890A64052A for ; Sun, 24 Jul 2016 14:15:49 +1000 (AEST) Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXlD6EAAoJEOAKVkDV0qSHoDEP/3CmaSB4mj0eN6gLLySzUvwW NjLpfWOLWM/lsKOJ1HEMqe9WHKT73qrtEJ/52EvU4TNoA2wWYQenQApuVpi457nA BLa/xkxnLWwTl3uMF+1C+aIZ2FOfbgOrIWebcIHizBB5uoZAA93IxeOpRnJSmvSp c3rm0sLXxUkHc1XAO+AzQzU57og0mXqh48/IHf2aAgDU/IhgKvr2YdL+34MPrCSY k8y+wKZxjHG7CjXT0FWIAgvIiuK0uwijIpgjKIbYCMZpGb4+4JSxklsA1AHQnFCR ZGhSukFDAyiKdaBZN+lqa7VVyJJKvTQ+qzep9Bwemv/qqZ7fRRona5HL+sEkdwRV iaJlUCXOcva0WMlfy4zVGIl2uXLNc0eZhwB1vU3Y/BGOPJhPlgtZfELuD8qRQeK9 vSLuRYwoePsw0XrUMrqr2vQeKG71uRbpzvTkZtv8E2PZzuyMtGuWq4f/tJbWrEW6 t5y6eH1yTtw0kWbyj0tSyVMLJTtrsEvSQdBKigCWHj8xpGASqD9i7iL+Kb/blWDA awLMxBFwdSnTGaWt62yUy/kc6jwe5LCypxP6t91It2BQe7a4L2475J6BhPr/BycT hmCH4A8KC+aqhs2p327cDgYK3qnKdZPWLsv1r3EXI6dUsQOiE1wW3KgPvzg+24yE cqxdvliaVjVz0ET4BLPp =OxF3 -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--