From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from e3i282.smtp2go.com (e3i282.smtp2go.com [158.120.85.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A1E11F8AF8 for ; Sat, 7 Jun 2025 11:06:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=158.120.85.26 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749294386; cv=none; b=J4nuI3VCor6hT2dLaiQ8nJnjyc9/jBah7l2u3M2kyXv8raQnyHq/jC6a9tksBla4nS4XWXjLIBwTLDDRXLAGyf8dn/QXR8Vr8RqEqYSoylWSIvvZ+q8qnu/+tZyHMgEMCE9K5KRHVIAOBmOnAZoNDgv3/tmMlr3YUeiPwsQI52Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749294386; c=relaxed/simple; bh=nX74YXxYtHkzOexVkzDImxaKm+7hvrwPVrhY5bNpSrA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HWyBacckLZfCrpKIKe/s0YpfY9jAE5MBKSbeSRCyaysQyCC2aYH7i7dOMHxpKx/LsPtSrJYNZMFcc8Pf1hRroQvXpvVaUTrUU1j33tNKLtkh2n+24I0RvK7RMpJC1Cga9+8TtxsdigSC40GDBgC5mlBDOdnUIkAuNomQvtEu/1A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=medip.dev; spf=pass smtp.mailfrom=em1255854.medip.dev; dkim=pass (2048-bit key) header.d=smtpservice.net header.i=@smtpservice.net header.b=okE4rwim; dkim=pass (2048-bit key) header.d=medip.dev header.i=@medip.dev header.b=dGdJj2eG; arc=none smtp.client-ip=158.120.85.26 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=medip.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=em1255854.medip.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=smtpservice.net header.i=@smtpservice.net header.b="okE4rwim"; dkim=pass (2048-bit key) header.d=medip.dev header.i=@medip.dev header.b="dGdJj2eG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpservice.net; i=@smtpservice.net; q=dns/txt; s=a1-4; t=1749293473; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe : list-unsubscribe-post; bh=hOyF5qcsGk+wcyGuqz+JA3xcq8KlJ65GJ3VjxNyRqCA=; b=okE4rwimUkTSxKWkv40F1iBiPqBONr0r6YT7ShILj8PRWwbo7T92hkherWEY2rLgKJ458 P8xqWWYIBOgo21gJTL38SuxtlNfbh0meUry4Yr/dwc+qsRjZiqvSbbtPOfxw7NOLI7ImEnt R9wAXldJI2G0jVAuEaU7zXOrcPIgwLUTaP4PkF585BYNmSZ/IaDbCGFM8mJm57c001qLc6P OCKrQiUDo34+YeStcE3Yogu7kz276jwPOLuXd4C293v3X8/acpoNSi6aUAMVUxPQ+FwBXZ2 O47d+mtJ37zDvp+xogt6vcrjkqB4XTdsUihU8SPiA8Bn6HAPwlqn3m0lpctA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=medip.dev; i=@medip.dev; q=dns/txt; s=s1255854; t=1749293473; h=from : subject : to : message-id : date; bh=hOyF5qcsGk+wcyGuqz+JA3xcq8KlJ65GJ3VjxNyRqCA=; b=dGdJj2eG/MJx7H/w510qFTBQUbzb5oC0J9aTzHz9ghWaJKUx6GTrPfBAKH9XXUu38sjr8 XEbjlYXACtXKvb61nH6CvM+zYh3tstVUtKyxHs8uDAN1hnqRfQWk18mJtJuCLlEXXg+EAHB 1jhQo/y0VGLPAQrWv7nVigZsrFWkVQroW76/yzVtkKB5Q2m7mG97UCk9NxGTn3/XhKmYgDY ZeBy1c0eVh8eiK+5hQcg54gcIlzFOEK9LN+MbOHj8LgFnv/sOtldkhDe+MtQLTA/BfAAgk7 Mz6dCgstf1G7zM/qE0wvcD+NWdB47ZzApeg5A026e9qmcX6sIdTVx+oQXXYA== Received: from [10.152.250.198] (helo=localhost.localdomain) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97.1-S2G) (envelope-from ) id 1uNr8l-4o5NDgrtezB-jxvq; Sat, 07 Jun 2025 10:51:08 +0000 From: edip@medip.dev To: perex@perex.cz, tiwai@suse.com Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Edip Hazuri , stable@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek - Add mute LED support for HP Victus 16-s1xxx and HP Victus 15-fa1xxx Date: Sat, 7 Jun 2025 13:50:51 +0300 Message-ID: <20250607105051.41162-1-edip@medip.dev> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Report-Abuse: Please forward a copy of this message, including all headers, to Feedback-ID: 1255854m:1255854ay30w_v:1255854sdbwEFunTN X-smtpcorp-track: ODJL-t7mzb4u.aOIhObNX-FuL.GNMj9gxP_Wg From: Edip Hazuri The mute led on those laptops is using ALC245 but requires a quirk to work This patch enables the existing quirk for the devices. Tested on my Victus 16-s1011nt Laptop and my friend's Victus 15-fa1xxx. The LED behaviour works as intended. Cc: Signed-off-by: Edip Hazuri --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index cd0d7ba73..1e07da9c6 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10733,6 +10733,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8a0f, "HP Pavilion 14-ec1xxx", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8a20, "HP Laptop 15s-fq5xxx", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2), SND_PCI_QUIRK(0x103c, 0x8a25, "HP Victus 16-d1xxx (MB 8A25)", ALC245_FIXUP_HP_MUTE_LED_COEFBIT), + SND_PCI_QUIRK(0x103c, 0x8c9c, "HP Victus 16-s1xxx (MB 8C9C)", ALC245_FIXUP_HP_MUTE_LED_COEFBIT), SND_PCI_QUIRK(0x103c, 0x8a28, "HP Envy 13", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x8a29, "HP Envy 15", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x8a2a, "HP Envy 15", ALC287_FIXUP_CS35L41_I2C_2), @@ -10805,6 +10806,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8c16, "HP Spectre x360 2-in-1 Laptop 16-aa0xxx", ALC245_FIXUP_HP_SPECTRE_X360_16_AA0XXX), SND_PCI_QUIRK(0x103c, 0x8c17, "HP Spectre 16", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x8c21, "HP Pavilion Plus Laptop 14-ey0XXX", ALC245_FIXUP_HP_X360_MUTE_LEDS), + SND_PCI_QUIRK(0x103c, 0x8bc8, "HP Victus 15-fa1xxx", ALC245_FIXUP_HP_MUTE_LED_COEFBIT), SND_PCI_QUIRK(0x103c, 0x8c30, "HP Victus 15-fb1xxx", ALC245_FIXUP_HP_MUTE_LED_COEFBIT), SND_PCI_QUIRK(0x103c, 0x8c46, "HP EliteBook 830 G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8c47, "HP EliteBook 840 G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), -- 2.49.0