Bug 1149040 - Realtek ALC 256 sound card can not detect headset jack
Realtek ALC 256 sound card can not detect headset jack
Status: RESOLVED NORESPONSE
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Sound
Current
x86-64 Windows 10
: P4 - Low : Normal (vote)
: Current
Assigned To: Takashi Iwai
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-08-31 01:32 UTC by Gong Chen
Modified: 2020-05-15 11:47 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
tiwai: needinfo? (gchen8868)


Attachments
the output of the alsa-info.sh (40.29 KB, text/plain)
2019-09-03 05:18 UTC, Gong Chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gong Chen 2019-08-31 01:32:04 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.
Comment 1 Takashi Iwai 2019-09-02 13:32:46 UTC
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).
Comment 2 Gong Chen 2019-09-03 05:18:40 UTC
Created attachment 816589 [details]
the output of the alsa-info.sh
Comment 3 Gong Chen 2019-09-03 23:54:56 UTC
(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.
Comment 4 Takashi Iwai 2019-09-06 12:43:59 UTC
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.
Comment 5 Takashi Iwai 2020-05-15 11:47:22 UTC
No response.

Feel free to reopen if you get the requested information.