GNU bug report logs - #57287
[PATCH] gnu: Add tp-smapi-module.

Previous Next

Package: guix-patches;

Reported by: simon <at> netpanic.org

Date: Thu, 18 Aug 2022 20:52:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#57287: closed ([PATCH] gnu: Add tp-smapi-module.)
Date: Mon, 12 Sep 2022 19:15:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 12 Sep 2022 21:14:34 +0200
with message-id <87o7vkxv51.fsf <at> gnu.org>
and subject line Re: bug#57287: [PATCH] gnu: Add tp-smapi-module.
has caused the debbugs.gnu.org bug report #57287,
regarding [PATCH] gnu: Add tp-smapi-module.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
57287: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57287
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: simon <at> netpanic.org
To: guix-patches <at> gnu.org
Cc: Simon Streit <simon <at> netpanic.org>
Subject: [PATCH] gnu: Add tp-smapi-module.
Date: Thu, 18 Aug 2022 22:51:16 +0200
From: Simon Streit <simon <at> netpanic.org>

* 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



[Message part 3 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: simon <at> netpanic.org
Cc: 57287-done <at> debbugs.gnu.org
Subject: Re: bug#57287: [PATCH] gnu: Add tp-smapi-module.
Date: Mon, 12 Sep 2022 21:14:34 +0200
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


This bug report was last modified 2 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.