Fixed no headphone sound bug on laptop Samsung Notebook Pen S, by using exsisting patch Linus' tree as commit 14425f1f521f (ALSA: hda/realtek: Add quirk for Samsung Notebook). This laptop uses same ALC298 but different subsystem id 0x144dc812. So I add SND_PCI_QUIRK at sound/pci/hda/patch_realtek.c
Quoted 10 lines · Joonho Wohn
--- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+)sound/pci/hda/patch_realtek.c +0
-0
sound/pci/hda/patch_realtek.c static const struct snd_pci_quirk alc269_fixup_tbl[] = { · line 7534
Quoted 7 lines
sound/pci/hda/patch_realtek.c +1
-0@@ -7528,6 +7528,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {SND_PCI_QUIRK (0x144d ,0xc169 ,"Samsung Notebook 9 Pen (NP930SBE-K01US)" ,ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET ),SND_PCI_QUIRK (0x144d ,0xc176 ,"Samsung Notebook 9 Pro (NP930MBE-K04US)" ,ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET ),SND_PCI_QUIRK (0x144d ,0xc740 ,"Samsung Ativ book 8 (NP870Z5G)" ,ALC269_FIXUP_ATIV_BOOK_8 ), +SND_PCI_QUIRK (0x144d ,0xc812 ,"Samsung Notebook Pen S (NT950SBE-X58)" ,ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET ),SND_PCI_QUIRK (0x1458 ,0xfa53 ,"Gigabyte BXBT-2807" ,ALC283_FIXUP_HEADSET_MIC ),SND_PCI_QUIRK (0x1462 ,0xb120 ,"MSI Cubi MS-B120" ,ALC283_FIXUP_HEADSET_MIC ), SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)", ALC283_FIXUP_HEADSET_MIC),
Thanks for the patch.
The code change itself looks OK, but the patch has to be provided in a formal way described in Documentation/process/submitting-patches.rst.
That is,
- Move the description about your change into the mail body, not in the mail subject; keep the mail subject concise
- Don't forget to give your Signed-off-by line, which is a legal requirement
Once after fixing those, please resubmit the patch.
thanks,
Takashi
Thanks for your feedback.
It's really helpful to me.
I'll revise email and send you again soon.
2020년 7월 7일 (화) 오후 8:01, Takashi Iwai <[email protected]>님이 작성:
Quoted 47 lines
Review
Quoted 6 lines · Joonho Wohn
--- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/sound/pci/hda/patch_realtek.csound/pci/hda/patch_realtek.c static const struct snd_pci_quirk
Quoted 4 lines
index
737ef82a75fd..ebedc6093642100644sound/pci/hda/patch_realtek.c +0
-0@@ -7528,6 +7528,7 @@ static const struct snd_pci_quirkalc269_fixup_tbl[] = {
sound/pci/hda/patch_realtek.c static const struct snd_pci_quirk · line 7528
Quoted 1 line
sound/pci/hda/patch_realtek.c +0
-0SND_PCI_QUIRK(0x144d, 0xc169, "Samsung Notebook 9 Pen(NP930SBE-K01US)",
ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),sound/pci/hda/patch_realtek.c static const struct snd_pci_quirk · line 7529
Quoted 1 line
sound/pci/hda/patch_realtek.c +0
-0SND_PCI_QUIRK(0x144d, 0xc176, "Samsung Notebook 9 Pro(NP930MBE-K04US)",
ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),sound/pci/hda/patch_realtek.c static const struct snd_pci_quirk · line 7530
Quoted 1 line
sound/pci/hda/patch_realtek.c +0
-0SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)",
ALC269_FIXUP_ATIV_BOOK_8),sound/pci/hda/patch_realtek.c static const struct snd_pci_quirk · line 7531
Quoted 1 line
sound/pci/hda/patch_realtek.c +1
-0+ SND_PCI_QUIRK(0x144d, 0xc812, "Samsung Notebook Pen S(NT950SBE-X58)",
ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET),sound/pci/hda/patch_realtek.c static const struct snd_pci_quirk · line 7532
Quoted 1 line
sound/pci/hda/patch_realtek.c +0
-0SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807",
ALC283_FIXUP_HEADSET_MIC),sound/pci/hda/patch_realtek.c static const struct snd_pci_quirk · line 7533
Quoted 1 line
sound/pci/hda/patch_realtek.c +0
-0SND_PCI_QUIRK(0x1462, 0xb120, "MSI Cubi MS-B120",
ALC283_FIXUP_HEADSET_MIC),sound/pci/hda/patch_realtek.c static const struct snd_pci_quirk · line 7534
Quoted 1 line
sound/pci/hda/patch_realtek.c +0
-0SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)",
ALC283_FIXUP_HEADSET_MIC),Thanks for the patch.
The code change itself looks OK, but the patch has to be provided in a formal way described in
Documentation/process/submitting-patches.rst.That is,
- Move the description about your change into the mail body, not in the mail subject; keep the mail subject concise
- Don't forget to give your Signed-off-by line, which is a legal requirementOnce after fixing those, please resubmit the patch.
thanks,
Takashi