Bugzilla – Bug 1149040
Realtek ALC 256 sound card can not detect headset jack
Last modified: 2020-05-15 11:47:22 UTC
Laptop: Huawei Matebook 13 Audio devices: Realtek ALC 256, intel HDA issues: All sounds can be played on the internal player. If headset in jack, the sound controller(gnome environment) cannot detect it and automatic change to headset. Currently, I use 'Sound Input & Output Device Chooser' plugin to force sounds output via headset.
Please check whether the latest 5.3-rc kernel in OBS Kernel:HEAD repo shows the same problem. If yes, you'd need to figure out which pin corresponds to which I/O manually by yourself; it's the hardware-specific problem and we can't know without the actual machine. Typically you can figure it out by trial-and-error using hdajackretask program. In anyway, please give the output of alsa-info.sh script. Run it with --no-upload option and attach the output to Bugzilla (don't paste).
Created attachment 816589 [details] the output of the alsa-info.sh
(In reply to Takashi Iwai from comment #1) > Please check whether the latest 5.3-rc kernel in OBS Kernel:HEAD repo shows > the same problem. If yes, you'd need to figure out which pin corresponds to > which I/O manually by yourself; it's the hardware-specific problem and we > can't know without the actual machine. > > Typically you can figure it out by trial-and-error using hdajackretask > program. > > In anyway, please give the output of alsa-info.sh script. Run it with > --no-upload option and attach the output to Bugzilla (don't paste). I try hdajackretask and overwrite the headphone, the only output device changed to 3.5mm jack port. Even I choose the internal speaker, the sound is also output to the headphone. I think it is not the kernel issues, it is alsa setting on this devices. I have tried debian, deepin and ubuntu 19.10 a month ago, they have the same problem on sound.
I skimmed over the net, and it seems that the existing option model=dell-headset-multi would work: https://github.com/nekr0z/linux-on-huawei-matebook-13-2019#soundcard Try to create a config file containing the following line, e.g. /etc/modprobe.d/50-hda.conf: options snd-hda-intel model=dell-headset-multi If this really works without any other ill side effect, I can write a quirk entry to set up this statically.
No response. Feel free to reopen if you get the requested information.