From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 116AE1F2DB; Thu, 13 Nov 2025 13:27:16 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 0B1291F245; Thu, 13 Nov 2025 13:27:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-a2-smtp.messagingengine.com (fhigh-a2-smtp.messagingengine.com [103.168.172.153]) by atuin.qyliss.net (Postfix) with ESMTPS id CEC981F230 for ; Thu, 13 Nov 2025 13:27:03 +0000 (UTC) Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id 889D614001DC for ; Thu, 13 Nov 2025 08:27:02 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Thu, 13 Nov 2025 08:27:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1763040422; x= 1763126822; bh=iGx3HmsQARBusMPwNRlDiubwGxy9A3oPdC0H7LiCPsE=; b=V DaqRHc2bJt2I03AH3VDWyxyEm5wnwwDh1zqpseYtQ/J23QQwN5+uhgEbwe9nW9/W eQhxMbGOKLXp0FS+0eZIx+Z4I0BI3041OoLQ8+rz77/P8ubhLca7nFPBIEo7m3xY ZB0EbbFDnh57IOs80MTHdEheq5KLnDleaI4CMBYLGbb0yDnGZxsA266FsLBH6+SX N4LD55mhK5/lOAgpAmOw5NGqsFaNN5jJgD2kBL77QWZ7NRhNC93ftnxAZIvDqGOi R+5fQexLWq2ZLubnemHNq29M/G6PhrUV0jDh7kn2f9XmJRQSP0472NVWeEfzwJ8Q jVb9BGV0gvpVVB+Ry9VKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1763040422; x=1763126822; bh=iGx3HmsQARBusMPwNRlDiubwGxy9 A3oPdC0H7LiCPsE=; b=2NF8zFsLkPQmuI422Fpc23ApoayIhrsf0Y7XCCSjmQHs VqRunhtoRxIg1WgWU21B1VEIaK3cjLBuRR36JI/nHigCtqKr7fHxAx6m8AFpXUbV lrttu17UefJlVuVwuPziNXCBfk3vkPByTBTrmnQd6BW0NthWMw5/eQou9ocY/PJM 8CZd/Q6tiuSslW3LDAgZRpT5Tfr0Kyn9TDpbkIhq3Aw343mtWSKv+6a7E6de7Kk1 gfXSHDXE7+4gtM7BIEYozzaM3XBc5iYcbFdfcNySpfSQuYgVK1vew/Oq0wpMw6hu Ym2M12mjXSJXnvh7ZENB77TOcmB+j6mWM8m1HjzJHg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvtdejtdeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekredtre dttdenucfhrhhomheptehlhihsshgrucftohhsshcuoehhihesrghlhihsshgrrdhisheq necuggftrfgrthhtvghrnhepgfefudekvdelieelledufeevheeglefggedvudejvddtff euueevffehleejkedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhephhhisegrlhihshhsrgdrihhspdhnsggprhgtphhtthhopedupdhmohguvg epshhmthhpohhuthdprhgtphhtthhopeguvghvvghlsehsphgvtghtrhhumhdqohhsrdho rhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 13 Nov 2025 08:27:01 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id 2B1BB139C954; Thu, 13 Nov 2025 14:27:01 +0100 (CET) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH 2/5] Use 0 mode in mdev.conf when not changing mode Date: Thu, 13 Nov 2025 14:26:39 +0100 Message-ID: <20251113132642.92899-2-hi@alyssa.is> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251113132642.92899-1-hi@alyssa.is> References: <20251113132642.92899-1-hi@alyssa.is> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: Q2QCOZWVSHEFMAVRNFWYQLBGVXIT2DUR X-Message-ID-Hash: Q2QCOZWVSHEFMAVRNFWYQLBGVXIT2DUR X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: I think it's confusing to use a real mode, only to have the ! cause it to be ignored. Signed-off-by: Alyssa Ross --- img/app/image/etc/mdev.conf | 4 ++-- vm/sys/net/image/etc/mdev.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/img/app/image/etc/mdev.conf b/img/app/image/etc/mdev.conf index 0e4a1a0..30e17e6 100644 --- a/img/app/image/etc/mdev.conf +++ b/img/app/image/etc/mdev.conf @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2021-2023 Alyssa Ross -$MODALIAS=.* 0:0 660 +importas -Siu MODALIAS modprobe -q $MODALIAS -$INTERFACE=.* 0:0 660 ! +/etc/mdev/iface -$MODALIAS=virtio:d0000001Av.* 0:0 660 ! +/etc/mdev/virtiofs +$INTERFACE=.* 0:0 0 ! +/etc/mdev/iface +$MODALIAS=virtio:d0000001Av.* 0:0 0 ! +/etc/mdev/virtiofs dri/card0 0:0 660 +background { /etc/mdev/listen card0 } snd/controlC0 0:0 660 +background { /etc/mdev/listen controlC0 } diff --git a/vm/sys/net/image/etc/mdev.conf b/vm/sys/net/image/etc/mdev.conf index 69011ec..15f2d01 100644 --- a/vm/sys/net/image/etc/mdev.conf +++ b/vm/sys/net/image/etc/mdev.conf @@ -2,4 +2,4 @@ # SPDX-FileCopyrightText: 2021 Alyssa Ross -$MODALIAS=.* 0:0 660 +importas -Siu MODALIAS modprobe -q $MODALIAS -$INTERFACE=.* 0:0 660 ! +/etc/mdev/iface +$INTERFACE=.* 0:0 0 ! +/etc/mdev/iface -- 2.51.0