You are not logged in.
Hi arch folks,
after one upgrade I have problem with ALSA sound. I cannot start ALSA service and my MUTE led diod is still on.
% systemctl status alsa-state.service
● alsa-state.service - Manage Sound Card State (restore and store)
Loaded: loaded (/usr/lib/systemd/system/alsa-state.service; static; vendor preset: disabled)
Active: inactive (dead)
Condition: start condition failed at Sun 2015-05-31 18:05:39 CEST; 1 day 4h ago
ConditionPathExists=/etc/alsa/state-daemon.conf was not met
May 31 18:05:39 vulpes systemd[1]: Started Manage Sound Card State (restore and store).
I checked if file state-daemon exists and big surprise - it doesn't.
# cat /etc/alsa/state-daemon.conf
cat: /etc/alsa/state-daemon.conf: No such file or directory
How can I create this file - /etc/alsa/state-daemon.conf?
Thx for your advice.
Last edited by waldauf (2015-06-04 21:08:57)
Offline
This file is a switch to choose between two schemes.
If it exists then the commands in 'alsa-state.service' will be used, otherwise the commands in 'alsa-(re)store.service' will be run.
In your case, the file doesn't exist, so it's the scheme with 'alsa-(re)store.service' that is used.
Look the output of:
systemctl status alsa-store.service
systemctl status alsa-restore.service
to see what the problem is.
Offline
I tried both command and the result is:
root@vulpes /mnt # systemctl status alsa-store.service
● alsa-store.service - Store Sound Card State
Loaded: loaded (/usr/lib/systemd/system/alsa-store.service; static; vendor preset: disabled)
Active: inactive (dead)
... and ...
root@vulpes /mnt # systemctl status alsa-restore.service :(
● alsa-restore.service - Restore Sound Card State
Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service; static; vendor preset: disabled)
Active: inactive (dead) since Sun 2015-05-31 18:05:39 CEST; 2 days ago
Process: 402 ExecStart=/usr/bin/alsactl restore (code=exited, status=19)
Main PID: 402 (code=exited, status=19)
May 31 18:05:39 vulpes systemd[1]: Starting Restore Sound Card State...
May 31 18:05:39 vulpes alsactl[402]: /usr/bin/alsactl: load_state:1735: No soundcards found...
May 31 18:05:39 vulpes systemd[1]: Started Restore Sound Card State.
My sound card:
$ lshw
~
*-multimedia:0 UNCLAIMED
description: Audio device
product: Haswell-ULT HD Audio Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:e0630000-e0633fff
~
I don't understand why I can see "No soundcards found..." when the sound card was always found.
Last edited by waldauf (2015-06-02 22:27:14)
Offline
This has already been discussed in another thread where I give a workaround to this issue:
https://bbs.archlinux.org/viewtopic.php … 4#p1504404
There is also an explanation in the post #12 of the above thread.
This is a synchronisation problem: the 'alsa-restore.service' is started before the sound card is initialised in the systemd boot sequence.
So I run again the 'alsa-restore.service' 2min later with a timer to work around this.
Last edited by berbae (2015-06-03 09:38:14)
Offline
Thx berbae it seems that your advice helps me. :]
Offline
open alsa-state.service,
only add "!" as "=!/etc/alsa/state-daemon.conf"
then,it worked!
Last edited by cat@lovefish (2015-12-15 10:57:36)
Offline