From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EFNzOHym/mJ9HwEAbAwnHQ (envelope-from ) for ; Thu, 18 Aug 2022 22:52:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id jZ1dOHym/mKkDgEAauVa8A (envelope-from ) for ; Thu, 18 Aug 2022 22:52:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BFDE4116A0 for ; Thu, 18 Aug 2022 22:52:12 +0200 (CEST) Received: from localhost ([::1]:49942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOmUt-0002WE-SZ for larch@yhetil.org; Thu, 18 Aug 2022 16:52:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOmUk-0002TX-RM for guix-patches@gnu.org; Thu, 18 Aug 2022 16:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOmUk-0001Sn-Gx for guix-patches@gnu.org; Thu, 18 Aug 2022 16:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOmUk-0001dn-6b for guix-patches@gnu.org; Thu, 18 Aug 2022 16:52:02 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660855932; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=3e2LuhPYiIBQL3tVoIfzM93qO0PVok1qXO0uaPdsXL0=; b=e8QzBWxXnkEEMb0s+hGIij6tdA8TG4k4X7Aw8K//79nKFVWS7oyHqy/hdkESZxsIonejMF AjgsR0Ul/gf27xLbc05r2N3auDHpio3gB0SOroNhq8Lphm1dFmBXF/jROA5eRNrS6xAMXj tf8ajFZXUhQ3tUBvBRvL1YtI0VrBuKmHwCjcruGoL0c5PY5056arVgmJmZk5ym+aa8prPW HVLAtOmVhurbpJfeJjNCWTCNkSWpJkNyyvS5aFaKXTDYhQfDmEqCmkkpRTtRR3C7FCcDOZ 3uYxwXwLmsF8ajYznMN3esSLAuhv7o5rYnzY5Azs9HSei3PSdxbeLG++LJb8Zw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660855932; a=rsa-sha256; cv=none; b=GWhy06PCwPlamh/zpfpm/+510HSIdrYqqGEE6OXNQuMw1ceNFIGcnxn/ymst1Id5ODgeGT AnpbYi+FbBrUL7agOZqbBsgcWVtt/wxW1NYyk/wpPCAiN1Rc5qTA49wzoiw+kLtvNX2bCj /5ENBNX/2Xl8g2ffkG5YggMWJLBwj2Sf4Xy7iy/rDKzdVvULG9Jn220hREesGmp4rm4chM Fd0FzHGhagEmujZS6lkW5yDuSvJI2vFR+uTHGq5CeLtyvHEE8qmzo/DDo6IAEslege1k5H TXsqZ/bydPbgmod/b0UfcE8Xsl4MJQoEQn7iYlPO8+6oVg7f6I6Pbj8kBY1XgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.56 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BFDE4116A0 X-Spam-Score: -1.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0r2X1nyhslfX 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