Skip to content

Add ALC298 layout-id 98 for Lenovo Yoga 9 15IMH5#955

Open
sunbos wants to merge 2 commits into
acidanthera:masterfrom
sunbos:alc298-layout98-yoga9
Open

Add ALC298 layout-id 98 for Lenovo Yoga 9 15IMH5#955
sunbos wants to merge 2 commits into
acidanthera:masterfrom
sunbos:alc298-layout98-yoga9

Conversation

@sunbos

@sunbos sunbos commented May 17, 2026

Copy link
Copy Markdown
Contributor

Add ALC298 layout-id 98 for Lenovo Yoga 9 15IMH5

Codec: Realtek ALC298
Layout-ID: 98
Machine: Lenovo Yoga 9 15IMH5 (82DE)
Subsystem ID: 0x17AA3822

Working:

  • Internal speakers (Pin 0x14 → DAC 0x03)
  • Headphones with auto-switching (Pin 0x21 → DAC 0x02)
  • External microphone / headset mic (Pin 0x18 → ADC 0x08)

Not working:

  • Internal microphone (DMIC via Intel SST/SOF, not routed through ALC298 HDA codec)

Pin Configurations:

Pin Config Device
0x12 0x90A60180 Fixed Mic In at Int (internal mic pin)
0x14 0x90170140 Fixed Speaker at Int
0x18 0x04A11020 Jack Mic at Ext Right (headset mic)
0x21 0x04211010 Jack HP Out at Ext Right (headphone)

Files changed:

  1. Resources/ALC298/layout98.xml — Layout definition
  2. Resources/ALC298/Platforms98.xml — Audio path mapping
  3. Resources/ALC298/Info.plist — Added Layouts and Platforms entries
  4. Resources/PinConfigs.kext/Contents/Info.plist — Added PinConfig entry

Tested on macOS Tahoe with OpenCore and AppleALC.

sunbos added 2 commits May 17, 2026 20:22
The Lenovo Yoga 9 15IMH5 uses 2 DMICs connected via Intel SST/SOF DSP,
not through ALC298's analog Pin 0x12. The path ADC17→Selector36→Pin18(0x12)
produces no audio and creates a phantom input device in System Preferences.

Changes:
- Platforms98.xml: Remove input path 2 (ADC17→Selector36→Pin18)
- layout98.xml: Remove LineIn device and its DSP configuration
- layout98.xml: Remove LineIn from Inputs array (only Mic remains)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant