* [PATCH] ALSA: hda: cs35l41: Support HP Elite Dragonfly 13.5 inch G4
@ 2024-11-22 4:44 Nicholas Wang
2024-11-22 10:59 ` Stefan Binding
0 siblings, 1 reply; 3+ messages in thread
From: Nicholas Wang @ 2024-11-22 4:44 UTC (permalink / raw)
Cc: Nicholas Wang, David Rhodes, Richard Fitzgerald, Jaroslav Kysela,
Takashi Iwai, linux-sound, patches, linux-kernel
This laptop needs to be supported via the configuration table.
Signed-off-by: Nicholas Wang <me@nicho1as.wang>
---
sound/pci/hda/cs35l41_hda_property.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c
index 61d231483..c97b8f808 100644
--- a/sound/pci/hda/cs35l41_hda_property.c
+++ b/sound/pci/hda/cs35l41_hda_property.c
@@ -52,6 +52,7 @@ static const struct cs35l41_config cs35l41_config_table[] = {
{ "103C8A30", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
{ "103C8A31", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
{ "103C8A6E", 4, EXTERNAL, { CS35L41_LEFT, CS35L41_LEFT, CS35L41_RIGHT, CS35L41_RIGHT }, 0, -1, -1, 0, 0, 0 },
+ { "103C8B63", 4, EXTERNAL, { CS35L41_RIGHT, CS35L41_LEFT, CS35L41_RIGHT, CS35L41_LEFT }, 0, -1, -1, 0, 0, 0 },
{ "103C8BB3", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
{ "103C8BB4", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
{ "103C8BDD", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
@@ -467,6 +468,7 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
{ "CSC3551", "103C8A30", generic_dsd_config },
{ "CSC3551", "103C8A31", generic_dsd_config },
{ "CSC3551", "103C8A6E", generic_dsd_config },
+ { "CSC3551", "103C8B63", generic_dsd_config },
{ "CSC3551", "103C8BB3", generic_dsd_config },
{ "CSC3551", "103C8BB4", generic_dsd_config },
{ "CSC3551", "103C8BDD", generic_dsd_config },
--
2.47.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ALSA: hda: cs35l41: Support HP Elite Dragonfly 13.5 inch G4
2024-11-22 4:44 [PATCH] ALSA: hda: cs35l41: Support HP Elite Dragonfly 13.5 inch G4 Nicholas Wang
@ 2024-11-22 10:59 ` Stefan Binding
2024-11-22 13:27 ` Nicholas Wang
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Binding @ 2024-11-22 10:59 UTC (permalink / raw)
To: Nicholas Wang
Cc: David Rhodes, Richard Fitzgerald, Jaroslav Kysela, Takashi Iwai,
linux-sound, patches, linux-kernel
Hi,
This laptop should have valid _DSD, which would mean that it shouldn’t need to be added into the configuration table.
I can see the cs_gpio_index field set to -1 in this patch, which should only be valid for this laptop if there is valid cs-gpios _DSD in the ACPI.
Did the laptop have some kind of issue which prompted this patch?
Is there a BugZilla for this issue?
Can you send me a dmesg log of this issue so I can investigate?
Can you also send an acpidump of your laptop?
Thanks,
Stefan
On 22/11/2024 04:44, Nicholas Wang wrote:
> This laptop needs to be supported via the configuration table.
>
> Signed-off-by: Nicholas Wang <me@nicho1as.wang>
> ---
> sound/pci/hda/cs35l41_hda_property.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c
> index 61d231483..c97b8f808 100644
> --- a/sound/pci/hda/cs35l41_hda_property.c
> +++ b/sound/pci/hda/cs35l41_hda_property.c
> @@ -52,6 +52,7 @@ static const struct cs35l41_config cs35l41_config_table[] = {
> { "103C8A30", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
> { "103C8A31", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
> { "103C8A6E", 4, EXTERNAL, { CS35L41_LEFT, CS35L41_LEFT, CS35L41_RIGHT, CS35L41_RIGHT }, 0, -1, -1, 0, 0, 0 },
> + { "103C8B63", 4, EXTERNAL, { CS35L41_RIGHT, CS35L41_LEFT, CS35L41_RIGHT, CS35L41_LEFT }, 0, -1, -1, 0, 0, 0 },
> { "103C8BB3", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
> { "103C8BB4", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
> { "103C8BDD", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4100, 24 },
> @@ -467,6 +468,7 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
> { "CSC3551", "103C8A30", generic_dsd_config },
> { "CSC3551", "103C8A31", generic_dsd_config },
> { "CSC3551", "103C8A6E", generic_dsd_config },
> + { "CSC3551", "103C8B63", generic_dsd_config },
> { "CSC3551", "103C8BB3", generic_dsd_config },
> { "CSC3551", "103C8BB4", generic_dsd_config },
> { "CSC3551", "103C8BDD", generic_dsd_config },
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [PATCH] ALSA: hda: cs35l41: Support HP Elite Dragonfly 13.5 inch G4
2024-11-22 10:59 ` Stefan Binding
@ 2024-11-22 13:27 ` Nicholas Wang
0 siblings, 0 replies; 3+ messages in thread
From: Nicholas Wang @ 2024-11-22 13:27 UTC (permalink / raw)
To: sbinding
Cc: david.rhodes, linux-kernel, linux-sound, me, patches, perex, rf, tiwai
Hi Stefan,
Thanks for your timely reply. Unfortunately, I'm not entirely sure about whether
it has a valid _DSD and yes the patch is prompted as this laptop has crackling
sound whenever the volume reaches around 30% and easily triggering "Amp short error"
whenever it's around 50%, while the volume sound weak at the same time. I believe
multiple users across different distros are having the issue, but I didn't find
a corresponding BugZilla report. I wasn't entirely sure on the entries I added,
however it is verified to be working on my machine and one other from Arch Linux
forum. I created https://bugzilla.kernel.org/show_bug.cgi?id=219520 and had my
dmesg and acpidump attached there.
Also these are my very first patch/emails on the LKML, so please let me know if
I did anything wrong.
Regards,
--
Nicholas Wang
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-22 13:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-22 4:44 [PATCH] ALSA: hda: cs35l41: Support HP Elite Dragonfly 13.5 inch G4 Nicholas Wang
2024-11-22 10:59 ` Stefan Binding
2024-11-22 13:27 ` Nicholas Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®