It's been a while .. similar issue to my previous Lenovo P1 Gen 6 ..
now I've switched to Gen 9.

I couldn't get sound to work on P1 Gen 9. It worked fine on P1 Gen 6.

# lspci|grep audio
00:1f.3 Multimedia audio controller: Intel Corporation Panther Lake
Smart Sound Technology BUS
01:00.1 Audio device: NVIDIA Corporation GB206 High Definition Audio
Controller (rev a1)

Hardware
    Machine: Lenovo ThinkPad P1 Gen 9 (model 21UFS0DJ00)
    CPU/Platform: Intel Core Ultra Series 3 "Panther Lake"
    Audio controller: Intel Panther Lake Smart Sound Technology BUS [8086:e328]
    PCI subsystem ID: 17aa:235c (Lenovo)
    Amplifiers: 2x Cirrus Logic CS35L57 Rev B2, OTP1, fw 4.2.1,
attached via SoundWire (SDCA SmartAmp function, type 1)
        sdw:0:2:01fa:3557:01:0
        sdw:0:2:01fa:3557:01:4
    Also present on the SoundWire bus: SDCA SmartMic (type 3), UAJ
jack (type 6), HID (type 10)

Kernel
    Mainline 7.3.0-rc1
    sof-audio-pci-intel-ptl binds correctly to 0000:00:1f.3,
0000:00:02.0 (GPU/DSP)
    SoundWire bus, Cadence controller, Intel bridge, and the CS35L57
SoundWire codec driver (snd_soc_cs35l56_sdw) all load and correctly
identify both amps by rev/fw version — driver-side recognition of the
codec is working

Failure
sof-audio-pci-intel-ptl 0000:00:1f.3: No SoundWire machine driver
found for the ACPI-reported configuration:
sof-audio-pci-intel-ptl 0000:00:1f.3: link 2 mfg_id 0x01fa part_id
0x3557 version 0x3
sof-audio-pci-intel-ptl 0000:00:1f.3: Use SoundWire default machine
driver with function topologies
sof-audio-pci-intel-ptl 0000:00:1f.3: SOF firmware and/or topology
file not found.
sof-audio-pci-intel-ptl 0000:00:1f.3: - ipc type 1 (Requested):
sof-audio-pci-intel-ptl 0000:00:1f.3:  Firmware file:
intel/sof-ipc4/ptl/sof-ptl.ri
sof-audio-pci-intel-ptl 0000:00:1f.3:  Topology file:
intel/sof-ipc4-tplg/sof-ptl-dummy.tplg
sof-audio-pci-intel-ptl 0000:00:1f.3: error: sof_probe_work failed err: -2

Neither file is present in the current sof-bin release tree.
Downstream of this failure, the SoundWire codec resume/read/write
attempts also start timing out (-110, -13) — believed to be a
consequence of the aborted probe, not a separate issue.

Result: no card registers with ALSA (/proc/asound/cards shows nothing
for the internal audio path).

What's confirmed working
    Codec detection and identification (both CS35L57 amps enumerate
correctly with rev/fw info)
    SDCA function enumeration (SmartAmp x2, SmartMic, UAJ, HID all
reported by ACPI)
    Full kernel-side module chain: soundwire-bus, soundwire-cadence,
soundwire-intel, snd-soc-sdca, snd-soc-cs35l56-shared,
snd-soc-cs35l56-sdw, snd-sof, snd-sof-pci, snd-sof-pci-intel-ptl,
snd-soc-sof-sdw all present and loaded without error

What's missing
    intel/sof-ipc4/ptl/sof-ptl.ri
    intel/sof-ipc4-tplg/sof-ptl-dummy.tplg (or, more usefully, a real
topology matching this specific CS35L57 dual-amp SDCA configuration
rather than a dummy fallback)

Related prior reports
    thesofproject/sof-bin#196 — ThinkPad P1 Gen 8 (Arrow Lake,
CS42L43+CS35L56), same "Dummy Output" symptom, missing
sof-arl-cs42l43-l2-2ch.tplg
    Similar Panther Lake topology gaps reported independently for
other laptops (ASUS Zenbook S14, ASUS ROG Zephyrus G16) around the
same timeframe — suggests PTL+SDCA-amp topology coverage is broadly
behind hardware availability right now, not isolated to this one
board.

Happy to test candidate firmware/topology files and report back — full
module/dmesg trail available on request.

Jeff

On Fri, Mar 1, 2024 at 1:07 AM Jeff Chua <[email protected]> wrote:
>
> On Thu, Feb 29, 2024 at 3:34 PM Takashi Iwai <[email protected]> wrote:
> >
> > On Thu, 29 Feb 2024 04:39:15 +0100,
> > Jeff Chua wrote:
> > >
> > > On Thu, Feb 29, 2024 at 5:06 AM Jeff Chua <[email protected]> 
> > > wrote:
> > > >
> > > > On Wed, Feb 28, 2024 at 3:45 PM Ralf Mardorf 
> > > > <[email protected]> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > if Ubuntu supports your computer, they probably offer a patch or
> > > > > patches. If so and you build a "vanilla" kernel by just using an 
> > > > > Ubuntu
> > > > > config, then you build without any additional patch that might be (or
> > > > > might not be) offered by Ubuntu.
> > > > >
> > > > > IIUC a default install of Ubuntu, Redhat or SuSE might provide a 
> > > > > working
> > > > > audio device, see https://support.lenovo.com/us/en/solutions/ht082374 
> > > > > .
> > > > > It might not necessarily work, due to different mainboard releases.
> > > > >
> > > > > How about testing a live media, e.g. Ubuntu from an USB stick?
> > > > >
> > > > > Did you already check
> > > > > https://support.lenovo.com/us/en/solutions/ht511743-how-to-download-the-linux-image-from-the-e-support-page
> > > > > ?
> > > > >
> > > > > I build my own desktop machines. For my 13th Gen Intel Core based
> > > > > machine Ubuntu offered a kernel supporting everything I need, already
> > > > > when the machine was new, while for Arch Linux I build the kernel 
> > > > > module
> > > > > for RTL8125 using dkms.
> > > > >
> > > > > To summarise, if you build your own kernel, you may need one or more
> > > > > patches in addition to the source code from kernel.org, a kernel
> > > > > configuration will probably not change anything. You don't necessarily
> > > > > have to rebuild the whole kernel, but only the corresponding module or
> > > > > modules, simply with dkms.
> > > > >
> > > > > Regards,
> > > > > Ralf
> > > >
> > > > > How about testing a live media, e.g. Ubuntu from an USB stick?
> > > >
> > > > Ralf, I'll try!
> > >
> > > Ok, boot ubuntu from USB stick, and everything works. I've sound (mic
> > > works too), touchscreen, and microSD all working.
> > >
> > > And I took the lsmod list from the Ubuntu USB boot-up, and went back
> > > my vanilla linux kernel, using the same .confg from ubuntu, recompiled
> > > the kernel, and loaded the same module names as ubuntu loaded in the
> > > USB boot up, and this time everything worked!
> > >
> > > Vanilla pure linux setup. Just latest Linux kernel from git, Alsa, and
> > > SOF (sof-bin-2023.12.tar.gz).
> > >
> > > The only firmware missng are cirrus/cs35l41-dsp1-spk-prot.bin and
> > > cirrus/cs35l41-dsp1-spk-prot.wmfw and I took those from Ubuntu USB
> > > boot up.
> >
> > Those firmware files should have been already in the latest
> > linux-firmware tree.
>
> You're right, it's there! My pull and install script ignored the
> cirrus directory..
>
> Jeff.


_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to