From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2I63IlWdgmKZVQEAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 20:52:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WI2YIlWdgmJhhAEAauVa8A (envelope-from ) for ; Mon, 16 May 2022 20:52:05 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 213612D2DF for ; Mon, 16 May 2022 20:52:04 +0200 (CEST) Received: from localhost ([::1]:56758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqfp5-0007uc-Hf for larch@yhetil.org; Mon, 16 May 2022 14:52:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqfot-0007sL-Hs for help-guix@gnu.org; Mon, 16 May 2022 14:51:51 -0400 Received: from smtprelay01.ispgateway.de ([80.67.18.13]:44255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqfos-0003mO-24 for help-guix@gnu.org; Mon, 16 May 2022 14:51:51 -0400 Received: from [91.40.243.156] (helo=motorball) by smtprelay01.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nqfpR-0003PR-KV for help-guix@gnu.org; Mon, 16 May 2022 20:52:25 +0200 From: Simon Streit To: help-guix@gnu.org Subject: Passing options to modules via modprobe.d Gcc: nnfolder+archive:sent.2022-05 Date: Mon, 16 May 2022 20:51:44 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.18.13; envelope-from=simon@netpanic.org; helo=smtprelay01.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652727125; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=PK+mwU2WHC3cnzgSRbOvGzByn3XwNVSi4bE62Yr6mcI=; b=I0XDyKDnq9z+rY61mGyD+Lg+JKwry/NNjLr+bhOO+nockGNPJV0sSvnvwPl5l0P7HrvEtz ES7bTnJm6v/zoFIEs6AdGLVn1MwEmc+teLkkAPvF/ipktECJ5HYkixIYTrKtQDZ+MmKvNw pJdWqKfeELYkxzH0i68j9FWDUKpevyItxlC5UqA3NL3Fud91BPb8JW+A2BiFBkwzHyPHc5 /ftcPzeq/wRzlRSFISMD9IOTkhdTVvWY9gIBAdIBBti3Vg/j2/ETt/VmccaA+ZPgMkMu30 0zO8VMsj/V8Fx3q3pwl6TdHVF0rB00bm3b6DuultPxvF4a1Pbf/zGXHubz6GOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652727125; a=rsa-sha256; cv=none; b=bzh2TGzN0oRiXVUqAtZWlxeH5f5sznW/hHZACSbiGmOc7r8jWuyr5MGYjGwsNUA982+pnc wjmOqk4wA0/0ubeQWaxZqyeVap3SxLlzAazhWnmBPQofL3OAg5hU7cnQcANMqv2OQow39p yE4eyvyMnOJbY1+R2CMUtlu1dU3UodIPdWLunWBU4K/48sDxgJLCqnp5SqVu318gkao0xt QWM+Jtu4NZDRFr0KG3s6f3q85yQL8ei+zpwIkxMNbDQzXC+I2aDAEFH4o9LqUG9o1LK+Ri SoD/DVMGTRFSJb5xNswvIR+ZEk2zOSg4E130qlmuta+MVerGshDxEoWjtDS+VA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.63 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 213612D2DF X-Spam-Score: -3.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9lefdp29wzux Hello!, 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. Manually passing this parameter via modprobe in the command line is fine. Consing "thinkpad_acpi.fan_control=1" to kernel-arguments works too. I'm not so sure now wether I've done something wrong. There is no error when booting, and modprobe seems to be silently ignoring the files located in /etc/modprobe.d. Any ideas? How do you pass your parameters to modprobe? Kind regards Simon