[systemd-bugs] [Bug 82447] Custom xbmc.service starts x-session and xbmc before pulseaudio is fully initialized

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 16 17:08:06 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82447

Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #1 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
There's actually no expectation that systemd-user-sessions.service
network.target sound.target are in any way related to all devices being found
and initialized. sound.target is closest, but it does not say anything about
all devices being initialized, it's just automatically pulled in when at least
one device was found (see systemd.special(7)). It is useless for your purpose.

Pulseaudio is prepared for devices to come and go. So pulseaudio being
initialized only means that it is ready to accept connections, not that
specific hardware is ready. (For example, I have a USB sound card. Sometimes it
falls out when I pull on the cable. There's no point in time that devices are
initialized. As soon as I plug it back in, pulseaudio let's me use it again.)

So if you know that there's a specific list of devices that xmbc should wait
for, you can add specific dependencies on those devices, using systemd
dependencies, or use pulseaudio-specific mechanism to enumerate cards or
something. But this is a purely local configuration thing. We can't really help
with that.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141217/b2bd5240/attachment.html>


More information about the systemd-bugs mailing list