Bugzilla – Bug 713554
Tumbleweed: rcalsasound + systemd -> does nothing
Last modified: 2011-09-26 08:19:56 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 With systemd is in use, "rcalsasound restart" does nothing. :-( Reproducible: Always Steps to Reproduce: 1. 2. 3.
But "bash -x /usr/sbin/rcalsasound" does. Weird.
does systemctl restart alsasound work ?
No. It grumps about some module or the other not found. I should note that I don't get *any* sound when I boot with systemd.
worklaptop:~ # systemctl restart alsasound Failed to issue method call: Unit name alsasound is not valid. worklaptop:~ # systemctl | grep alsa worklaptop:~ #
It's not that "rcalsasound" does nothing (even w/systemd), actually that seems to work OK (I can verify that modules are loaded/unloaded, etc...). It's pulseaudio. It can't "find" the sound cards. /proc/asound/cards shows stuff, but pulseaudio shows only "Dummy Output".
More info - I cranked up pulseaudio's log level. pulseaudio *when started under systemd* claims to be unable to access /dev/snd/control* devices (strace shows this to be true). I added myself to the 'audio' group, logged out, logged in, *had to kill pulseaudio because it didn't exit with my session*, and *then* I had sound again: Sep 10 11:08:47 worklaptop pulseaudio[4197]: module-udev-detect.c: /dev/snd/controlC0 is accessible: no Sep 10 11:08:47 worklaptop pulseaudio[4197]: module-udev-detect.c: /dev/snd/controlC29 is accessible: no after: Sep 10 11:13:43 worklaptop pulseaudio[5771]: module-udev-detect.c: /dev/snd/controlC1 is accessible: yes Sep 10 11:13:48 worklaptop pulseaudio[5771]: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes Sep 10 11:13:48 worklaptop pulseaudio[5771]: module-udev-detect.c: /dev/snd/controlC1 is accessible: yes
Found the same problem description here: https://bbs.archlinux.org/viewtopic.php?pid=969950#p969950
to restart a service : systemctl restart alsasound.service
It was a known problem of systemd with udev. Anyway, systemd was dropped from Tumbleweed now, so no need to track any longer. Let's close.