Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1189744rdg; Fri, 13 Oct 2023 13:03:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5SRA5tcRM8L8RgbNJdd4qiBaeCuOWeI1/Aqejx3s8GYTVEcAUPuBIJ6RO+Q45phlpf+nD X-Received: by 2002:a62:f210:0:b0:6b1:bf32:4fc3 with SMTP id m16-20020a62f210000000b006b1bf324fc3mr2409557pfh.19.1697227396142; Fri, 13 Oct 2023 13:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697227396; cv=none; d=google.com; s=arc-20160816; b=VZDTRIzq8VSrfkLzalqyjcvxuS0J6zh6xtoL+aeQlYhvZsqvLeSJacn+WC/3t6RcoL eP8RW+WvKxO4w8/iZkLENbUuXjwmt+uzHx3SEjStGhVKgMtShs6ZP3DhrLXiKtvPn51u Vcg1cOnUKnl4o68twBJXf23UlByTRCcb3P7OnnJBPgmQ1T4UceG30uf6sb+r2o3F6ADf XnYi/4mg0FozVS0dn0i3I62vJYYni53CWt0A0Fru4yh3E7PrCrQWZP0FNtR5RFtp+6kZ LU2aJDV40ZyQPL4h2TBQTOTCVYkbOnaJCXv0Xq7mvq6DrwQue27h/WiGc8/6CpEpH8Ub 2GYw== 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=v9IjOJlh+NOlawd305vpof4MMBTGRJ5ONp9S38ZFw1c=; fh=rVD+L7G/djK4/RIQXIYlBQIcDRf0jzr68q9S5udQeTA=; b=rkRXCLQp7i2S+doOMyUUOpjyTvwHfFhqsCVvX52HZcvitd+Gx7ZLmNjKaFH+hAgoXp fT5C160o6wCnD9cFilJgndkKxLifNNPpTXZmf6/1ngoHpl+r1GnVlr5oi+LJD2ZR2m1i 4dJ+Hw0nRJRQXm4LP0Mb7tbdDeFqriNC13KeFFxzGCVrwIWEM1wvZ1yJmzw9zPyyOZGu 2qWPRxX5PR7QSZE+XW7PuefqBGwwfP8B8cMzYVaLz2I/x2NWYRYqtbzA16D5utOBh6Wo mMvQ0fYoJHvkI81wjDh+cGh1jUUhCXmbbxnoHu5JLoNYntsF2b7lpV1gLe38gd0oFdNL eU9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=LTVA2vMP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id fd20-20020a056a002e9400b006933e57dde4si18376738pfb.0.2023.10.13.13.03.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 13:03:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=LTVA2vMP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id A3981809729E; Fri, 13 Oct 2023 13:03:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231939AbjJMUDG (ORCPT + 99 others); Fri, 13 Oct 2023 16:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231846AbjJMUDF (ORCPT ); Fri, 13 Oct 2023 16:03:05 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 514A5C0; Fri, 13 Oct 2023 13:03:03 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 144C11C0065; Fri, 13 Oct 2023 22:03:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1697227382; 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=v9IjOJlh+NOlawd305vpof4MMBTGRJ5ONp9S38ZFw1c=; b=LTVA2vMPDHy6f9X2wvaF0rXijKZtYNyIjqpLGCUmd5mR2C9PgaZvthJhljP4xJaxbljL+o /LfA9tInl3ITndc8sEonRvdvh2i+lYudbFBS+3nLq6cyqCTTRtNp4iHxVUCdUdBAB1L4wx ekJ7ejGxo1D0JcHvYd7/swG8suifaWA= Date: Fri, 13 Oct 2023 22:03:01 +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="96GhfOL9JQ93T59f" 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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 13 Oct 2023 13:03:13 -0700 (PDT) --96GhfOL9JQ93T59f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > 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= =2E 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. >=20 > 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. >=20 > 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. >=20 > Plus, I'd really like to play tetris on one of those :-). >=20 > So, would presenting them as auxdisplay be acceptable? Or are there > better options? Oh and... My existing keyboard membrane-based Chicony, and it is from time when PS/2 was still in wide use. I am slowly looking for a new keyboard. If you know of one with nice mechanical switches, RGB backlight with known protocol, and hopefully easily available in Czech republic, let me know. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --96GhfOL9JQ93T59f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZSmidQAKCRAw5/Bqldv6 8qQ2AKCBGTKHxfVPIxGuMChs0D4oO1LDGwCfakWEaV9v+/Ut+yVuwzG27YC/Yqg= =mzp6 -----END PGP SIGNATURE----- --96GhfOL9JQ93T59f--