alsa-project/alsa-utils issue #299 was edited from CaptainMorgan12: Similar issue to https://github.com/alsa-project/alsa-utils/issues/280 <pre>journalctl -u systemd-udevd -b -o cat --grep alsa <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:16 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:20 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:16 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:20 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:16 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:20 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:16 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:20 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:16 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:20 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:16 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:20 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:16 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:20 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:16 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:16 The line has no effect any more, dropping.</b></font> <font color="#C01C28"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#C01C28"><b>-restore.rules:20 GOTO="alsa_restore_std" has no matching label, ignoring.</b></font> <font color="#D7D75F"><b>/usr/lib/udev/rules.d/90-</b></font><b>alsa</b><font color="#D7D75F"><b>-restore.rules:20 The line has no effect any more, dropping.</b></font> </pre> Tried: ``` @@ -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}" ``` but no cigar Hardware Config: <pre>aplay -L | grep CARD hw:<font color="#C01C28"><b>CARD</b></font>=Audio,DEV=0 hw:<font color="#C01C28"><b>CARD</b></font>=Audio,DEV=2 plughw:<font color="#C01C28"><b>CARD</b></font>=Audio,DEV=0 plughw:<font color="#C01C28"><b>CARD</b></font>=Audio,DEV=2 sysdefault:<font color="#C01C28"><b>CARD</b></font>=Audio dmix:<font color="#C01C28"><b>CARD</b></font>=Audio,DEV=0 dmix:<font color="#C01C28"><b>CARD</b></font>=Audio,DEV=2 usbstream:<font color="#C01C28"><b>CARD</b></font>=Audio hw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=3 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=7 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=8 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=9 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=10 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=11 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=3 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=7 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=8 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=9 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=10 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=11 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=0 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=1 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=2 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=3 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=4 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=5 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=3 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=7 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=8 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=9 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=10 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI_1,DEV=11 usbstream:<font color="#C01C28"><b>CARD</b></font>=HDMI_1 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=3 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=7 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=8 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=9 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=10 hw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=11 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=3 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=7 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=8 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=9 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=10 plughw:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=11 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=0 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=1 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=2 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=3 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=4 hdmi:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=5 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=3 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=7 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=8 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=9 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=10 dmix:<font color="#C01C28"><b>CARD</b></font>=HDMI,DEV=11 usbstream:<font color="#C01C28"><b>CARD</b></font>=HDMI hw:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 plughw:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 sysdefault:<font color="#C01C28"><b>CARD</b></font>=DAC front:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 surround21:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 surround40:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 surround41:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 surround50:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 surround51:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 surround71:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 iec958:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 dmix:<font color="#C01C28"><b>CARD</b></font>=DAC,DEV=0 usbstream:<font color="#C01C28"><b>CARD</b></font>=DAC usbstream:<font color="#C01C28"><b>CARD</b></font>=Webcam hw:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 hw:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=1 plughw:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 plughw:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=1 sysdefault:<font color="#C01C28"><b>CARD</b></font>=Device front:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 surround21:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 surround40:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 surround41:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 surround50:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 surround51:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 surround71:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 iec958:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 iec958:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=1 dmix:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=0 dmix:<font color="#C01C28"><b>CARD</b></font>=Device,DEV=1 usbstream:<font color="#C01C28"><b>CARD</b></font>=Device </pre> Issue URL : https://github.com/alsa-project/alsa-utils/issues/299 Repository URL: https://github.com/alsa-project/alsa-utils