Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1005657rdg; Fri, 13 Oct 2023 07:39:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGqiw6ilQy9haw1fCiQUMTYYchvIBdoc8mk1Mv5o9hJk95op0Gqs4IfAIJOUgpWc46mxHYP X-Received: by 2002:a17:902:c94e:b0:1c7:245a:7fea with SMTP id i14-20020a170902c94e00b001c7245a7feamr36114739pla.58.1697207949321; Fri, 13 Oct 2023 07:39:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697207949; cv=none; d=google.com; s=arc-20160816; b=R9VjASt6y/nt79sEheMPjzVZK9hr+WuVYlUxV/ESiZhgGXS+ftfdYxE2rnuAdZuWQh 16KRjtI+LN6dnHkJtN9L86hIZByUONuY+x+AglAomfwGFJDSodB1Xje73f4wm4FA42vr pBBBwwjJdgwcVF7lYF/AjY4V1rBQ8ND6sjPnADSXaB5kVtIBnHmmkqn63HxhMMubAO7M l0fcHgTIVfYO8hemiDdFE/K6ghEIPfFl5uygKLvB596eJDU8EkpRQV9tn+o96OlU14N0 mTdiAz/OTqhRYiXpMGVRTQASBcJiSOScPXg/lvihmXPALMe5l9jxv8RCDDacSaQUatPc +a+A== 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=8ChgUT0Eqw/nIEIvwaS0dwvVVK4YCEQmQRVbYoYtxio=; fh=8UFvXOI0FV1HnaUyjvYREtBD5czi94EuNsHDRZNuUbE=; b=L9kXQfPLiDbF6PqLmuMPx/9JgzMm9gwdd3OiWc4qA2lWlHv2+nCmcu2OTZ2COjwwLm tGNZFy/aYgfY6Dzv3RuLQrYtJ1EIJ565jCqYZOXCvWgL60BblZ3iqeAZhtkHJUZ9IlmA k3UArsjSuXNgGT79bbmT9D8jtwFBad6Q/mfUYUzg4Nq7GDdbRIQAIJxfi5ATWJ6/J+41 D8w2bG2akICrF2SsE+uvTVukYQqKAzE1Jkst0i4Tx8vEJL1p97dgmsJy3qbZ2iblaA+Q pk3kmQCdv4LUA/5kdrRq+129kaSRTstGOFlf1VSOPeeMBuzDsR0HcqxHgSC34ozypV75 jjPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=sXHGk4et; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id d1-20020a170902cec100b001c74d1da69csi5066182plg.362.2023.10.13.07.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 07:39:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=sXHGk4et; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 453A1801CF80; Fri, 13 Oct 2023 07:39:07 -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 S232214AbjJMOjA (ORCPT + 99 others); Fri, 13 Oct 2023 10:39:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232144AbjJMOi7 (ORCPT ); Fri, 13 Oct 2023 10:38:59 -0400 Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF22595; Fri, 13 Oct 2023 07:38:56 -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 1957C2FC0052; Fri, 13 Oct 2023 16:38:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1697207935; 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=8ChgUT0Eqw/nIEIvwaS0dwvVVK4YCEQmQRVbYoYtxio=; b=sXHGk4et/tA5wCWNxD4VLMKj4osg9aEUTEczCyB6GXLERYz5UaMpKIX2EhZWw/XovNgYzE g46pc7/dLOaBxW8GpUvM+lck1oeKuiKeEZWCw+fkfX7n4BBmxllWJbKgwMV/b/fQEFBIel oZYHG6NpTjDbP/z80hYIdjE8aq/KwVg= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com Message-ID: <28af2d0a-191d-4496-95de-b4243adc9112@tuxedocomputers.com> Date: Fri, 13 Oct 2023 16:38:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] leds: rgb: Implement per-key keyboard backlight for several TUXEDO devices Content-Language: en-US To: Pavel Machek Cc: Lee Jones , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.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:39:07 -0700 (PDT) Hi, Am 13.10.23 um 14:19 schrieb Pavel Machek: > Hi! > >> Every multi_zone_* mode could also output a zones_image. That is a greyscale >> bitmap or even a svg containing the information where each zone is located >> and which outline it has. For the bitmap the information would be encoded in >> the grey value, aka 0 = zone 0 etc with 0xff = no zone (i.e. space between >> the keys). For the svg, the name of the paths would indicate the >> zone they > This is not really suitable for kernel. Yeah thought as much > >>> It would go to drivers/auxdisplay, most probably. >> Looking into it, thanks for the direction. But this would come with the >> downside that upowers kbd_brightness no longer controls the keyboard. > Yep. We could add some kind of kludge to fix that. > > Perhaps first question is to ask auxdisplay people if treating > keyboard as a weird display is okay? cc: lkml, leds, drm, input at > least. On it But i don't know how to implement the different hardware effect modes then. > > Best regards, > Pavel