From 0a50d94a933a4df4292f6fbd3aa8109e0ec7c252 Mon Sep 17 00:00:00 2001 From: Arjan Adriaanse Date: Sun, 28 Sep 2025 18:31:28 +0200 Subject: [PATCH] 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 5842a518edfdfebea8de1e1e1d81c288b3919eb7..49dfdb2153e8023f3e63ec54e12ec5495fe4f3d6 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -85,6 +85,7 @@ ;;; Copyright © 2025 Nigko Yerden ;;; Copyright © 2025 Mathieu Laparie ;;; Copyright © 2025 John Kehayias +;;; Copyright © 2025 Arjan Adriaanse ;;; ;;; 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")