mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
7629dc5e30
a/kernel-firmware-20241113_6e4e94b-noarch-1.txz: Upgraded. a/kernel-generic-6.11.8-x86_64-1.txz: Upgraded. ap/alsa-utils-1.2.13-x86_64-3.txz: Rebuilt. [PATCH] alsactl: 90-alsa-restore.rules - fix alsa_restore_go/std. d/kernel-headers-6.11.8-x86-1.txz: Upgraded. d/luajit-2.1.1731601260-x86_64-1.txz: Upgraded. k/kernel-source-6.11.8-noarch-1.txz: Upgraded. kde/pulseaudio-qt-1.6.1-x86_64-1.txz: Upgraded. x/mesa-24.2.7-x86_64-1.txz: Upgraded. x/util-macros-1.20.2-noarch-1.txz: Upgraded. x/xlogo-1.0.7-x86_64-1.txz: Upgraded. x/xprop-1.2.8-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
From f90124c73edd050b24961197a4abcf17e53b41a8 Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Thu, 14 Nov 2024 09:38:49 +0100
|
|
Subject: [PATCH] alsactl: 90-alsa-restore.rules - fix alsa_restore_go/std
|
|
|
|
Fix the label mismatch which was introduced in the transition from the
|
|
temporary test rules.
|
|
|
|
Closes: https://github.com/alsa-project/alsa-utils/issues/280
|
|
Fixes: 8116639 ("alsactl: 90-alsa-restore.rules - add support for AMD ACP digital microphone")
|
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
---
|
|
alsactl/90-alsa-restore.rules.in | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/alsactl/90-alsa-restore.rules.in b/alsactl/90-alsa-restore.rules.in
|
|
index 85f0b15f..dae2ed8c 100644
|
|
--- a/alsactl/90-alsa-restore.rules.in
|
|
+++ b/alsactl/90-alsa-restore.rules.in
|
|
@@ -3,6 +3,8 @@
|
|
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*",@extratest@ GOTO="alsa_restore_go"
|
|
GOTO="alsa_restore_end"
|
|
|
|
+LABEL="alsa_restore_go"
|
|
+
|
|
ENV{ALSA_CARD_NUMBER}="$attr{device/number}"
|
|
|
|
# mark HDA analog card; HDMI/DP card does not have capture devices
|
|
@@ -21,7 +23,7 @@ TEST!="/run/udev/alsa-hda-analog-card", GOTO="alsa_restore_std"
|
|
IMPORT{program}="/usr/bin/cat /run/udev/alsa-hda-analog-card"
|
|
ENV{ALSA_CARD_HDA_ANALOG}!="", ENV{ALSA_CARD_NUMBER}="$env{ALSA_CARD_HDA_ANALOG}"
|
|
|
|
-LABEL="alsa_restore_go"
|
|
+LABEL="alsa_restore_std"
|
|
TEST!="@daemonswitch@", RUN+="@sbindir@/alsactl@args@ restore $env{ALSA_CARD_NUMBER}"
|
|
TEST=="@daemonswitch@", RUN+="@sbindir@/alsactl@args@ nrestore $env{ALSA_CARD_NUMBER}"
|
|
|