Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp992330rwb; Thu, 4 Aug 2022 15:08:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR5y5DX7lBm6G2fT4cXDYfYG9mMterFRxynM/0xEnLAFhqLka+HfAgECxnvrrboOrkxb6WSL X-Received: by 2002:a17:907:2cd1:b0:730:65c9:4c18 with SMTP id hg17-20020a1709072cd100b0073065c94c18mr2929020ejc.324.1659650892646; Thu, 04 Aug 2022 15:08:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659650892; cv=none; d=google.com; s=arc-20160816; b=AFprslC9d+LULneVh/kgkJfBPJosfB46WZHSh7cMAPofrj3VM74cM0KUujBH+g/t7D 5PFm3ohH38fYzUoe65WY6ctaMW5+8AUH+IekFbM4vytZgnZ9D23g2IQ0lKa49XsqrtBj w3Kc5PBCP9uO3LEbsUgLUsqMd3KD8EhQTdnfpJobcbe76HpRdc/A+pHrGIEn0NkndOO3 Y5EGSmZLAuULaAGIeQBtJ5NXU8cD7PAeFBfSaonNHve7OOaxVGRN7+hboNw+vVNkeEw9 cAArgYL+hH27Yaqma1B5Feu2svoQN9o6Fuv5l9m9epSakEThYs7QAui3n8dDKJUu5k4y uK5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:reply-to:cc :from:to:dkim-signature:date; bh=y4kH6rqMb1GQXexTQtqvrxt2lPMXsfbG1mA+tOI739c=; b=LdR2059rtALnffqhcdEe2ZxPmw/72bHVGN1XE2HtbV9eCZHewhDr8le+sclNit0ttR mi4e0FT5OGnus1XOBxuagDH/Mm9fNN2FMEB5FuVfiBkwpQN7wn5vAjAo4yrolL0Zy86D gQrzDNu9qdtMjuet14b8IlK+81iycxiYKPtu70zr8Vy+Oc3lNfpLnGf9NSH6+/j92h1h ZezpnHQ5GawsOKGoPTS5hZiD7vp/3iMhYAhSEDCR4ic4h8s9iqdenW1BQ5TWJ8AIcx2b 7eE7nJwXmtrlo+Kr8gyaHyAfNkwlZXmaMBt/F7+b/YYM38Xn5dZNgJvesg+WG7J/aqD0 uJ6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=wM9wd65T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs7-20020a1709072d0700b0072b474f829dsi2124739ejc.970.2022.08.04.15.07.29; Thu, 04 Aug 2022 15:08:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=wM9wd65T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239523AbiHDVyE (ORCPT + 99 others); Thu, 4 Aug 2022 17:54:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239733AbiHDVxy (ORCPT ); Thu, 4 Aug 2022 17:53:54 -0400 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 126F318342 for ; Thu, 4 Aug 2022 14:53:52 -0700 (PDT) Date: Thu, 04 Aug 2022 21:53:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1659650027; x=1659909227; bh=y4kH6rqMb1GQXexTQtqvrxt2lPMXsfbG1mA+tOI739c=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=wM9wd65TfEblAUDKRbzgTQvO3TV4GZxemmJjMEH1Cz5y6ECqepuDQVdgMESpvifyD gXshbM8wh7P1p8UYqRv4Nfrn8H8oWCpz+3Q8CC2pq5GzOk5k2hDvZa9vLMpfOmwwIo oIwmG5SazSMYhH9bMc/HXXwlSPLB3TXZd5d/ZrXrrYPmMGQw0bzwPsekUq4zrOrPDo roHQ8fQpjRKH+jGseZqZej5DRHia1fXKlhrTcEQlE+biBtQWbH0EsiWi+pyu+kzD10 ZzHKO6wob5s/R676oDfF4AmVU7tyHtgHcLSkdr7UwgwYHZColKGUOCDV/w2Th+Xwdz rPELh2wEWCY1g== To: Hans de Goede From: =?utf-8?Q?Barnab=C3=A1s_P=C5=91cze?= Cc: "Luke D. Jones" , markgross@kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: =?utf-8?Q?Barnab=C3=A1s_P=C5=91cze?= Subject: Re: [PATCH v2 1/1] asus-wmi: Add support for TUF laptop keyboard states Message-ID: In-Reply-To: References: <20220803231331.48788-1-luke@ljones.dev> <20220803231331.48788-2-luke@ljones.dev> Feedback-ID: 20568564:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hans 2022. augusztus 4., cs=C3=BCt=C3=B6rt=C3=B6k 15:22 keltez=C3=A9ssel, Hans d= e Goede =C3=ADrta: > [...] > Please make this an extra attribute for the led_class_device, > you can do this by adding this attribute to a separate > attribute_group, lets say e.g. "tuf_rgb_attributes" and then > in the "[PATCH] asus-wmi: Add support for TUF laptop keyboard RGB" > code add: > > =09mc_cdev->led_cdev.groups =3D tuf_rgb_attributes; > > and then the "tuf_krgb_state" file should show up as: > /sys/class/leds/asus::multicolour/tuf_krgb_state I am not sure this will work because `led_classdev_multicolor_register_ext(= )` overrides the embedded LED device's `led_classdev::groups` with `led_multicolor_groups` to provide the multi-color functionality before calling `led_classdev_register_ext()`. > [...] Regards, Barnab=C3=A1s P=C5=91cze