Skip to contentSkip to conversation

alsactl restore udev rule failing

DISCUSSION GitHub issues - opened 1 participant 1 message Oct 21, 2022 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-utils issue #175 was opened from rnhmjoj:

It seems the udev rule to restore card settings is always failing during the boot:

```
$ journalctl -u systemd-udevd -b -o cat --grep alsa
controlC2: Process '/sbin/alsactl restore 2' failed with exit code 99.
controlC2: Process '/sbin/alsactl restore 2' failed with exit code 99.
controlC1: Process '/sbin/alsactl restore 1' failed with exit code 99.
controlC0: Process '/sbin/alsactl restore 0' failed with exit code 99.
```

I checked and made sure the file system is mounted and /var/lib/asound.state is ok by the time the rule runs. I guess the issue could be the hardware is not yet fully initialised.

Somehow the settings of card 0 (HDA Intel PCH) are restored anyway, but not those of card 2 (HDA ATI HDMI). Manually running alsactl restore 2 later works, albeit partially (some softvol controls are never recovered).

Issue URL : https://github.com/alsa-project/alsa-utils/issues/175
Repository URL: https://github.com/alsa-project/alsa-utils