Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4792601iob; Mon, 9 May 2022 01:34:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDWzgJ6CuIXAQKKTfSD3DRrvSYdPR4NVAo12ZbWSjw4fr3pYRBzGsILgA8WzBIcMAErqbk X-Received: by 2002:a62:a516:0:b0:505:722e:15d5 with SMTP id v22-20020a62a516000000b00505722e15d5mr15200170pfm.52.1652085287278; Mon, 09 May 2022 01:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652085287; cv=none; d=google.com; s=arc-20160816; b=a4EjtVc2CIQPFiNQ/CZZq/xxH5dBHvJuFFkyn5O8zJyj4Tg1PLKNvTj+44wRbuMcy5 4K5eel3s6fsrlW6IMFb5wYa+TV+z5JCEI5XimRlWC98LP5dGCoxTtOPzXyesHPp0pHGL KUwTCL0yYgIxY0mFMVk8YpXBPVhn+v9UULoAZw033x2nQ7zzlsPkToTIwPSZplMYPzFo BqgnZU8N1aTFaUwXT2TUEHnPulGC5ic0H7Q+UMw/C6twp+OL3hMSqZq7M4fE6YrjEeEi LOljm+3XvXwuWR9QF3Nq5zVikmEdJDtolEMq5hyojsgNFhIKIPbr+CypGPZlPq9SwY0J IeHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=x1ohSXZdWOa52mICJb/oVz4qAlbnS54V99HnNkLFotM=; b=UnVrBNqCDfA3j4MHJzk20NHCRePthsDOmIFPvmYXUORRdWx9wzqv95SL2T7EzWEBi0 jr3y0NYf+5CQYM0ES/oDdoxKVYtIxmw1fmjFRzBtVun00eSmWfyn1cw6MW5Y4LYOQjSH U6/8Z7XQJ4mcLb1mNDvH878pcWRKSAec2DY0xCB6wzTpLzMGyt5dteORcJNcM+zqwOQ3 tWBIOZK4NP+VUnzwu+gHcvvQq1e+QSajH3jzB3/oGYpE16KIn0lEtOTfHRQl8Kh12Cvn 2WGRoH1Q9Qu947uQuZV6N1XTQB6cuaeHo6NFhye4IAkjeGbUTP/tEW+twusG9gehXPvd yRpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d22-20020a17090ad99600b001d1da760127si12049993pjv.57.2022.05.09.01.34.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 01:34:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 11C081A90D9; Mon, 9 May 2022 01:17:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245500AbiEEIdq (ORCPT + 99 others); Thu, 5 May 2022 04:33:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344233AbiEEIdo (ORCPT ); Thu, 5 May 2022 04:33:44 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 413C0488AC; Thu, 5 May 2022 01:29:58 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 0A1071C0BA6; Thu, 5 May 2022 10:29:57 +0200 (CEST) Date: Thu, 5 May 2022 10:29:56 +0200 From: Pavel Machek To: Manuel =?iso-8859-1?Q?Sch=F6nlaub?= Cc: Bastien Nocera , Filipe =?iso-8859-1?Q?La=EDns?= , jikos@kernel.org, benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: logitech-hidpp: support Color LED feature (8071). Message-ID: <20220505082956.GB14065@duo.ucw.cz> References: <275245e8048fa124055d9ff3d10ce6562294483a.camel@riseup.net> <5b842bd4f8d17e5ecb8e7972637dbe7ad50060ac.camel@hadess.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZoaI/ZTpAVc4A5k6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 --ZoaI/ZTpAVc4A5k6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Yeah the SetBrightness in systemd / logind should work out of box. >=20 > Though I just noticed something: For this to be useful, the default > multi_intensity for each component of the multicolor LED in the kernel sh= ould be set to > max_brightness, effectively producing white (on RGB LEDs at least). Agreed we should have multi_intensity set to something nonzero. Note that max on all channels may not result in white. > Now there are three solutions: >=20 > 1) Naming the Logitech LEDs :rgb:kbd_backlight-N even on mice > and at some point send a patch to systemd adapting the udev rules to > care for devices with nuemrical suffixes. >=20 > 2) Naming the LEDs :rgb:backlight-N and send a patch to systemd > adding a new udev rule to cater for backlight LEDs in general. If it is known to be mouse, use mouse_backlight or something like that. Just document it so that others use same string. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --ZoaI/ZTpAVc4A5k6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYnOLBAAKCRAw5/Bqldv6 8il+AJ9edp4VRLJO5Wk6Es98eUiFbkB1uQCfd9nOb4SI6MQNXEH6mcwK2y4zygM= =kRHT -----END PGP SIGNATURE----- --ZoaI/ZTpAVc4A5k6--