Received: from mail-qk2-f12.google.com (mail-qk2-f12.google.com [74.125.230.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC65347F2F7 for ; Mon, 14 Sep 2026 14:25:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.230.204 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789395949; cv=none; b=WrDKunUPybgIwDpyEvvDgA3QNu4njC40c1RD0ARRlabd4iczVPtlYRVpWi3NEGEf91K9xuHDvXEza0XCZEOSLUQhwo5Lm8zLcSuskDcQs+Chel0zVk3zyVSbjfJW8ltylms/UjZcf9jjEK1Xv4vtcBpVMWh+ep4LzEboCRR3n8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789395949; c=relaxed/simple; bh=SJoqlyInyStrJCU2+zHZO+u2KZadNybdgojKIBIcG3Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Gp2znZNbV8CTer90N+ffrojOUeUZPs8f0e4Z9VJIyeHFkA9H6WdhxsXaNGndPnVD7Pazq6a+1M35MOnb02+PjuzQUluF0h4eqpf2yzdFD/yjYYh/jxr2PDtZFn1+HmsdEc7X15n+sEkyDuwWLdhSbyNHncA8EDzqHztjWGIZI2I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=chxmp8Fg; arc=none smtp.client-ip=74.125.230.204 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="chxmp8Fg" Received: by mail-qk2-f12.google.com with SMTP id af79cd13be357-93a0fd41a7bso181723085a.1 for ; Mon, 14 Sep 2026 07:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789395946; x=1790000746; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=9cbrUuOFw3Wqx9C1cf5Ffbk+aqnpZB5D5lULOB4WppM=; b=chxmp8Fgu7QNVvLEJp6GuGL5I3YGETf/FLseZCzBbSyvxWgCJwEcavla+0t1RfSZiZ LUMorVGpKkQnyvz+Ic5gsUiU8OWay6b15ocp4WlOLHy3JUpJr3Xm8YlaXLLM6j9Dh5GO YDw4OgXyp9hNKuuPvOOmn04yzndf2/2ikc0ZQ6TI0SeKo0UO/oq5v5er1sk4Sunkt1Dy 83fCdWmTSnDMowhOQwmpiUnWP1y1OODYZHyF7LYB8V8UCp8VS92OHAmcdsmWkZUZQ9nF TMQVe/GjK6P8e7xUujD+BbQchRySPp9HvzOpiO033rpcVRW8/DPtZM64cjsKXsXA9uSg pkfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789395946; x=1790000746; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=9cbrUuOFw3Wqx9C1cf5Ffbk+aqnpZB5D5lULOB4WppM=; b=aZwSfV3WbNWeLlvlqrQpsdW6S/oIQ5I+n+3BQ5JwuQlGBbPGdUSyW8dE73s2FLzgUV 56ftcZA9jep7dBamhQA7R19FjMguqdDJWo8QQM89s2+PrFZEQqfe7VGx5VNH67j2pFMp PQ1UvTUhKM2ROKa6HDWaHUhAqEajJhfmE6HGF9FtAPFfMiKTETKABjDs15Vs2Cm/aP+S gBk6CNMfHyIHigFqfipe30iKASCK633lUE/DqV39DLzkxyuSm5aL6ubK0ZIIwxUJIqEh 9/3Vzm46gpft5E1kyE7dTOxS4WJ25kChK0yhYkUcALtN7Lsr2hywlQC8TuDH82xmnOTI Gzyg== X-Forwarded-Encrypted: i=1; AKwUvBzoV4+FqKVY8/IfVOp+skboNvy2ze51UJB3CEuQCUX/E2msgxkDN2/KAc2N3TX5zKf33dykHqsiUmeH4Q==@vger.kernel.org X-Gm-Message-State: AFuF++lzrjXzv6G1ODHOHUYxd+jJYMsS4s6nIDe6b9yNgXrRcO/jaRqI MOhCwq3q/hLEPBDwyfbjA/6FZRk67LV6WIQgZ9hWoUMO+XUM55nIljZL X-Gm-Gg: AYBFou0VkiWq1dxOYZ6P5d6WhDEnFgBd97X7So3+khcJPRVZsR/TjiG5uWYwaVoG26f dmr4NggvQrr6ByxKYveju1Epkc8aPhLJGR/TFwP0sQXfJpNa6vuh/Omot1WqqBECDVY4FfWqPSY +ZHWkjXyiQfEAnvmJNjncyixoYZ5gmFmE50dZfnubCg4X3/E6sOZbC68DT3xoqZCMpmWhaSV8Uc 3+khr5V9r7VUzghE71mpWqthPBBXuujpIAuf0PkuMjDgbE85M8HYbo5VtdBtoPSZexmSdvv7Q2Z 7EKqauQfAr9CxrSgTotH7ppWdmbwtXYADV1MHnB2hr9TeQ2K8FVpTtBYYUFxU8GuEhJ6JjCh4KR om3LalDUktPiFCK6nyaRoM52fptyxwJWydzwEL2UZFSQflB3D/HmWsZ47XFP0lukkkbTua4ZAZ1 Cg731v1Outrs3uGjs0ACR7k17lsFdZhJiPip0PmaCUCDmDHqWyv5znWTY7ZfOqR+RKuV2j+g== X-Received: by 2002:a05:620a:4889:b0:934:ab73:ac53 with SMTP id af79cd13be357-93a294bf61cmr424902385a.0.1789395946075; Mon, 14 Sep 2026 07:25:46 -0700 (PDT) Received: from omnibook ([2600:1002:b1ae:f93e:a20e:364b:d6a6:92a9]) by smtp.gmail.com with ESMTPSA id af79cd13be357-939ecea9f35sm934237985a.7.2026.09.14.07.25.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2026 07:25:45 -0700 (PDT) From: Jaeho Cho To: Takashi Iwai Cc: Jaeho Cho , Jaroslav Kysela , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek: Enable mute LEDs on HP OmniBook 7 17-dc0xxx Date: Mon, 14 Sep 2026 10:24:42 -0400 Message-ID: <20260914142445.3476212-1-jaeho2025@gmail.com> X-Mailer: git-send-email 2.55.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 The HP OmniBook 7 Laptop 17-dc0xxx (SSID 103c:8d9c) has mute and mic-mute LEDs on its F6 and F9 keys, but neither lights up. Its quirk entry only sets up the two CS35L41 amplifiers, so no LED control is registered for either key. Writing to the ALC245 by hand with hda-verb, the mute LED responds to COEF 0x0b bits 2-3 and the mic-mute LED to GPIO 0x04, lit when the pin is low. That appears to match what ALC245_FIXUP_HP_X360_MUTE_LEDS already does, so add a fixup that chains the two-amp I2C setup to it and use it for this model. Tested on 7.2.4 with the patched module: hda::mute and hda::micmute are registered, and both LEDs follow the speaker and microphone mute state, including from the F6 and F9 keys. Signed-off-by: Jaeho Cho --- Hi Takashi, I found the LED wiring by trial and error rather than from any HP or Realtek documentation, so there may be details I am missing. A few things I was unsure about: - Setting COEF 0x35 bit 6 also lit the mic-mute LED. I went with GPIO 0x04 because it matches the existing HP fixups, but I do not know which one HP's own driver uses, or whether it matters. - The sibling models 8d9b ("OmniBook 7 UMA") and 8d9d/8d9e ("OmniBook X") probably share this board, but I only have the 8d9c to test on, so I left them unchanged. I am happy to revise anything that should be done differently. Thank you for your time, and for maintaining this driver. Jaeho sound/hda/codecs/realtek/alc269.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c index 8f55c3c..9cdfa19 100644 --- a/sound/hda/codecs/realtek/alc269.c +++ b/sound/hda/codecs/realtek/alc269.c @@ -4318,6 +4318,7 @@ enum { ALC287_FIXUP_LEGION_16ACHG6, ALC287_FIXUP_CS35L41_I2C_2, ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED, + ALC287_FIXUP_CS35L41_I2C_2_HP_MUTE_LEDS, ALC287_FIXUP_CS35L41_I2C_4, ALC245_FIXUP_CS35L41_SPI_1, ALC245_FIXUP_CS35L41_SPI_2, @@ -6627,6 +6628,12 @@ static const struct hda_fixup alc269_fixups[] = { .chained = true, .chain_id = ALC285_FIXUP_HP_MUTE_LED, }, + [ALC287_FIXUP_CS35L41_I2C_2_HP_MUTE_LEDS] = { + .type = HDA_FIXUP_FUNC, + .v.func = cs35l41_fixup_i2c_two, + .chained = true, + .chain_id = ALC245_FIXUP_HP_X360_MUTE_LEDS, + }, [ALC287_FIXUP_CS35L41_I2C_4] = { .type = HDA_FIXUP_FUNC, .v.func = cs35l41_fixup_i2c_four, @@ -7671,7 +7678,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8d92, "HP ZBook Firefly 16 G12", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8dcd, "HP Victus 15-fa2xxx", ALC245_FIXUP_HP_MUTE_LED_COEFBIT), SND_PCI_QUIRK(0x103c, 0x8d9b, "HP 17 Turbine OmniBook 7 UMA", ALC287_FIXUP_CS35L41_I2C_2), - SND_PCI_QUIRK(0x103c, 0x8d9c, "HP 17 Turbine OmniBook 7 DIS", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x103c, 0x8d9c, "HP 17 Turbine OmniBook 7 DIS", ALC287_FIXUP_CS35L41_I2C_2_HP_MUTE_LEDS), SND_PCI_QUIRK(0x103c, 0x8d9d, "HP 17 Turbine OmniBook X UMA", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x8d9e, "HP 17 Turbine OmniBook X DIS", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x8d9f, "HP 14 Cadet (x360)", ALC287_FIXUP_CS35L41_I2C_2), -- 2.55.0