Public bug reported:

Hardware:
- HP Laptop 14-dq2xxx, PCI SSID 103c:87fd
- Intel Tiger Lake-LP Smart Sound Technology Audio Controller (8086:a0c8)
- Driver: SOF (sof-audio-pci-intel-tgl), machine driver skl_hda_dsp_generic
- Codecs: Realtek ALC236 (10ec0236, subsystem 103c87fd) at address 0, Intel 
Tigerlake HDMI (80862812) at address 2
- Firmware: sof-tgl.ri 2:2:0-57864, topology sof-hda-generic-2ch.tplg

Software:
- Kubuntu 26.04.1 LTS
- Kernels affected: 7.0.0-38-generic and 7.0.0-42-generic
- PipeWire 1.6.2, WirePlumber 0.5.13, alsa-ucm-conf 1.2.15.3-1ubuntu1.7
- firmware-sof-signed 2025.12.2-1, linux-firmware 20260319.git217ca6e4

Regression:
Headphone jack detection (3.5 mm combo jack) worked on Kubuntu 24.04 (6.x HWE 
kernel,
exact version unknown). It stopped working after upgrading to 26.04 / kernel 
7.0.

Symptom:
Plugging headphones into the 3.5 mm jack is never detected. ALSA control
"Headphone Jack" (and "Mic Jack") always reads "off", so PipeWire/WirePlumber 
marks
the Headphones port and profile as "not available" and audio keeps playing 
through
the speakers. If the headphones output is forced, audio plays correctly through 
the
headphones, so the analog path and the jack itself are fine.

Root cause found so far:
Every read verb sent to the ALC236 returns the same value, 0x0000fe05, after 
boot:

  hda-verb /dev/snd/hwC0D0 0x21 GET_PIN_SENSE 0       -> 0xfe05  (expected bit 
31 set when plugged)
  hda-verb /dev/snd/hwC0D0 0x19 GET_PIN_SENSE 0       -> 0xfe05
  hda-verb /dev/snd/hwC0D0 0x21 GET_CONFIG_DEFAULT 0  -> 0xfe05  (expected 
0x04211040)
  hda-verb /dev/snd/hwC0D0 0x21 GET_PIN_WIDGET_CONTROL 0 -> 0xfe05

The values do not change when plugging/unplugging. Consistent with this,
/proc/asound/card0/codec#0 shows only the header and "Invalid AFG subtree"
(Default Amp caps decode as ofs=0x05, nsteps=0x7e, i.e. 0xfe05). The HDMI codec 
on
the same link reads fine (/proc/asound/card0/codec#2 is complete).

Reads did work during probe: init_pin_configs in sysfs is correct
(0x14 0x90170110, 0x19 0x04a11020, 0x21 0x04211040) and the autoconfig log is 
correct:

  snd_hda_codec_alc269 ehdaudio0D0: ALC236: picked fixup  for PCI SSID 103c:87fd
  snd_hda_codec_alc269 ehdaudio0D0: autoconfig for ALC236: line_outs=1 
(0x14/...) type:speaker
  snd_hda_codec_alc269 ehdaudio0D0:    hp_outs=1 (0x21/...)
  snd_hda_codec_alc269 ehdaudio0D0:      Mic=0x19

So responses become wrong at some point after probe/init. Writes still work
(volume and mute changes take effect, the speaker and headphone outputs can be 
switched).
No errors appear in the kernel log. A runtime suspend/resume of the codec 
(stopping
PipeWire until ehdaudio0D0 reached "suspended") did not fix it, and neither did 
a full
power drain (shutdown, AC unplugged, power button held for 30 s).

Steps to reproduce:
1. Boot kernel 7.0.x on this machine.
2. cat /proc/asound/card0/codec#0  -> "Invalid AFG subtree"
3. Plug headphones; amixer -c0 cget iface=CARD,name='Headphone Jack' -> off
4. sudo hda-verb /dev/snd/hwC0D0 0x21 GET_PIN_SENSE 0 -> 0xfe05

Expected: the codec returns valid responses, and jack detection switches
audio to the headphones.

Workaround: a local UCM copy with JackControl removed for Headphones and Mic2 
makes
the ports always available, so they can be selected manually. Automatic 
switching does not work.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-42-generic 7.0.0-42.42
ProcVersionSignature: Ubuntu 7.0.0-42.42-generic 7.0.14
Uname: Linux 7.0.0-42-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  francisco   3140 F.... pipewire
                      francisco   3153 F.... wireplumber
 /dev/snd/pcmC0D0p:   francisco   3140 F...m pipewire
 /dev/snd/seq:        francisco   3140 F.... pipewire
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Wed Nov  4 23:45:06 2026
InstallationDate: Installed on 2025-12-30 (309 days ago)
InstallationMedia: Kubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
MachineType: HP HP Laptop 14-dq2xxx
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-42-generic 
root=UUID=301b9a3b-c037-49e6-8165-7ea1db5e2958 ro quiet splash
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
SourcePackage: linux
UpgradeStatus: Upgraded to resolute on 2026-09-30 (36 days ago)
dmi.bios.date: 10/04/2023
dmi.bios.release: 15.33
dmi.bios.vendor: AMI
dmi.bios.version: F.33
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 87FD
dmi.board.vendor: HP
dmi.board.version: 57.26
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 57.26
dmi.modalias: 
dmi:bvnAMI:bvrF.33:bd10/04/2023:br15.33:efr57.26:svnHP:pnHPLaptop14-dq2xxx:pvr:rvnHP:rn87FD:rvr57.26:cvnHP:ct10:cvrChassisVersion:sku3V8J6LA#AC8:pfa103C_5335KVHPNotebook:
dmi.product.family: 103C_5335KV HP Notebook
dmi.product.name: HP Laptop 14-dq2xxx
dmi.product.sku: 3V8J6LA#AC8
dmi.sys.vendor: HP

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

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

Title:
  ALC236 (SOF, HP 103c:87fd): codec returns 0xfe05 to every read verb,
  headphone jack detection broken since kernel 7.0

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


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

Reply via email to