ALC257: no internal speaker or internal mic on ThinkPad X14 Gen 1 (17aa:513d)
mmmp l <[email protected]>
| Newsgroups | org.alsa-project.alsa-devel |
|---|---|
| Message-ID | <CAE4UKs-HaCjQiO=TG1qBeNcornyWNq4GoQcnjFM0wwtRHtQ8BQ@mail.gmail.com> |
Hi, The internal speaker and internal microphone do not work on a Lenovo ThinkPad X14 Gen 1 (Intel Panther Lake, Core Ultra 5 338H). Headphone output via the 3.5mm jack is not affected as far as I can tell, and USB audio works normally. alsa-info: https://www.google.com/url?q=https://alsa-project.org/db/?f%3D9c878be2a4f3e5bddcd7179c67fec9f4e2b11068&source=gmail&ust=1787644380800000&sa=E System ------ Distribution: Fedora 44 (KDE) Kernel: 7.1.9-200.fc44.x86_64 Codec: Realtek ALC257 Vendor Id: 0x10ec0257 Subsystem Id: 0x17aa513d Symptom ------- No sound from the internal speakers at all, including a direct hardware-level test that bypasses PipeWire: speaker-test -D plughw:0,0 -c 2 -t wav -l 1 produces no audible output. Recording from the internal mic likewise produces nothing. Relevant dmesg -------------- snd_hda_codec_alc269 hdaudioC0D0: ALC257: picked fixup for PCI SSID 17aa:0000 snd_hda_codec_alc269 hdaudioC0D0: autoconfig for ALC257: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker snd_hda_codec_alc269 hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) snd_hda_codec_alc269 hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) snd_hda_codec_alc269 hdaudioC0D0: inputs: snd_hda_codec_alc269 hdaudioC0D0: Internal Mic=0x12 snd_hda_codec_alc269 hdaudioC0D0: Mic=0x19 Note that only the vendor-wildcard entry (17aa:0000) is matched; there appears to be no quirk entry for this specific SSID yet. Things already ruled out ------------------------ 1. Auto-Mute. `amixer -c 0 set 'Auto-Mute Mode' Disabled` makes no difference. All relevant mixer controls were unmuted and raised. 2. Codec GPIO. Both are zero, so there does not appear to be an amp enable line on the codec: hda-verb /dev/snd/hwC0D0 0x01 GET_GPIO_MASK 0 -> 0x0 hda-verb /dev/snd/hwC0D0 0x01 GET_GPIO_DATA 0 -> 0x0 3. Existing model quirks. Tried model=thinkpad, alc269-fixup-thinkpad-acpi, alc257-fixup-thinkpad-acpi, alc255-acer, alc269-dmic and alc283-sense-combo. None produced any output. 4. SOF path. Forcing snd-intel-dspcfg dsp_driver=3 successfully boots the DSP and loads topology, but the speaker is still silent: sof-audio-pci-intel-ptl 0000:00:1f.3: hda codecs found, mask 5 sof-audio-pci-intel-ptl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now sof-audio-pci-intel-ptl 0000:00:1f.3: DMICs detected in NHLT tables: 0 sof-audio-pci-intel-ptl 0000:00:1f.3: Booted firmware version: 2.14.1.1 sof-audio-pci-intel-ptl 0000:00:1f.3: loading topology: intel/sof-ipc4-tplg/sof-hda-generic.tplg The NHLT tables report no SoundWire links and no DMICs, so this does appear to be a plain HDA machine rather than a SoundWire one. I have since reverted dsp_driver=3 back to the default. 5. /sys/bus/soundwire/devices/ is empty, consistent with the above. I am happy to test patches or run any additional commands. Please let me know what else would be useful. Thanks, Yutao Ma