From patchwork Fri Feb 14 13:55:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Scherer X-Patchwork-Id: 2697 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B01BD27BBE9; Fri, 14 Feb 2025 13:56:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 31DEF27BBE2 for ; Fri, 14 Feb 2025 13:56:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tiwAy-0004Tm-Lx; Fri, 14 Feb 2025 08:56:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tiwAn-0004P9-1S for guix-patches@gnu.org; Fri, 14 Feb 2025 08:56:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tiwAl-0001HC-0p; Fri, 14 Feb 2025 08:56:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=8peuVZl3ZLILb8+dS3MUErpd2yeI1ctN8bt6++GLYjQ=; b=TwD4hqBDwroxiyzjZPNQNymC5GBA5pPl+LyYE3Tuigs/Ro54t8Wjod70HRDnT/ztcsR1ijUF0oKijqdEppOOlIWbUEMmpqnj0cC5TCfNsW5TGr33QsCBcCuWr2hAZd3HErjFXknQga0iHajygTtH+ItFS447M+No6ilfOnZuPZbz/18WhIOie3KdM1OlloBCJ52KuDbRKiOg9C4cJelRhDoJ2TBZDEGa9pvnLfdBetlXv+p2T8L0MBIVmlir74eOmQfGhJE/v4W9vAtdaYqjmbJVo5bncf+JFA3aRioeG4PhVo+daScYG5scFjFO7cXClshkMH8VXuWjlFAFwBpNvA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tiwAj-0002nn-TB; Fri, 14 Feb 2025 08:56:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76289] [PATCH 0/2] Add speakersafetyd system service. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 14 Feb 2025 13:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76289 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76289@debbugs.gnu.org Cc: Roman Scherer , efraim@flashner.co.il, Ludovic =?utf-8?q?Court=C3=A8s?= , Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Ludovic =?utf-8?q?Court=C3=A8s?= , Maxim Cournoyer Received: via spool by submit@debbugs.gnu.org id=B.173954135110744 (code B ref -1); Fri, 14 Feb 2025 13:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2025 13:55:51 +0000 Received: from localhost ([127.0.0.1]:47662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiwAZ-0002nE-90 for submit@debbugs.gnu.org; Fri, 14 Feb 2025 08:55:51 -0500 Received: from lists.gnu.org ([2001:470:142::17]:47670) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiwAV-0002mk-Tl for submit@debbugs.gnu.org; Fri, 14 Feb 2025 08:55:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tiwAO-0003kk-36 for guix-patches@gnu.org; Fri, 14 Feb 2025 08:55:40 -0500 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tiwAJ-0001F5-TI for guix-patches@gnu.org; Fri, 14 Feb 2025 08:55:38 -0500 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-ab2b29dfc65so311433566b.1 for ; Fri, 14 Feb 2025 05:55:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1739541332; x=1740146132; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8peuVZl3ZLILb8+dS3MUErpd2yeI1ctN8bt6++GLYjQ=; b=BXjNkxuqwr5KC6GrthPcAEGih3dQGy4VRwJBSmFXu8ax2X9dinYh7KCfX4409N51sH ke/BHJR7d9CLkAUmCt5lfn2XlC3aLw5wKI4OhOuCmmHzAIjfJcVzG4QFG5ZQpQ2LKa5q Vv0HZA+I7MuWJ66KotKliZxZcn07Rw/cqcQ5ufixyo6X1CrKWvkTIYnm0s8rtC+gvz1q JHryIsFIkng9NG4vnBJ+dB9S678p62kbz7RyEXrUUbV/B2T9JZLEltBrmIhfA06xFMCC a7L4jo2jIctiSj8Qls30MuZTIZTRSJR4T8OjVJQo6gy9xyH/k14v6KP6EHr6YAhBRYrL 3u4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739541332; x=1740146132; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8peuVZl3ZLILb8+dS3MUErpd2yeI1ctN8bt6++GLYjQ=; b=TYIQyEd8SwIh6+37hVPZP3kP9N0VnSeCcYWisArZbbMoZ/lN+EmOiOsCDYxzgkl0Yn a1Ogaqm662CxnStL5kdMcbzm4kyC5fX44lep7f1+B7me5fTjTjYroqmvOyscpS/zSmiE 5nMUIul9HNQg5K3LqXp1sRAztv0gxuY39MA9QA++1e2ef65+M+MaKDRlQxrjufTBMmJR m9r3H8Wr9osUa17y6qQXZmUW3ImvXCrGDt1/zTbL1j3bE6GYn4/G+oB4NYRokB+XAPyA AeQPpeUArNEUBoB34qOw8QjmQHPBS/5tvkKke+YJHJE1mblh9m9pkexOpPOiVJDC+s5R IHhQ== X-Gm-Message-State: AOJu0YxvCmtnNdunRSMfZd+S00HtqH2Iq430jlY61R9jyju0C1Tyg9pN smuS+IRWklHZJDgRcGHLrRJX50kb6csgAhfQYSAPQEGi4B+2xlwmW0TRpZNWaqJBGIisMDYnQUS Sk6k= X-Gm-Gg: ASbGncvBnPSKodb/eLSM3gysjqtJ9XKKHjvl/NE+eRsoRbxkgFj37ONe+I9WfrF64rT T4Mgbvv2jSvsKVi2i2xC1bCS4E5m7XQ2842rjQtS9qy6OsGjyqCZ8QhK9c5VfsRIhR/jrIaCmZr eGCjO/44suiwKvTs14GwfBNbOzUarfLqSyHEL4ufo3w1AQhhtSylrkz0cfTRqXgPC9fL6kea+t6 1jGThHhU2hgW34Lf7c7pj3v2mXGad/kyn71P1EF1UBpjDblq8+eH1fSk2I4eJG0GSij0Iuohee2 amTTgN3oALIG5erO83ocT0xHe3rl9Up8 X-Google-Smtp-Source: AGHT+IHiPke5VEmsYKD8b9VjDBqjFG8vyPB1oTnGJwbHqEp6e3gUbhMhJosVtNhlgqU710j7dMWGNQ== X-Received: by 2002:a17:907:d1a:b0:ab7:83c2:bdbf with SMTP id a640c23a62f3a-ab7f347aa61mr1263528866b.41.1739541332331; Fri, 14 Feb 2025 05:55:32 -0800 (PST) Received: from localhost.localdomain ([2a01:599:10b:f79:d63b:6274:c334:5aad]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aba532591dcsm350552666b.58.2025.02.14.05.55.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2025 05:55:31 -0800 (PST) From: Roman Scherer Date: Fri, 14 Feb 2025 14:55:26 +0100 Message-ID: X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Received-SPF: none client-ip=2a00:1450:4864:20::634; envelope-from=roman@burningswell.com; helo=mail-ej1-x634.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello Guix, this patch series adds a system service for speakersafetyd [1], a userspace daemon written in Rust that implements an analogue of the Texas Instruments Smart Amp speaker protection model. It is developed and used by the Asahi Linux project to protect the speakers on Apple Silicon devices. The patch series contains 2 patches: - The first one adjusts the SHAREDIR in the speakersafetyd package I submitted earlier this year. The shared dir was wrong forcing users to specify it with the --config-path option. Now just running speakersafetyd without any options does the right thing, instead of complaining it could not find the config. - The second patch is the system service and its documentation. Could you please review the patch series? Thanks, Roman. [1] https://github.com/AsahiLinux/speakersafetyd/ Roman Scherer (2): gnu: speakersafetyd: Use correct shared directory. services: Add speakersafetyd service. doc/guix.texi | 41 +++++++++++++++++++++++++ gnu/packages/rust-apps.scm | 2 +- gnu/services/sound.scm | 61 +++++++++++++++++++++++++++++++++++++- 3 files changed, 102 insertions(+), 2 deletions(-) base-commit: 4b5f0408e66392ab745dc0f7830732217d88f17d --- 2.48.1