Public bug reported:

== Summary ==
On a Lenovo ThinkPad T14 Gen 7 (Panther Lake, Realtek ALC257 driven by SOF),
inserting a 4-pole TRRS headset is detected for the headphones but the
microphone is never detected: the "Mic Jack" ALSA control stays "off", so no
headset-mic input is ever exposed.

== Environment ==
- Machine: Lenovo ThinkPad T14 Gen 7 (LENOVO 21WN00ARCD)
- Audio controller: 8086:e328 (Panther Lake SST), subsystem 17aa:2356
- Codec: Realtek ALC257 (10ec0257)
- OS: Ubuntu 26.04 (resolute), kernel 7.0.0-29-generic (linux-image 7.0.0-29.29)
- SOF firmware: 2.14.1.1 (firmware-sof-signed 2025.12.2-1)
- Topology: intel/sof-ipc4-tplg/sof-hda-generic-2ch.tplg (IPC4)
- PipeWire 1.6.2 / WirePlumber 0.5.13

== Steps to reproduce ==
1. Boot with no jack connected.
2. Plug a TRRS headset (with mic) into the combo jack.
3. Run: amixer -c0 contents | grep -A2 "name='Mic Jack'"

== Expected behavior ==
"Mic Jack" reports "on" and an analog microphone input becomes available.

== Actual behavior ==
"Headphone Jack" toggles off->on correctly on unplug/re-plug, but
"Mic Jack" stays "off" permanently.

== Evidence ==
1. dmesg autoconfig:
   snd_hda_codec_alc269 ehdaudio0D0: ALC257: picked fixup  for PCI SSID 
17aa:0000
   snd_hda_codec_alc269 ehdaudio0D0: autoconfig for ALC257: line_outs=1 (0x14) 
type:speaker
   snd_hda_codec_alc269 ehdaudio0D0:    hp_outs=1 (0x21)
   snd_hda_codec_alc269 ehdaudio0D0:    inputs: Mic=0x19
   (note: empty fixup for PCI SSID 17aa:0000, no Realtek quirk applied)

2. Codec pins (from /proc/asound/card0/codec#0):
   Node 0x19 [Jack] Mic at Ext Right: Unsolicited tag=02 enabled=1 (not 
delivered)
   Node 0x21 [Jack] HP Out at Ext Right: Unsolicited tag=01 enabled=1 (works)

3. evdev jack devices exist: "sof-hda-dsp Mic" (SW_MICROPHONE_INSERT),
   "sof-hda-dsp Headphone" (SW_HEADPHONE_INSERT).

4. Unplug/re-plug test (1s polling): HP toggles, MIC never changes.

5. Analog capture path works when forced: forcing Capture Switch on and
   recording hw:0,0 while speaking gives strong signal on the left channel
   (peak ~0 dBFS). So hardware/analog path is fine; only mic jack detection
   is broken.

== Additional info ==
- SOF also logs an unrelated init error for pcm 31 (Deepbuffer):
  "FW reported error: 104 - Other failure of module instance initialization 
request".

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-29-generic 7.0.0-29.29
ProcVersionSignature: Ubuntu 7.0.0-29.29-generic 7.0.12
Uname: Linux 7.0.0-29-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  [email protected]   9580 F.... pipewire
                      [email protected]  23991 F.... wireplumber
 /dev/snd/seq:        [email protected]   9580 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 20 17:15:17 2026
InstallationDate: Installed on 2026-07-15 (36 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
MachineType: LENOVO 21WN00ARCD
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
ProcFB: 0 xedrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-29-generic 
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/13/2026
dmi.bios.release: 1.4
dmi.bios.vendor: LENOVO
dmi.bios.version: N4TET19W (1.04 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21WN00ARCD
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76577 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.7
dmi.modalias: 
dmi:bvnLENOVO:bvrN4TET19W(1.04):bd05/13/2026:br1.4:efr1.7:svnLENOVO:pn21WN00ARCD:pvrThinkPadT14Gen7:rvnLENOVO:rn21WN00ARCD:rvrSDK0T76577WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21WN_BU_Think_FM_ThinkPadT14Gen7:pfaThinkPadT14Gen7:
dmi.product.family: ThinkPad T14 Gen 7
dmi.product.name: 21WN00ARCD
dmi.product.sku: LENOVO_MT_21WN_BU_Think_FM_ThinkPad T14 Gen 7
dmi.product.version: ThinkPad T14 Gen 7
dmi.sys.vendor: LENOVO

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164629

Title:
  [Panther Lake][ALC257][SOF] Headset microphone (TRRS) not detected on
  ThinkPad T14 Gen 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2164629/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to