خرید بک لینک

pulseaudio will enter an uninterrupted wait when my c-media usb audio device is plugged in/activated.

pulseaudio -k wont kill it (even with autospawn = no), nor kill with SIGINT or SIGTERM), and the lock is so severe that it would lock other commands such as lsusb.

For a while, I worked out some combination of plugging it in after log-in, opening and closing chrome, and other asinine tricks, but recently it began to just never work.

This happens in both CentOS 7, Fedora 23, and Fedora 22

I have found a work-around (which I am putting here for future readers, mainly myself):

  • Set autospawn = no in /etc/pulse/client.conf (you'll need root privileges).
  • Always have device unplugged before booting.
  • After log-in:
    1. Generally have all sound playing applications (like google-chrome) closed (not sure if this is a must).
    2. Kill the pulseaudio daemon with pulseaudio --kill
    3. Plug in device.
    4. Start the pulseaudio daemon with pulseaudio --start

I'm still asking how to actually fix this issue. My hope is that there is a non-workaround way of solving this. Unfortunately, I am a huge ciamon fan, and thus pulseaudio is (I am pretty sure) required for ciamon's sound settings and widget.

At the very minimum, it would be nice if the pulseaudio daemon would only start after login so that I could just keep the device plugged in all the time.

برچسب: نویسنده: استخدام کار تاريخ: جمعه 13 فروردين 1395 ساعت: 8:19

صفحه بندی