Bug 216206
Summary: | CS35L41 low volume sound on HP EliteBook 865 16 inch G9 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Xing Li (xing) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | NEW --- | ||
Severity: | normal | CC: | icoderdev, isolite, marco.rodolfi, ssergiienko.s |
Priority: | P1 | ||
Hardware: | AMD | ||
OS: | Linux | ||
Kernel Version: | 6.0.0-0.rc3.25.fc38.x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | lspci |
Description
Xing Li
2022-07-05 09:50:22 UTC
It appears cs35l41 in this system is an amplifier with a dsp. There are pending new drivers merges into the kernel for cs35l41. https://lore.kernel.org/lkml/20220630002335.366545-1-vitalyr@opensource.cirrus.com/ Even running on latest Kernel 6.0rc3 on Fedora 37 (rawhide) did not fix this issue. My hw/alsa debug info: http://alsa-project.org/db/?f=6a7039fe66fc4310f82de9f4a933268ba34d9382 Also got the following from dmesg: [ 407.695559] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: Failed to read 4 bytes from 28007e8: -121 Looks like I have the same problem, but on Intel platform HP Envy 16. Actually, out of the box, I have no sound from speakers at all, but even after quirk fixup patching(see my report https://bugzilla.kernel.org/show_bug.cgi?id=217381) when sound starts to work it's not load and reduced quality. So for sure, just quirks are not enough, unfortunately. From what I'm reading here: [ 11.514431] SVM: TSC scaling supported -- [ 12.027985] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: e:\workspace\workspace\tibranch_release_playback_6.76_2\ormis\staging\default_tunings\internal\CS35L53\Fixed_Attenuation_Mono_48000_29.78.0\full\Fixed_Attenuation_Mono_48000_29.78.0_full.bin [ 12.053529] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CSC3551:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41]) [ 12.055568] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: Firmware version: 3 -- [ 12.501111] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: e:\workspace\workspace\tibranch_release_playback_6.76_2\ormis\staging\default_tunings\internal\CS35L53\Fixed_Attenuation_Mono_48000_29.78.0\full\Fixed_Attenuation_Mono_48000_29.78.0_full.bin I suspect that the issue with your laptops amps are the missing DSP firmware from the HP audio driver. That generic firmware there is loaded when a more specific one is not provided/not available, so at least you get audio. I had the same problem with a Steam Deck running on a different OS than SteamOS. Without the specific DSP tuning provided by Valve the audio was garbage compared to SteamOS. Check if before loading the default settings there is a specific error for uploading a different filename in dmesg. If yes you need to pull down the audio driver from HP, extract it out and find your .bin firmware file that you will then need to place where the audio driver expect it. If there is no error it might be because noone added the specific filename for your model yet in the audio driver, so someone at cirruslogic/HP should take a look and add it in. Marco |