[systemd-devel] alsa-restore.service seems to be too early

Вечный Студент student975 at yandex.ru
Sun Sep 2 07:48:38 PDT 2012


In accordance with 

~ $ cat /etc/modprobe.d/alsa.conf 
options snd slots=snd-hda-intel,snd-hdsp,snd-usb-audio

I have three sound cards. The second one's state (snd-hdsp) isn't restored after booting up (say, Sample Clock Source parameter is set to default 48 KHz rather to AutoSync). Starting 'alsactl restore' manually restores the state. Used service is listed below. Where to dig in?


a

//-------------------
~ $ sudo systemctl | grep basic
basic.target              loaded active active        Basic System
~ $ cat /usr/lib/systemd/system/basic.target.wants/alsa-restore.service 
[Unit]
Description=Restore Sound Card State
DefaultDependencies=no
After=sysinit.target
Before=shutdown.target
Conflicts=shutdown.target

[Service]
Type=oneshot
ExecStart=-/usr/sbin/alsactl restore
StandardOutput=syslog


More information about the systemd-devel mailing list