From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OAPrAf6cnGLuYQEAbAwnHQ (envelope-from ) for ; Sun, 05 Jun 2022 14:09:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qNPhAf6cnGLWcAEAauVa8A (envelope-from ) for ; Sun, 05 Jun 2022 14:09:34 +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 92FB1E401 for ; Sun, 5 Jun 2022 14:09:33 +0200 (CEST) Received: from localhost ([::1]:43054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxp4W-0003Qq-C1 for larch@yhetil.org; Sun, 05 Jun 2022 08:09:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxoyF-0006qE-Lh for guix-patches@gnu.org; Sun, 05 Jun 2022 08:03:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxoyE-0005eZ-9I for guix-patches@gnu.org; Sun, 05 Jun 2022 08:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nxoyE-0004u9-5x for guix-patches@gnu.org; Sun, 05 Jun 2022 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55805] [PATCH] gnu: linux-libre: enable hidraw by default Resent-From: Tom Fitzhenry Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Jun 2022 12:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55805 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55805@debbugs.gnu.org Cc: Tom Fitzhenry X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165443056818831 (code B ref -1); Sun, 05 Jun 2022 12:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jun 2022 12:02:48 +0000 Received: from localhost ([127.0.0.1]:60215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxoxz-0004tf-Vs for submit@debbugs.gnu.org; Sun, 05 Jun 2022 08:02:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:43708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxoxw-0004tW-NM for submit@debbugs.gnu.org; Sun, 05 Jun 2022 08:02:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxoxt-0006nf-JF for guix-patches@gnu.org; Sun, 05 Jun 2022 08:02:42 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:41601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxoxr-0005di-2r for guix-patches@gnu.org; Sun, 05 Jun 2022 08:02:40 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 3AD7B320090A; Sun, 5 Jun 2022 08:02:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 05 Jun 2022 08:02:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= tom-fitzhenry.me.uk; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm1; t=1654430555; x=1654516955; bh=pK EL6sDEqN29Inwtc+yDi8IqVrXEG1NJ2sJoM6WgVoU=; b=alXhVetcSknagVaigd 5Uctt4Bd1FS83lofeS3jiZOezJsce3V2Vyeu7iQeK9NZ1iTAWw9eqtJT9kjdgw9h 2psjMuXBSnlGYM3W7fiYpxC+Jnb087ermRtF9F9Y07CdJYIu4qZ+nfEThPFENu9i F1af/bJozCqQ+HmVlJW6TsHv9mV08NPlIwcmyxBNppgeaSOGSdvYbGeWYrGt5b9F ZO4FJOTyeD6v2fnLyIPuCEMn/ufLKsJfHCXX8oeLtsjyy8nNXEYC/yOu2JcsJaRH VqPsnTV2iF5Xkgg/DVsGcbidhAd8eVu3BSPNfYX1Duv4io4L8GSNbe1B4tTynuVP 5G6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1654430555; x=1654516955; bh=pKEL6sDEqN29Inwtc+yDi8IqVrXEG1NJ2sJ oM6WgVoU=; b=wyQqZgOThKg1JzDN6hIOpO5sMqnr/7d6hNtdaZTp0xxJnLdm1oL uILQ+Q7h/Y2MaRrxHzs2lbGTIvjH8jZMV/Z7hi9TR2kDnGtACUyV06jc2qAbgApJ 6FvzcphM113FSQq2YObbOQwBSB6QgnF/rk7dhRKy4ZNHUhX8U+1/5bIZ1cTwKuDK F+e3QJ8fnJmtlvqNG4IDwjcvA91G0ubBXj5eoL/y73GVxQmm3i0EDlXnfYCsHK0j JuA7Vles3D4a0c9AcW/rcZf6n8r8M988DHpgId9eJylKYRo+YEj8brEg0QF9bOsv yiyZ4CFKHoy6PDppeInvjMVC+c/ZUgvjjNQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddttddggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpefvohhmucfhihhtiihhvghnrhihuceothhomhesthhomhdqfhhi thiihhgvnhhrhidrmhgvrdhukheqnecuggftrfgrthhtvghrnhepgeduvdetteeivefhtd euudeuvdeltdfhjeduleekudegleeuteduveejffeludeknecuffhomhgrihhnpehkvghr nhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehtohhmsehtohhmqdhfihhtiihhvghnrhihrdhmvgdruhhk X-ME-Proxy: Feedback-ID: iefc945ae:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Jun 2022 08:02:34 -0400 (EDT) From: Tom Fitzhenry Date: Sun, 5 Jun 2022 14:02:22 +0200 Message-Id: <20220605120222.1902-1-tom@tom-fitzhenry.me.uk> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.147.123.21; envelope-from=tom@tom-fitzhenry.me.uk; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-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=1654430973; 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:dkim-signature; bh=pKEL6sDEqN29Inwtc+yDi8IqVrXEG1NJ2sJoM6WgVoU=; b=ESVSSHlN/ZKnIMhUXdYBomamVw9pS1RTUuH7CZ5QOpRBCU+NGXOegJEdUN7Py60rH2uqYv GPw6fSfNCEPEk4Vklccri+qMPY3CKv9RENIF0zygKdg/4DuyJtfNYuWmP/98RYp9ys2T7b Qrcx5Qs9WM+AC1VjoHboHNYATYYUimyHPyipgEgkTbVZYvp1lgvnq3B72hiatFL8FC6gv5 krFMwOOb5wBPEiG8UxSoRqFBVeOfF4gsA/xHFC+N2YWtC4x9MJLpizFCeDNvQOhBpgQVj9 vO+whj7an91C4qYaYRJieAsJ8WMNi7LXOjPxsi3tSs+ZIus6GVz54dZ7CTXKRA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654430973; a=rsa-sha256; cv=none; b=ucP/nGc3kU3TA6PaujWQTpWF7+9nVzCLOPRq4afkc5sOsbiCMdOxuB6AWIFfrfyZg1ZOEA T8fVxZ/PSe3J3asBvI8biB2kmjl7v55UauEQqdJEw16qkBbR8CiL32svI28Iw/WwmQzRXQ 2s6kQPZvj4gTTlBJHLt1GhIbjoR6yOlxb+V6jTj8hoJod5bkUHqe0MIwdMme3I7Z6/vk7K YamVEJJegIDXdX+KyiWXpsJQ5GEIhmzrsEx+/rcG51vcTpg/Xeo9dpYw0rzZ1E66SkYHO0 aY1ZEETKlnlYg7FcP1nANgNtIAUCOxQKtseiNRqZp8uaIAeb+O6gVGQgKB530A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm1 header.b=alXhVetc; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=wyQqZgOT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tom-fitzhenry.me.uk (policy=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: 6.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tom-fitzhenry.me.uk header.s=fm1 header.b=alXhVetc; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=wyQqZgOT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tom-fitzhenry.me.uk (policy=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: 92FB1E401 X-Spam-Score: 6.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: e+UBmDmlJZTN * gnu/packages/linux.scm (%default-extra-linux-options): Enable CONFIG_HIDRAW. hidraw is needed to create /dev/hidraw* devices, commonly used for U2F devices, e.g. via libu2f-host. CONFIG_HIDRAW is not enabled in the mainline arm64 defconfig, but is enabled on: * the mainline x86_64 defconfig * gnu/packages/aux-files/linux-libre/*arm64.conf HIDRAW's Kconfig documentation advises "If unsure, say Y."[0] Tested by compiling and running linux-libre-arm64-generic, and observing that /dev/hidraw* devices are created, and SSH-via-U2F now works. 0. Linux kernel, drivers/hid/Kconfig Link: https://www.kernel.org/doc/Documentation/hid/hidraw.txt Signed-off-by: Tom Fitzhenry --- gnu/packages/linux.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 4fc0ac16af..12e0db23c4 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -687,6 +687,8 @@ (define %default-extra-linux-options ("CONFIG_MEMCG_KMEM" . #t) ("CONFIG_CPUSETS" . #t) ("CONFIG_PROC_PID_CPUSET" . #t) + ;; Enable hidraw by default + ("CONFIG_HIDRAW" . #t) ;; Allow disk encryption by default ("CONFIG_DM_CRYPT" . m) ;; Modules required for initrd: base-commit: 8334e7c36ba7266fdbcf783d80c02a072cf1347b -- 2.36.1