You are not logged in.
However if i log out and login again it works as expected. On reboots it stores the last volume change before a logout no matter if i changed it.
$ systemctl status alsa-restore.service alsa-state.service alsa-store.service
alsa-restore.service - Restore Sound Card State
Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service; static)
Active: inactive (dead) since Wed 2013-10-30 08:45:53 EET; 1min 50s ago
Process: 320 ExecStart=/usr/bin/alsactl restore (code=exited, status=19)
Main PID: 320 (code=exited, status=19)
alsa-state.service - Manage Sound Card State (restore and store)
Loaded: loaded (/usr/lib/systemd/system/alsa-state.service; static)
Active: inactive (dead)
start condition failed at Wed 2013-10-30 08:45:53 EET; 1min 50s ago
ConditionPathExists=/etc/alsa/state-daemon.conf was not met
alsa-store.service - Store Sound Card State
Loaded: loaded (/usr/lib/systemd/system/alsa-store.service; static)
Active: inactive (dead)Using E17 in case its important.
Offline
The exit status of alsa-restore should be 0/SUCCESS - look into the journal and see if there is more information about why it is failing (19).
Do you have an active session?
Offline
The only thing related to alsa in the journal is this.
$ sudo journalctl -b | grep alsa
Oct 30 08:45:54 mainland alsactl[320]: /usr/bin/alsactl: load_state:1729: No soundcards found...What you mean with active session??
Offline
Offline
$ loginctl show-session $XDG_SESSION_ID
Id=1
Timestamp=Wed 2013-10-30 08:45:59 EET
TimestampMonotonic=7732613
VTNr=1
TTY=tty1
Display=:0
Remote=no
Service=lxdm
Scope=session-1.scope
Leader=402
Audit=1
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
Name=userzzzProbably hitting the bug you linked. Nothing more to do. ![]()
Offline
Maybe this is totally out of the blue, but have you tried
# alsactl store?
Offline
Thats what i get.
alsactl store
alsactl: state_lock:121: file /var/lib/alsa/asound.state lock error: File exists
alsactl: state_lock:121: file /var/lib/alsa/asound.state unlock error: File existsOffline
$ sudo journalctl -b | grep -i sound
Oct 30 08:45:53 mainland systemd[1]: Started Manage Sound Card State (restore and store).
Oct 30 08:45:53 mainland systemd[1]: Starting Restore Sound Card State...
Oct 30 08:45:53 mainland systemd[1]: Started Restore Sound Card State.
Oct 30 08:45:54 mainland alsactl[320]: /usr/bin/alsactl: load_state:1729: No soundcards found...
Oct 30 08:45:54 mainland kernel: input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
Oct 30 08:45:54 mainland kernel: input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
Oct 30 08:45:54 mainland kernel: input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
Oct 30 08:45:54 mainland kernel: input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
Oct 30 08:45:54 mainland kernel: input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
Oct 30 08:45:54 mainland kernel: input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
Oct 30 08:45:54 mainland kernel: input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
Oct 30 08:45:54 mainland systemd[1]: Starting Sound Card.
Oct 30 08:45:54 mainland systemd[1]: Reached target Sound Card.
Oct 30 08:45:54 mainland kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input11
Oct 30 08:45:59 mainland systemd[403]: Stopped target Sound Card.Just a question. Shouldn't the card restore functionality start after the sound card has started. ![]()
Offline
Thats what i get.
alsactl store alsactl: state_lock:121: file /var/lib/alsa/asound.state lock error: File exists alsactl: state_lock:121: file /var/lib/alsa/asound.state unlock error: File exists
You should actually do it as root.
That's why there's a # there.
Well, I'm assuming you're not running the cmd as root since I only get that exact error as normal user.
Offline
Yeah sorry missed that.
Nothing weird to report when i run it as root.
Offline
Yeah sorry missed that.
Nothing weird to report when i run it as root.
Well, does it work now?
Offline
Nope. It still doesn't survive the reboot. Same behavior as in the first post. And it shouldn't require me to do it manually.
Offline