[Reposted to ALSA Deveopment]
I've just about everything but still couldn't get souns on the Lenovo P1 Gen 6.
I've even tried SOF modules in the kernel but not working either.
I'm just using standard alsa without other sound utils. Alsa has served me fine on IBM/Lenovo for many years. Latest on Lenovo X1 Gen 10.
Sound works fine on the headphone plugged in to the headphone jack.
Attached is my kernel .config ...
# lspci 00:1f.3 Multimedia audio controller: Intel Corporation Device 51ca (rev 01) Subsystem: Lenovo Device 2317 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 64 Interrupt: pin A routed to IRQ 130 Region 0: Memory at 6452b30000 (64-bit, non-prefetchable) [size=16K] Region 4: Memory at 6452a00000 (64-bit, non-prefetchable) [size=1M] Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [80] Vendor Specific Information: Len=14 <?> Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee3c000 Data: 0020 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
# lsmod ... snd_ctl_led 20480 0 snd_hda_codec_realtek 147456 1 snd_hda_codec_generic 73728 1 snd_hda_codec_realtek snd_hda_codec_hdmi 61440 1 snd_hda_intel 36864 0 snd_intel_dspcfg 12288 1 snd_hda_intel snd_hda_codec 114688 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek snd_hwdep 12288 1 snd_hda_codec snd_hda_core 69632 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
# dmesg ... snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 snd_hda_codec_realtek hdaudioC0D0: inputs: snd_hda_codec_realtek hdaudioC0D0: Mic=0x19 snd_hda_codec_realtek hdaudioC0D0: cs35l41_generic_fixup snd_hda_codec_realtek hdaudioC0D0: cs35l41_generic_fixup snd_hda_codec_realtek hdaudioC0D0: cs35l41_generic_fixup
# uname -a Linux p1 6.8.0-rc4 #10 SMP PREEMPT_DYNAMIC Thu Feb 15 09:09:25 SGT 2024 x86_64 GNU/Linux
I've the latest linux, alsa-lib, alsa-utils, alsa-plugins inatall ...
# linux-kernel commit 8d3dea210042f54b952b481838c1e7dfc4ec751d (HEAD -> master, origin/master, origin/HEAD) Merge: 6004b044f771 8fa507083388 Author: Linus Torvalds torvalds@linux-foundation.org Date: Wed Feb 14 16:06:31 2024 -0800
And all the latest alsa-lib, alsa-utils, alsa-plugins install from git.
# alsa-lib commit d8ce72f2561f23293ad0d98d30060c4a80a74c36 (HEAD -> master, origin/master, origin/HEAD) Author: Jaroslav Kysela perex@perex.cz Date: Fri Feb 9 11:21:04 2024 +0100
# alsa-utils commit 7cae8880234149b42d99abd603b387f91a8c7013 (HEAD -> master, tag: v1.2.11, origin/master, origin/HEAD) Author: Jaroslav Kysela perex@perex.cz Date: Mon Jan 29 13:57:30 2024 +0100
Release v1.2.11
# alsa-plugins commit 873a2966d22cd2956dc3c844fdc5d5573178502a (HEAD -> master, origin/master, origin/HEAD) Author: Takashi Iwai tiwai@suse.de Date: Sat Oct 7 09:20:41 2023 +0200
# cat /proc/cmdline BOOT_IMAGE=/linux/bzc1 root=/dev/nvme0n1p2 ro resume=/dev/nvme0n1p12 nosplash master=nvme0n1p fstype=f2fs reboot=acpi loop.max_part=63 modules="i915" drm_kms_helper.poll=0 nomodeset vga=755 i915.modeset=1 i915.enable_fbc=1 i915.enable_guc=3 i915.enable_gvt=1 i915.enable_psr=0 i915.fastboot=1 iwlwifi.enable_ini=0 split_lock_detect=off thinkpad_acpi.fan_control=1 thinkpad_acpi.volume_control=1 x11 sd_mod.ssd=1 psmouse.synaptics_intertouch=1
Any help is very much appreciated!
My best., Jeff