guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 0a50d94a933a4df4292f6fbd3aa8109e0ec7c252
Author: Arjan Adriaanse <[email protected]>
AuthorDate: Sun Sep 28 18:31:28 2025 +0200
gnu: Add reform2-lpc-module.
* gnu/packages/linux.scm (reform2-lpc-module): New variable.
Change-Id: I02d97a43293a90f4ce23964441f27d6693bd3fc7
---
gnu/packages/linux.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5842a518ed..49dfdb2153 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -85,6 +85,7 @@
;;; Copyright © 2025 Nigko Yerden <[email protected]>
;;; Copyright © 2025 Mathieu Laparie <[email protected]>
;;; Copyright © 2025 John Kehayias <[email protected]>
+;;; Copyright © 2025 Arjan Adriaanse <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2768,6 +2769,32 @@ module allows the control of the backlight level or
luminance property when
supported under @file{/sys/class/backlight/}.")
(license license:gpl2+))))
+(define-public reform2-lpc-module
+ (package
+ (name "reform2-lpc-module")
+ (version "1.79")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://source.mnt.re/reform/reform-tools.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16xzdygf14zksvqjbp5gwiqsn0mb7kphvzrmqbl9db4kvyj4ajqa"))))
+ (build-system linux-module-build-system)
+ (arguments
+ '(#:tests? #f ;no tests
+ #:source-directory "lpc"))
+ (synopsis "Linux kernel module for the Reform 2 system controller")
+ (description
+ "The reform2_lpc module allows for interaction with the NXP LPC11U24
+Cortex-M0 MCU system controller in the Reform 2 open hardware laptop. It
+provides battery status information and is necessary to completely shut down
+the system when powering it off via userspace.")
+ (home-page "https://source.mnt.re/reform/reform-tools/")
+ (license license:gpl3+)))
+
(define-public v4l2loopback-linux-module
(package
(name "v4l2loopback-linux-module")