power on / plugging in E-MU 0202 USB hangs up pulseaudio and USB bus
Submitted by Dmitrii Sutiagin
Assigned to pul..@..op.org
Link to original bug (#106557)
Description
I've originally reported the issue here - https://bbs.archlinux.org/viewtopic.php?pid=1780719#p1780719
In short, I have E-MU 0202 USB and as soon as I plug it in, I am no loger able to view the list of audio devices, I start seeing errors in dmesg: [Wed Apr 18 13:33:49 2018] usb 3-2: 2:1: usb_set_interface failed (-110)
And if I make a few more requests to audio subsystem my USB mouse and keyboard stop working (builtin kb and touchpad still work).
The workaround is to stop all instances of pulseaudio, namely user's daemon and GDM's daemon (I only found one way - "for i in {0..50}; do sudo killall pulseaduio" - otherwise GDM will restart, also changing config param autostart=no does not take effect and service still gets restarted), then plug the interface, then logout/login to recover pulseaudio. Side effect of this is that audio volume level in Gnome does not affect volume of the card, for whatever reason.
So - a few different issues here, but main is hangup of pulseaudio when card is plugged in.
Interesting is that there is no such issue in Ubuntu, only in my Arch Linux installation. However, I tried building and booting with Ubuntu's kernel configuration on my Arch system and the issue persisted, so it looks to be related to the version of pulseaudio and/or dependent libs and not to kernel. I tried older kernels as well with same result.
I can provide more details or execute any tests, let me know what's needed.
PulseAudio is 11.1-1, pulseaudio-alsa is 2-3, distro - Arch Linux x64.