Bug 203409 - Lenovo YOGA C930-13IKB (ALC298): internal mic and most of surround speakers not working
Summary: Lenovo YOGA C930-13IKB (ALC298): internal mic and most of surround speakers n...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-24 09:50 UTC by drsrsprt
Modified: 2020-09-04 08:39 UTC (History)
14 users (show)

See Also:
Kernel Version: 5.1.0-rc6
Tree: Mainline
Regression: No


Attachments
alsa-info.txt (42.89 KB, text/plain)
2019-04-24 09:50 UTC, drsrsprt
Details
`pactl list` output (28.15 KB, text/plain)
2019-04-24 09:50 UTC, drsrsprt
Details
`fwts --all` results.log (3.84 MB, text/plain)
2019-04-24 10:03 UTC, drsrsprt
Details

Description drsrsprt 2019-04-24 09:50:09 UTC
Created attachment 282497 [details]
alsa-info.txt

It seems like this device has 5.1 speaker configuration: Front Left, Front Center, Front Left and LFE in soundbar placed in hinge; Rear Left and Rear Right on device bottom. Only Front Left and Front Right speakers are working (tested with 5.1.0-rc6). Remapping pin 0x17 to Dock Headphone enables Front Center (or LFE, not sure) speaker and also makes overall speaker volume higher but headphone jack volume lower so there's a trade in. Randomly messing with pins in hdaanalyzer wont help. I can provide any additional logs on request.
Comment 1 drsrsprt 2019-04-24 09:50:57 UTC
Created attachment 282499 [details]
`pactl list` output
Comment 2 drsrsprt 2019-04-24 10:03:12 UTC
Created attachment 282501 [details]
`fwts --all` results.log
Comment 3 kxra 2019-05-28 21:48:16 UTC
There is also some discussion here about this: https://mailman.alsa-project.org/pipermail/alsa-devel/2018-November/142369.html

I wasn't able to figure out a suitable workaround for the time being, but hopefully someone more knowledgeable can.
Comment 4 mesasec 2019-09-07 10:50:53 UTC
Same problem here with that configuration (ALC298 + Dolby configuration), but with diferrent laptop model, Lenovo S940.

Alsa-info.sh log:

http://alsa-project.org/db/?f=701015751be757989bb93d70a9a06f7e89d64e24

Linux lnx 4.19.66-1-MANJARO #1 SMP PREEMPT Fri Aug 9 18:01:53 UTC 2019 x86_64 GNU/Lin

More logs:

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Cannon Point-LP High Definition Audio Controller [8086:9dc8] (rev 30)
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 Analog]
snd_hda_codec_hdmi     69632  1
snd_sof_intel_hda_common    73728  1 sof_pci_dev
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof               118784  4 snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc,sof_pci_dev
snd_hda_codec_realtek   126976  1
snd_hda_codec_generic    94208  1 snd_hda_codec_realtek
snd_soc_hdac_hda       24576  2 snd_sof_intel_hda_common,snd_soc_skl
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_acpi_intel_match    28672  3 snd_sof_intel_hda_common,sof_pci_dev,snd_soc_skl
snd_soc_core          290816  4 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_hda_intel          49152  8
snd_hda_codec         159744  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core          102400  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               139264  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd                   110592  25 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm

Any ideas to solve this problem? Regards
Comment 5 Daniele Dellafiore 2019-10-20 20:13:27 UTC
Same issue on a Lenovo Yoga S940, kernel 5.3.0-18-generic x86_64
Mic not working
Audio works but clearly not properly, volume is very low and feels like low-frequencies are not reproduced, as in "no subwoofer". 

alsa-info -> http://alsa-project.org/db/?f=c74f7b1c3e266514faac4f90ec2f893a3bec1f98
Comment 6 A 2019-11-19 22:12:49 UTC
Same issue on Lenovo Yoga C940, Ubuntu 19.10, kernel 5.3.0-23-generic x86_64. Mic not working, audio not working properly with missing speakers.

Alsa info -> http://alsa-project.org/db/?f=863a8059dba17f148fb2d3b5b1705d29bc900218
Comment 7 Peter F. Patel-Schneider 2019-11-19 22:49:57 UTC
I have the same problem.
If someone tells me how to elicit the correct settings under Windows I can get them and try them out in Linux.
If someone tells me what possible settings might work under Linux (or tells me how to figure out what settings might work) I can try to find the right settings.
Comment 8 Jaroslav Kysela 2019-12-11 16:21:55 UTC
It seems that there are some I2S amplifiers on the path to speakers and the BIOS has only limited initialization. I will try to gather information for C930 from Lenovo, too.
Comment 9 Kyle Roth 2019-12-21 04:17:17 UTC
I've got the same problem on a C940 with 5.4.3-050403-generic. Let me know if I can be of any help with details.
Comment 10 Kyle Roth 2019-12-21 04:20:38 UTC
I was able to get sound working by adding `snd_hda_intel.dmic_detect=0` to grub command line, but still no microphone.
Comment 11 Jonathan Reeve 2020-02-26 16:21:20 UTC
This issue persists for me, on a C930 with 5.4.21. Adding `snd_hda_intel.dmic_detect=0` has no effect for me: there is sound, but only from the two front speakers. The rest of the speakers don't work. 

Here's my alsa info, if it helps: http://alsa-project.org/db/?f=ab906a5a6eeeddc4926a6ad543c2d42d7a21ecdf

Let me know if there's a way I can help debug this.
Comment 12 Jonathan Reeve 2020-04-15 20:07:38 UTC
This issue persists even after the latest (March 2020) BIOS update from Lenovo. I posted about this here on the Lenovo forums: 

https://forums.lenovo.com/t5/Lenovo-Yoga-Series-Notebooks/After-latest-BIOS-update-audio-not-working-on-Yoga-C930/m-p/5009564

Is our only hope getting the Lenovo BIOS devs to release a fix? Can we fix this in the BIOS ourselves? 

I rate the probability of ever hearing from Lenovo about this at around 0%.
Comment 13 Daniele Dellafiore 2020-05-27 06:34:37 UTC
With all kernel versions shipped with Ubuntu 20.04 up to 5.4.0-29 but excluding 5.4.0-31, sound and mic work without problems on Lenovo S940 with Intel 10th gen.

The latest upgrade which is 5.4.0-31 breaks not only the mic but also the sound.

Note You need to log in before you can comment on or make changes to this bug.