[pulseaudio-tickets] [Bug 106557] power on / plugging in E-MU 0202 USB hangs up pulseaudio and USB bus

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 23 15:18:06 UTC 2018


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

--- Comment #1 from Tanu Kaskinen <tanuk at iki.fi> ---
This really sounds like a kernel issue, but let's try some things...

If you comment out module-udev-detect from /etc/pulse/default.pa, this
particular problem probably goes away because the card won't appear in
pulseaudio at all, but what if you start pulseaudio without module-udev-detect,
plug in the sound card and then run "pactl load-module module-udev-detect",
does that work? Maybe the problem appears only if pulseaudio tries to access
the card right after it has been plugged in, maybe the device is in some kind
of initialization phase still...

Is the Ubuntu installation on the same computer as Arch?

Could you also get a pulseaudio log when you plug in the sound card (with
module-udev-detect loaded so that the problem is reproduced)? Instructions:

1. Disable automatic starting of PulseAudio:

    systemctl --user --now mask pulseaudio.service pulseaudio.socket

You might want to do the same for gdm:

    sudo -u gdm bash   # On Debian the user is Debian-gdm, so adjust if needed
    XDG_RUNTIME_DIR=/run/user/$UID systemctl --user --now mask \
                                       pulseaudio.service pulseaudio.socket

2. Stop pulseaudio with "killall pulseaudio" (the previous systemctl
command might have stopped it already, though).

3. Start pulseaudio in a terminal with verbose logging:

    pulseaudio -vv

4. Once the initial burst of logging has stopped, hit enter a few times
to add some empty lines in the log. The empty lines mark the beginning
of the interesting part.

5. Plug in the sound card.

6. Copy the log starting from the empty lines from step 4 to the end of the
output.

7. Stop pulseaudio with ctrl-c.

8. To return things back to normal, run

    systemctl --user unmask pulseaudio.service pulseaudio.socket

and the same for gdm (or maybe you want to leave gdm without pulseaudio).

Please use the "Add an attachment" link to attach the log (sometimes
people paste the log to the comment box, which makes it difficult to
follow the discussion).

-- 
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: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180523/4d868c86/attachment.html>


More information about the pulseaudio-bugs mailing list