Score:1

Sound automatically switch from USB Speaker to HeadSet

de flag

Description: Ubuntu 21.10 / Codename: impish

Running LXDE if it matters

I watch youtube listening on my external usb speakers and sounds plays just fine.

All of a sudden they go silent and sound is played on the plugged in headset (Plantronics, Inc. DA40 Adapter) without my intervention...

I do see some logs via journalctl near the time of the switch:

Mar 01 10:04:57 wilddog pulseaudio[1678]: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Mar 01 10:04:57 wilddog pulseaudio[1678]: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
Mar 01 10:04:57 wilddog pulseaudio[1678]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

This is a pretty fresh install.

How can I keep it stable on the external speakers?

waltinator avatar
it flag
Within 4 minutes of a failure, `sudo journalctl --since="-5 minutes"` will show log entries, some of which will illuminate the problem. ]
waltinator avatar
it flag
Sounds like the Plantronics DA40 is periodically waking up and telling the system "I'm a headphone". Can you unplug the DA40?
jouell avatar
de flag
@waltinator I've updated the post....thanks
waltinator avatar
it flag
Read the error messages. "`Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.`" shows you what to do next.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.