Score:1

Speaker is treated as headphone

de flag

Tried both ubuntu 20.04 and 21.10. On a Huawei Matebook 13s 2021 laptop, speaker is treated as a headphone. When the headphone is plugged in, the speaker and the headphone are playing sound at the same time. When the headphone is removed, the speaker doesn't play sound. What is more interesting: when headphone is unplugged, and select "Headphones(unplugged)" as the output from PulseAudio Volume Control, the speaker works! So it looks like speaker is treated as a headphone. Is there a way to redirect/reconfigure it as the speaker? Thank you in advance.

Score:1
in flag

A lot of Huawei Matebooks have had this issue over the years. The solution is generally to add/edit a configuration file to your system.

Here’s how you can do the same:

  1. Open Terminal (if it’s not already open)

  2. Add a line to sound.conf:

    sudo sh -c "echo 'options snd-hda-intel model=alc255-acer,dell-headset-multi' >> /etc/modprobe.d/sound.conf"
    

    Note: If the file does not already exist, it will be created.

  3. Reset alsa:

    sudo alsactl restore
    

    Alternatively, a reboot will also work.

Sound should now work properly on your Matebook

Bo Yao avatar
de flag
Thank you for your help! It makes speaker works, but it's not a perfect solution. Every time plug in the headphone, the speaker and headphone plays together again, and after plug out it is not playing sound until do a `sudo alsactl restore` again.
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.