From patchwork Mon Feb 19 16:38:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Peter X-Patchwork-Id: 13562901 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 AFC4A23B9; Mon, 19 Feb 2024 16:45:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.19 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708361139; cv=none; b=sEr3+19qZFOQdr/+lrqlvl5jpMbOqU43T7ANWgMQmApUJxNIcz0TpPa3s4091chWCHyqy2nWzaiw71Dli3YOkZKaZ5E7J7hg8zcLc4bojF5Pasib4eRjrn8FgWC1pnEvakNmjvy2K5x8q+jaJGbivSAyPL66vhdRAJpKxiV3rVE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708361139; c=relaxed/simple; bh=RgXJPggqNh6tAcIkHk12m5lmoiPOLzaukfcYgsksZ1A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HfdU+dJgkPwnATDam0VleAmSfvm9Xogi1R08Uby/nORHCxx/74vI++kgTsp1m6HNql/q/uWvbDjCEtqn2UyANyoKm9Or1mZPmmqWpFf2D+2ygJQOkQZd+I4jwGRGDnpMRwK+IRKjbO699M8yfelGWn75flSyYtBBFtvxhqN5yo0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.ch; spf=pass smtp.mailfrom=gmx.ch; dkim=pass (2048-bit key) header.d=gmx.ch header.i=flurry123@gmx.ch header.b=AuWU4DoH; arc=none smtp.client-ip=212.227.15.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.ch header.i=flurry123@gmx.ch header.b="AuWU4DoH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.ch; s=s31663417; t=1708361133; x=1708965933; i=flurry123@gmx.ch; bh=RgXJPggqNh6tAcIkHk12m5lmoiPOLzaukfcYgsksZ1A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=AuWU4DoHemp50Dy/ciMHHwaZwxg+v1N7CRVYXsMn9b1tA533ymz5uJI/1pWBbdsU TE+hdzzi9u3rQU+HWfGs3NXlCYyhYn7XJqm1v/gSOruUnAPe6zE9gYh7I7MExyjWI 7pPwvnc1wNllq78gm2SYdGJdTDbYwFVJDa0XoExabvdCLxN+kT/4vUYwQvu1omFpP tazQAJV8JCgsxPQnZ9uELN2P0X31pcVl8ObM206x2udtZJ6JTuyAeEeJqv6n6HufV 9k5GxffCFXNzLeNYLsJzsg9TgBzMqFWiowL43CCf2P6tdRJVK9tN7LBADLB1J+n/L rjnKBvb/DWTi58RLaQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from void.speedport.ip ([84.155.142.60]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MYvcA-1rP1tV2sRU-00UtPz; Mon, 19 Feb 2024 17:45:33 +0100 From: Hans Peter To: tiwai@suse.de Cc: flurry123@gmx.ch, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, tiwai@suse.com Subject: [PATCH v2] ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8) Date: Mon, 19 Feb 2024 17:38:49 +0100 Message-ID: <20240219164518.4099-1-flurry123@gmx.ch> X-Mailer: git-send-email 2.43.2 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Provags-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iTlpLfm0evkYh+5Kq7fISRAo79yUijyuK5a z0+W97Kxm/7ZHLjLaGEoU0eEmmRSURKd7oqrIABoNe3bk= On my EliteBook 840 G8 Notebook PC (ProdId 5S7R6EC#ABD; built 2022 for german market) the Mute LED is always on. The mute button itself works as expected. alsa-info.sh shows a different subsystem-id 0x8ab9 for Realtek ALC285 Codec, thus the existing quirks for HP 840 G8 don't work. Therefore, add a new quirk for this type of EliteBook. Signed-off-by: Hans Peter --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) -- 2.43.2 diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 0ec1312bffd5..26a90c92c3b8 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9927,6 +9927,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8aa3, "HP ProBook 450 G9 (MB 8AA1)", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8aa8, "HP EliteBook 640 G9 (MB 8AA6)", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8aab, "HP EliteBook 650 G9 (MB 8AA9)", ALC236_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8ab9, "HP EliteBook 840 G8 (MB 8AB8)", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8abb, "HP ZBook Firefly 14 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8ad1, "HP EliteBook 840 14 inch G9 Notebook PC", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8ad2, "HP EliteBook 860 16 inch G9 Notebook PC", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),