Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1015184rdg; Fri, 13 Oct 2023 07:54:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1qDnC8JZr0nMWiUxpG05DtskooMC1un2P3ARWjYNteFX6pmcwoKQJpUSyDi3iTTOkQO2/ X-Received: by 2002:a05:6830:1502:b0:6bf:1f5f:ed18 with SMTP id k2-20020a056830150200b006bf1f5fed18mr26817702otp.1.1697208896528; Fri, 13 Oct 2023 07:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697208896; cv=none; d=google.com; s=arc-20160816; b=HkU/vL1/pN87iCEOvq8MBTKoQhqOFPFsrPcxj8BBPqU5TjS+Jc34uR40Srm0Q/Hc7C 93u3qW0ZSlfZRuJls7Bhvw6byKMXQMRzJpo4xsmT93DLlIFkcniZo115p3EGhMzPSGiO oU1ENAvz3dob3L2dkuEPe3WAn2v7a5/+dOjnit38/5D0KJcF8JTykWCVT5SCqJU8Cukp sNh9f9yDpY7lHDI9P3FK0rtzx2BXGrPf3a2KZfxVmze0rcb3eqntzfBXxdGfyrDl+tdh 1o+YMK8nxL3vUS900f6FzNJEiToRaDVZoH5+Ssv52xzTQ66+H4zzkdoh+0tw5Nk9kPiQ WVFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YUgetVycmc11Sy23hS1geccFjAg3uLc1PoJalbYEo1A=; fh=khXCNKqmxJYFu5ll4ry95s5pTXvygEMChaFxD1fxvJM=; b=00MjVDagIPla87tfgi/FZBKKXsnAfZ1MN87iCWk3COTv7P23RZgnqFzJetImHVy3Ja 9L/rtjBYvjjagGlxbbsizwLbep3+rT+vHclOX95Diu9n5Yb9m/WINxHDkFMvfEsN5tNG k1j6FsOaxECEkvNGyHPMaNXnUHHWZUBSZa2oNYpSnmcb/trIO+1cRSNpJyvMGV/aKVYN /9BIesnKAt7zE2tolc3oVqZii/0QODI4dB+sl3SdbRFTXpSrmnECnPPSjrhmLFmhsfPU UGdfDqDrNyfQ4PIue3/R6H/LAWZIbSdVIQz2vgaqiyHG2RQZRSTqfAzteU6jopXeaO4Y dy8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=J8AgwRiW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id p12-20020a056a000b4c00b0069022a03d42si18056004pfo.283.2023.10.13.07.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 07:54:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=J8AgwRiW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 49D26801DB34; Fri, 13 Oct 2023 07:54:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231913AbjJMOyp (ORCPT + 99 others); Fri, 13 Oct 2023 10:54:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbjJMOyo (ORCPT ); Fri, 13 Oct 2023 10:54:44 -0400 Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B88ABE; Fri, 13 Oct 2023 07:54:42 -0700 (PDT) Received: from [10.6.0.9] (host-88-217-226-44.customer.m-online.net [88.217.226.44]) (Authenticated sender: wse@tuxedocomputers.com) by mail.tuxedocomputers.com (Postfix) with ESMTPSA id 2E6502FC0052; Fri, 13 Oct 2023 16:54:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1697208880; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YUgetVycmc11Sy23hS1geccFjAg3uLc1PoJalbYEo1A=; b=J8AgwRiWLaST6rVU1SVH02DPcyjEHDLQmnv1X7wYEohahPt5H29XeiEg3p1zW4epN/5lA8 38a2KpVUTqkiQTDFKHGdAXklNOvFXvojESrGFHqYNsqVMyrHokFyjBYqNsvqnsY9gBUm0j jJVGg9wR/zr874sLYF/SRnmHAmoTv9g= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com Message-ID: Date: Fri, 13 Oct 2023 16:54:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Implement per-key keyboard backlight as auxdisplay? Content-Language: en-US To: Pavel Machek , ojeda@kernel.org Cc: Lee Jones , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-input@vger.kernel.org, "dri-devel@lists.freedesktop.org" References: <20231011190017.1230898-1-wse@tuxedocomputers.com> <0440ed38-c53b-4aa1-8899-969e5193cfef@tuxedocomputers.com> From: Werner Sembach In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 13 Oct 2023 07:54:54 -0700 (PDT) Hi, coming from the leds mailing list I'm writing with Pavel how to best handle per-key RGB keyboards. His suggestion was that it could be implemented as an aux display, but he also suggested that I ask first if this fits. 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. Best regards, Werner