[pulseaudio-tickets] [Bug 54029] Fail to hotplug Bose USB audio

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 30 14:10:48 PDT 2012


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

--- Comment #11 from Eric Piel <e.a.b.piel at tudelft.nl> 2012-08-30 21:10:48 UTC ---
Took me quite a long time to test. I feel there are actually two bugs. In
addition to this pulseaudio bug, it seems that in some _rare_ cases the kernel
fails to initialize the card correctly. When this happens, dmesg is full of
such lines:
[28853.024822] 2:1:1: usb_set_interface failed (-71)

Then ALSA lists the device correctly but is unable to play anything on it (on
any profile). Again, that's happening pretty rarely (~ once every 20
plug-in's). For the rest of this bug report, I'll just ignore this "kernel
bug", assuming they are not related.


Back to the pulseaudio bug, I tested to do a hotplug leading to an
initialization failure and then trying to use the card:
 * "speaker-test --channels=5 --device=surround41:1" works fine
 * unloading/reloading module module-udev-detect doesn't help (same error)
 * unloading the other module-alsa-card (for the internal card) fixes the
problem! 

The conclusion is that the card does not seem mis-initialized, but more a
problem with multi-load of  module-alsa-card. After a failure hotplug I can do
this:
pacmd
unload-module 4  # that's the module-alsa-card for the Intel card
load-module module-alsa-card device_id="1"
name="usb-Bose_Corporation_Bose_USB_Audio-00-Audio"
card_name="alsa_card.usb-Bose_Corporation_Bose_USB_Audio-00-Audio"
namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no
deferred_volume=yes
=> the Bose card is ready

Alternatively, after unloading module-alsa-card it's possible to unload/load
module-udev-detect, and you get both cards working (like a coldplug).

Does this hint on where could be laying the bug?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list