-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The default results in a very noisy recordings. Related to Dasharo/dasharo-issues#972 (cherry picked from commit 9f95247) (patch adjusted for 6.6.x)
- Loading branch information
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
0001-ALSA-hda-realek-extend-quirks-for-Clevo-V5-46-0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
From 779c95a6eb1773d81557699b9ac5df186a8dba3d Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= | ||
<marmarek@invisiblethingslab.com> | ||
Date: Tue, 3 Sep 2024 01:28:48 +0200 | ||
Subject: [PATCH] ALSA: hda/realek: extend quirks for Clevo V5[46]0 | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
The mic in those laptops suffers too high gain resulting in mostly (fan | ||
or else) noise being recorded. In addition to the existing fixup about | ||
mic detection, apply also limiting its boost. While at it, extend the | ||
quirk to also V5[46]0TNE models, which have the same issue. | ||
|
||
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> | ||
Cc: <stable@vger.kernel.org> | ||
--- | ||
Cc: Michał Kopeć <michal.kopec@3mdeb.com> | ||
--- | ||
sound/pci/hda/patch_realtek.c | 10 +++++++++- | ||
1 file changed, 9 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c | ||
index 5736516275a3..99600a8e499e 100644 | ||
--- a/sound/pci/hda/patch_realtek.c | ||
+++ b/sound/pci/hda/patch_realtek.c | ||
@@ -7444,6 +7444,7 @@ enum { | ||
ALC2XX_FIXUP_HEADSET_MIC, | ||
ALC289_FIXUP_DELL_CS35L41_SPI_2, | ||
ALC294_FIXUP_CS35L41_I2C_2, | ||
+ ALC245_FIXUP_CLEVO_NOISY_MIC, | ||
}; | ||
|
||
/* A special fixup for Lenovo C940 and Yoga Duet 7; | ||
@@ -9623,6 +9624,12 @@ static const struct hda_fixup alc269_fixups[] = { | ||
.type = HDA_FIXUP_FUNC, | ||
.v.func = cs35l41_fixup_i2c_two, | ||
}, | ||
+ [ALC245_FIXUP_CLEVO_NOISY_MIC] = { | ||
+ .type = HDA_FIXUP_FUNC, | ||
+ .v.func = alc269_fixup_limit_int_mic_boost, | ||
+ .chained = true, | ||
+ .chain_id = ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE, | ||
+ }, | ||
}; | ||
|
||
static const struct snd_pci_quirk alc269_fixup_tbl[] = { | ||
@@ -10191,7 +10198,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { | ||
SND_PCI_QUIRK(0x1558, 0xa600, "Clevo NL50NU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), | ||
SND_PCI_QUIRK(0x1558, 0xa650, "Clevo NP[567]0SN[CD]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE), | ||
SND_PCI_QUIRK(0x1558, 0xa671, "Clevo NP70SN[CDE]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE), | ||
- SND_PCI_QUIRK(0x1558, 0xa763, "Clevo V54x_6x_TU", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE), | ||
+ SND_PCI_QUIRK(0x1558, 0xa741, "Clevo V54x_6x_TNE", ALC245_FIXUP_CLEVO_NOISY_MIC), | ||
+ SND_PCI_QUIRK(0x1558, 0xa763, "Clevo V54x_6x_TU", ALC245_FIXUP_CLEVO_NOISY_MIC), | ||
SND_PCI_QUIRK(0x1558, 0xb018, "Clevo NP50D[BE]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), | ||
SND_PCI_QUIRK(0x1558, 0xb019, "Clevo NH77D[BE]Q", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), | ||
SND_PCI_QUIRK(0x1558, 0xb022, "Clevo NH77D[DC][QW]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), | ||
-- | ||
2.46.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters