summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Streit <simon@netpanic.org>2022-08-18 22:51:16 +0200
committerGuix Patches Tester <>2022-08-18 21:54:09 +0100
commit87123bb50dd5b32dd9ec4ef46d2c57bd9b2a2a99 (patch)
tree11eddb838117d9316e7db03f9422456b90e4b809
parent741c8efd6a85150359578610e492c6731fd34a03 (diff)
downloadguix-patches-87123bb50dd5b32dd9ec4ef46d2c57bd9b2a2a99.tar
guix-patches-87123bb50dd5b32dd9ec4ef46d2c57bd9b2a2a99.tar.gz
gnu: Add tp-smapi-module.
* gnu/packages/linux.scm (tp-smapi-module): New variable.
-rw-r--r--gnu/packages/linux.scm27
1 files changed, 27 insertions, 0 deletions
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 @@ desktop.")
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+)))