From unknown Sun Jun 22 08:04:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#57287] [PATCH] gnu: Add tp-smapi-module. Resent-From: simon@netpanic.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Aug 2022 20:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57287 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57287@debbugs.gnu.org Cc: Simon Streit X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16608558976274 (code B ref -1); Thu, 18 Aug 2022 20:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 20:51:37 +0000 Received: from localhost ([127.0.0.1]:56821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOmUK-0001d7-VL for submit@debbugs.gnu.org; Thu, 18 Aug 2022 16:51:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:56810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOmUH-0001cy-OP for submit@debbugs.gnu.org; Thu, 18 Aug 2022 16:51:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOmUF-0001ss-Mh for guix-patches@gnu.org; Thu, 18 Aug 2022 16:51:33 -0400 Received: from smtprelay02.ispgateway.de ([80.67.18.44]:3174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOmUD-0001OT-Pl for guix-patches@gnu.org; Thu, 18 Aug 2022 16:51:31 -0400 Received: from [62.8.179.11] (helo=herbert.d22.home.arpa) by smtprelay02.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1oOmUT-0007VD-Ll; Thu, 18 Aug 2022 22:51:45 +0200 From: simon@netpanic.org Date: Thu, 18 Aug 2022 22:51:16 +0200 Message-Id: X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Df-Sender: c2ltb25AbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.18.44; envelope-from=simon@netpanic.org; helo=smtprelay02.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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Simon Streit * gnu/packages/linux.scm (tp-smapi-module): New variable. --- gnu/packages/linux.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index fb8b4fa5a8..b7f09f123b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9410,3 +9410,30 @@ (define-public evtest directly from the kernel device and prints a device description and the events with the value and the symbolic name.") (license license:gpl2+))) + +(define-public tp-smapi-module + (package + (name "tp-smapi-module") + (version "0.43") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/linux-thinkpad/tp_smapi") + (commit (string-append "tp-smapi/" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rjb0njckczc2mj05cagvj0lkyvmyk6bw7wkiinv81lw8m90g77g")))) + (build-system linux-module-build-system) + (arguments + `(#:tests? #f)) ;there are none. + (home-page "https://github.com/linux-thinkpad/tp_smapi") + (synopsis + "The tp_smapi kernel module exposes some features of ThinkPad hardware") + (description + "Currently, the main functionality tp_smapi +implements is control of battery chargin and extended battery status. +The software package also includes an improved version of the HDAPS +driver. The underlying hardware interfaces are SMAPI and direct access +to the embedded controller.") + (license license:gpl2+))) -- 2.37.2 From unknown Sun Jun 22 08:04:23 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: simon@netpanic.org Subject: bug#57287: closed (Re: bug#57287: [PATCH] gnu: Add tp-smapi-module.) Message-ID: References: <87o7vkxv51.fsf@gnu.org> X-Gnu-PR-Message: they-closed 57287 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 57287@debbugs.gnu.org Date: Mon, 12 Sep 2022 19:15:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1663010102-464-1" This is a multi-part message in MIME format... ------------=_1663010102-464-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #57287: [PATCH] gnu: Add tp-smapi-module. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 57287@debbugs.gnu.org. --=20 57287: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57287 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1663010102-464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 57287-done) by debbugs.gnu.org; 12 Sep 2022 19:14:48 +0000 Received: from localhost ([127.0.0.1]:48069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXotL-00006s-Ol for submit@debbugs.gnu.org; Mon, 12 Sep 2022 15:14:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXotK-00006e-BX for 57287-done@debbugs.gnu.org; Mon, 12 Sep 2022 15:14:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXotE-0007UW-Uo; Mon, 12 Sep 2022 15:14:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=CvCjqMV2Slu4JGHT0Kmv5G2X66GOE4B/Dau0f5xgnKE=; b=TQqL5B6sdZS5qxl//CCB IKpWPH/Q+l9z/Yws8JqObT3zghh2U3X0hA1ciEN/bBMt89rdhriGVlF44g24tvTv4sPbkMupHEnug xUqBakMB/ppOznql6J2W9CHk7xgTB+zsSon1W/aSMFja/RxU/9Rh/Jk9uSJ9qww8iPhlW4I8T/qi6 bPX8ZgCBTdqomZaQ2Etpba9SHLTWEbp+R5Dwzhb0+u2CS2uBS+kGyp/O+Z5Yjb90gnhRoGF3gUUb5 DlUCbZ67M+tiyeIjERUHj50NPkfZ/S0VHzPojgCFV8sual4O6V7U3V/DyXlHeXv4PNSm1JQO2elPU idaxT7bHqzIhNg==; Received: from [2a02:587:1d33:7300:4fa4:945e:237e:7b1f] (port=50326 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXotD-0003DX-TP; Mon, 12 Sep 2022 15:14:40 -0400 From: Mathieu Othacehe To: simon@netpanic.org Subject: Re: bug#57287: [PATCH] gnu: Add tp-smapi-module. References: Date: Mon, 12 Sep 2022 21:14:34 +0200 In-Reply-To: (simon@netpanic.org's message of "Thu, 18 Aug 2022 22:51:16 +0200") Message-ID: <87o7vkxv51.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57287-done Cc: 57287-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, > * gnu/packages/linux.scm (tp-smapi-module): New variable. Applied with the following diff. --8<---------------cut here---------------start------------->8--- --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9354,11 +9354,11 @@ (define-public tp-smapi-module `(#:tests? #f)) ;there are none. (home-page "https://github.com/linux-thinkpad/tp_smapi") (synopsis - "The tp_smapi kernel module exposes some features of ThinkPad hardware") + "Linux Kernel module exposing features of ThinkPad hardware") (description - "Currently, the main functionality tp_smapi -implements is control of battery chargin and extended battery status. -The software package also includes an improved version of the HDAPS -driver. The underlying hardware interfaces are SMAPI and direct access -to the embedded controller.") + "This package provides a Linux Kernel module that allows to control +battery charging of specific ThinkPad laptops. It also includes an improved +version of the HDAPS driver. The underlying hardware interfaces are +@acronym{SMAPI, System Management Application Program Interface} and direct +access to the embedded controller.") (license license:gpl2+))) --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu ------------=_1663010102-464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 20:51:37 +0000 Received: from localhost ([127.0.0.1]:56821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOmUK-0001d7-VL for submit@debbugs.gnu.org; Thu, 18 Aug 2022 16:51:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:56810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOmUH-0001cy-OP for submit@debbugs.gnu.org; Thu, 18 Aug 2022 16:51:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOmUF-0001ss-Mh for guix-patches@gnu.org; Thu, 18 Aug 2022 16:51:33 -0400 Received: from smtprelay02.ispgateway.de ([80.67.18.44]:3174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOmUD-0001OT-Pl for guix-patches@gnu.org; Thu, 18 Aug 2022 16:51:31 -0400 Received: from [62.8.179.11] (helo=herbert.d22.home.arpa) by smtprelay02.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1oOmUT-0007VD-Ll; Thu, 18 Aug 2022 22:51:45 +0200 From: simon@netpanic.org To: guix-patches@gnu.org Subject: [PATCH] gnu: Add tp-smapi-module. Date: Thu, 18 Aug 2022 22:51:16 +0200 Message-Id: X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Df-Sender: c2ltb25AbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.18.44; envelope-from=simon@netpanic.org; helo=smtprelay02.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Simon Streit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) From: Simon Streit * gnu/packages/linux.scm (tp-smapi-module): New variable. --- gnu/packages/linux.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index fb8b4fa5a8..b7f09f123b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9410,3 +9410,30 @@ (define-public evtest directly from the kernel device and prints a device description and the events with the value and the symbolic name.") (license license:gpl2+))) + +(define-public tp-smapi-module + (package + (name "tp-smapi-module") + (version "0.43") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/linux-thinkpad/tp_smapi") + (commit (string-append "tp-smapi/" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rjb0njckczc2mj05cagvj0lkyvmyk6bw7wkiinv81lw8m90g77g")))) + (build-system linux-module-build-system) + (arguments + `(#:tests? #f)) ;there are none. + (home-page "https://github.com/linux-thinkpad/tp_smapi") + (synopsis + "The tp_smapi kernel module exposes some features of ThinkPad hardware") + (description + "Currently, the main functionality tp_smapi +implements is control of battery chargin and extended battery status. +The software package also includes an improved version of the HDAPS +driver. The underlying hardware interfaces are SMAPI and direct access +to the embedded controller.") + (license license:gpl2+))) -- 2.37.2 ------------=_1663010102-464-1--