Could you help me upstream a quirk for HP ZBook Studio G4 mute LED?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dear kernel sound maintainers,
Could you help me with upstreaming the following Linux kernel patch to add a quirk for the HP ZBook Studio G4 mute LED? I don’t know how to start, but I saw similar patches get upstreamed before.
An associated bug report was made to the kernel bugzilla at https://bugzilla.kernel.org/show_bug.cgi?id=221002.
After some research on forums and wiki’s I found that adding a file at /etc/modprobe.d/alsa-base.conf with the contents ‘options snd-hda-intel model=mute-led-gpio’ makes the mute LED work as expected for this laptop. To my understanding, the patch below should configure the corresponding quirk. I have tested the patch on the HP ZBook Studio G4 laptop in fedora, which made the mute led work without the file mentioned above.
Thank you for reading this far. Please let me know if you can help, or what the next step would be.
Best regards,
Anton
(the patch is also added as an attachment, in case the email messed with the formatting.)
---
Allows the LED on the dedicated mute button on the HP Zbook Studio G4 laptop to change colour correctly.
sound/hda/codecs/conexant.c +0 -0
@@ -1081,6 +1081,7 @@ static const struct hda_quirk cxt5066_fixups[] = {
SND_PCI_QUIRK(0x103c, 0x8174, "HP Spectre x360", CXT_FIXUP_HP_SPECTRE), SND_PCI_QUIRK(0x103c, 0x822e, "HP ProBook 440 G4", CXT_FIXUP_MUTE_LED_GPIO), SND_PCI_QUIRK(0x103c, 0x8231, "HP ProBook 450 G4", CXT_FIXUP_MUTE_LED_GPIO), + SND_PCI_QUIRK(0x103c, 0x826b, "HP ZBook Studio G4", CXT_FIXUP_MUTE_LED_GPIO), SND_PCI_QUIRK(0x103c, 0x828c, "HP EliteBook 840 G4", CXT_FIXUP_HP_DOCK), SND_PCI_QUIRK(0x103c, 0x8299, "HP 800 G3 SFF", CXT_FIXUP_HP_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x103c, 0x829a, "HP 800 G3 DM", CXT_FIXUP_HP_MIC_NO_PRESENCE),
sound/hda/codecs/conexant.c +1 -0
@@ -1081,6 +1081,7 @@ static const struct hda_quirk cxt5066_fixups[] = {SND_PCI_QUIRK (0x103c ,0x8174 ,"HP Spectre x360" ,CXT_FIXUP_HP_SPECTRE ),SND_PCI_QUIRK (0x103c ,0x822e ,"HP ProBook 440 G4" ,CXT_FIXUP_MUTE_LED_GPIO ),SND_PCI_QUIRK (0x103c ,0x8231 ,"HP ProBook 450 G4" ,CXT_FIXUP_MUTE_LED_GPIO ), +SND_PCI_QUIRK (0x103c ,0x826b ,"HP ZBook Studio G4" ,CXT_FIXUP_MUTE_LED_GPIO ),SND_PCI_QUIRK (0x103c ,0x828c ,"HP EliteBook 840 G4" ,CXT_FIXUP_HP_DOCK ),SND_PCI_QUIRK (0x103c ,0x8299 ,"HP 800 G3 SFF" ,CXT_FIXUP_HP_MIC_NO_PRESENCE ), SND_PCI_QUIRK(0x103c, 0x829a, "HP 800 G3 DM", CXT_FIXUP_HP_MIC_NO_PRESENCE),
Quoted 18 lines · anton
Dear kernel sound maintainers,
Could you help me with upstreaming the following Linux kernel patch to add a quirk for the HP ZBook Studio G4 mute LED?
I don’t know how to start, but I saw similar patches get upstreamed before.An associated bug report was made to the kernel bugzilla at
https://bugzilla.kernel.org/show_bug.cgi?id=221002.After some research on forums and wiki’s I found that adding a file at
/etc/modprobe.d/alsa-base.confwith the contents ‘options snd-hda-intel model= mute-led-gpio’ makes the mute LED work as expected for this laptop. To my understanding, the patch below should configure the corresponding quirk. I have tested the patch on the HP ZBook Studio G4 laptop in fedora, which made the mute led work without the file mentioned above.
Quoted 8 lines
Thank you for reading this far. Please let me know if you can help, or what the next step would be.
Best regards,
Anton(the patch is also added as an attachment, in case the email messed with the formatting.)
OK, now I submitted the proper patch. Will be included likely in the next 6.20 / 7.0 rc1.
thanks,
Takashi