-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alsactl restore udev rule failing #175
Comments
ping @perexg |
The exit code 99 seems to be coming from this line: alsa-utils/alsactl/init/00main Line 24 in ca82cf8
IIUC it means the device couldn't be identified, or the hardware-specific initialisation failed. Since I can later issue the command manually and the settings are restored, it really looks like the rule is firing too early before the card is fully ready. |
Some embedded audio cards do not support UCM hence the error. Adding |
I don't think that's the issue: the settings are not being restored on boot, but they do if I manually run the same command later. |
The 90-alsa-restore.rules /lib/udev/rules.d is called during boot to restore settings. I had the same warning / problem in a project and adding |
It seems the udev rule to restore card settings is always failing during the boot:
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 1 (HDA ATI HDMI). Manually running
alsactl restore 2
later works, albeit partially (some softvol controls are never recovered).The text was updated successfully, but these errors were encountered: