You are not logged in.

#1 2026-01-26 13:49:58

trever
Member
Registered: 2026-01-26
Posts: 1

Separate Headphone and Speaker Sinks Matebook D14

Hello,

My laptop model is a Huawei Matebook D14 (2021). I run Linux 6.18.5-arch1-1. I have the i3-1115G4 processor, and the soundcard essx8336.
When I plug in headphones into the aux port, my laptops speakers and the headphones will play the same audio. I want to be able to mute one or the other, or ideally have the speakers mute automatically when the headphones are connected. Sound did work on MS-Windows, so I think it is not a hardware issue.

This happens whether or not I use pulseaudio or pipewire, at the moment I am back on pipewire. I have sof-firmware installed. I cannot find "Auto Mute-Mode" in my alsamixer options, it does not seem to be available in my essx8336 soundcard. There have been issues reported for the essx8336, but only in the sense that the card does not get detected at all, not that it is detected and there are such problems.

When I use alsamixer to change the volume on the speakers, both the speakers and the headphones change in volume, I have tried all kinds of different combinations of options.

The fix https://github.com/Smoren/huawei-ubuntu-sound-fix partially works: When I install this and plug in the headphones, the headphones and some speaker still plays simultaneously - But the speakers seem to reduce in volume OR it could be that the internal speaker switches to another, quieter one. If anyone has a command to check for which speaker is active, and to mute the quieter speaker, this would not be an ideal solution, but would be sufficient. In this configuration though, only the right side of my headphones plays audio, i.e. i seem to get only one channel.

I saw at https://askubuntu.com/a/276179 that I could try modifying

/etc/modprobe.d/alsa-base.conf

(which did not exist for me before I created it), and add:

alias snd-card-0 snd-hda-intel
options snd-hda-intel model=dell-m4-1 enable_msi=1

but I was not able to adjust that for my machine.

It seems to me that for some reason my system cannot differentiate between the two sinks, and puts headphones and speaker into one. In conclusion, I believe that I am looking for some way to seperate the Speaker and the headphones into two different audio sinks. I would appreciate any help.



Here are some command outputs:

$ pactl list short sinks
0alsa_output.pci-0000_00_1f.3-platform-sof-essx8336.HiFi__HDMI3__sinkmodule-alsa-card.cs16le 2ch 48000HzSUSPENDED
1alsa_output.pci-0000_00_1f.3-platform-sof-essx8336.HiFi__HDMI2__sinkmodule-alsa-card.cs16le 2ch 48000HzSUSPENDED
2alsa_output.pci-0000_00_1f.3-platform-sof-essx8336.HiFi__HDMI1__sinkmodule-alsa-card.cs16le 2ch 48000HzSUSPENDED
8alsa_output.pci-0000_00_1f.3-platform-sof-essx8336.HiFi__Headphones__sinkmodule-alsa-card.cs16le 2ch 48000HzSUSPENDED
$ wpctl status
PipeWire 'pipewire-0' [1.4.10, lucas@l, cookie:1518320659]
└─ Clients:
32. xdg-desktop-portal-wlr              [1.4.10, lucas@l, pid:2137]
33. WirePlumber                         [1.4.10, lucas@l, pid:2149]
41. WirePlumber [export]                [1.4.10, lucas@l, pid:2149]
79. wpctl                               [1.4.10, lucas@l, pid:23201]
Audio
├─ Devices:
│      52. Tiger Lake-LP Smart Sound Technology Audio Controller [alsa]
│
├─ Sinks:
│      53. Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output [vol: 1.00]
│      54. Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output [vol: 1.00]
│      55. Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output [vol: 1.00]
│  *   56. Tiger Lake-LP Smart Sound Technology Audio Controller Headphones [vol: 0.13]
│
├─ Sources:
│  *   57. Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone [vol: 1.00]
│      58. Tiger Lake-LP Smart Sound Technology Audio Controller Headset Microphone [vol: 1.00]
│
├─ Filters:
│
└─ Streams:
Video
├─ Devices:
│      48. ov9734_techfront_camera             [v4l2]
│      49. ov9734_techfront_camera             [v4l2]
│
├─ Sinks:
│
├─ Sources:
│  *   50. ov9734_techfront_camera (V4L2)
│
├─ Filters:
│
└─ Streams:
Settings
└─ Default Configured Devices:
0. Audio/Sink    bluez_output.E5_5A_01_B5_FA_50.1

Last edited by trever (2026-01-26 13:51:26)

Offline

Board footer

Powered by FluxBB