Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1185754rdg; Fri, 13 Oct 2023 12:56:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFbLBlMyMV4TfhPD60Nvwjm+s716HuawokSKWehuhQfc8e0+3JMh7pibRms8ohS+PQCwZoL X-Received: by 2002:a05:6870:59:b0:1ea:38:8e34 with SMTP id 25-20020a056870005900b001ea00388e34mr770168oaz.17.1697227009628; Fri, 13 Oct 2023 12:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697227009; cv=none; d=google.com; s=arc-20160816; b=c0rdA5bnOb2kSIdlzkJsgrNAXpSjRdDJYikeCMOYfMuxErOyjDOIdeZ5UA4L+zOggZ cWtJ8xXxMpNG6W7GhTFNKWb2PfFWvMmbRT8OzUxx7s1+A+zOiDf830UBGo0HG6lu8Y+q NJo3V2hcllVDtdpe8q+mO47STRADQ9rLXOaP3im1z4s6acrdm2pSCbTlO0F/U6WPJGzh j3Z6oF0BiVg9v4z9dd6hxCmxKh/eUHx6W/0Q66VJT9aU6pxaee17mjLttSESq/HQg4EA +XdQn4QXNIf1G7vC0P+aoy+cOkCJmX9HjDC/9JjrvK+nEMwr+Ce1NU0+60Gi8c9MVkzz VUHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Jq/F5+J9wLO4vOEhN66CaFJA8HdsP3GorB/oM4sdsIk=; fh=rVD+L7G/djK4/RIQXIYlBQIcDRf0jzr68q9S5udQeTA=; b=gUaDtpIpPRHPFSptchnuumPcQQeiVkVHS8oaewQWU9izAcIOaO9LwnpKSf/i3Hvtsi VyL5kNRFCqpdG1BPAhEu63M9l4kpCsBjvqoQM3dZI0oudtVbPQYjaCbL2wOkcnKKz7Yi PtPsEgDfFe3M6X/AJjS2vnzscLswvk5eSdJpB1VU0uQzyg3yc5IEP7h8nceyySfRulcu TnlCypQgEHW7nUrEANerKDGSjAwUk1HLm1+wEP4wZAzLMAGNvxqSnFMy07l1ceZ2WAIC 5/z58d3DRMHGDTGZgUCuw7kNJG13bc/d8khIc990KSjjVfdOuyfywNgVaCorla+lNFLu Ui+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=NmBrcN46; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bv187-20020a632ec4000000b005acb3613baasi1518575pgb.88.2023.10.13.12.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 12:56:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=NmBrcN46; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3913A8025DCC; Fri, 13 Oct 2023 12:56:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231847AbjJMT40 (ORCPT + 99 others); Fri, 13 Oct 2023 15:56:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231596AbjJMT4Y (ORCPT ); Fri, 13 Oct 2023 15:56:24 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3244195; Fri, 13 Oct 2023 12:56:21 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 09C301C0050; Fri, 13 Oct 2023 21:56:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1697226979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Jq/F5+J9wLO4vOEhN66CaFJA8HdsP3GorB/oM4sdsIk=; b=NmBrcN46bAlqAc8k37gS9CZrPYzsUOwBg8fUDhRwlNDqgS5VquJq2CY4yjOylgR3A4vz9l 70V6+FXAp1jm0a2SpCNbYeY0QedxzxEF9hRgRMglLN6A/ryHq7p6V/LEEqAM+SYxLFcb0T 8YwyenZY1bnk6O3EP/GZ39yZd0sA6kM= Date: Fri, 13 Oct 2023 21:56:18 +0200 From: Pavel Machek To: Werner Sembach Cc: ojeda@kernel.org, Lee Jones , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-input@vger.kernel.org, "dri-devel@lists.freedesktop.org" Subject: Re: Implement per-key keyboard backlight as auxdisplay? Message-ID: References: <20231011190017.1230898-1-wse@tuxedocomputers.com> <0440ed38-c53b-4aa1-8899-969e5193cfef@tuxedocomputers.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="N7n33QpGAkTgmfyU" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 13 Oct 2023 12:56:47 -0700 (PDT) --N7n33QpGAkTgmfyU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > coming from the leds mailing list I'm writing with Pavel how to best hand= le > per-key RGB keyboards. >=20 > His suggestion was that it could be implemented as an aux display, but he > also suggested that I ask first if this fits. Thanks for doing this. > The specific keyboard RGB controller I want to implement takes 6*21 rgb > values. However not every one is actually mapped to a physical key. e.g. = the > bottom row needs less entries because of the space bar. Additionally the > keys are ofc not in a straight line from top to bottom. So... a bit of rationale. The keyboard does not really fit into the LED subsystem; LEDs are expected to be independent ("hdd led") and not a matrix of them. We do see various strange displays these days -- they commonly have rounded corners and holes in them. I'm not sure how that's currently supported, but I believe it is reasonable to view keyboard as a display with slightly weird placing of pixels. Plus, I'd really like to play tetris on one of those :-). So, would presenting them as auxdisplay be acceptable? Or are there better options? Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --N7n33QpGAkTgmfyU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZSmg4gAKCRAw5/Bqldv6 8vs1AJ9BZjtk1gkmyD0cS+oSxeJwzwcjKwCdGTjWT+VUCWYHDh3v+eArFhOO+go= =OCDY -----END PGP SIGNATURE----- --N7n33QpGAkTgmfyU--