Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp917610rdg; Fri, 13 Oct 2023 05:20:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMT1qFV4zk7B31ziaYZ2OBKZh2FpRud4sATVrEICjq1H426yaaaO9JePy3S1JgmnbHo0m0 X-Received: by 2002:a05:6e02:164f:b0:351:a18:51be with SMTP id v15-20020a056e02164f00b003510a1851bemr36527400ilu.15.1697199626235; Fri, 13 Oct 2023 05:20:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697199626; cv=none; d=google.com; s=arc-20160816; b=ir7NpRNST+LG88RmeOBtJDoj5MfDj9wVkhZ+bF/eArz1om+DljnCBI11hvjrg+lw3D 5dOtb16RgQXIFtofrnOpY6WZ8ZjEyusuwE6oad5MomMhahcDImjv0Hh2Pjf7RJcyP55g AOeTr1Wybt3xKgi37cbMgyTd0TQ+75dVu/B1gTOKOkK/6HNDQnMAUliZJ26jlCEOz4+b rQQ4CytnEGC75s3IAawXLJCvI+neuvZvlQ4UIxo/ro5tVQDDzu/C99z9/S71AZwu1Gsx nwG0rFxR+f90+7GSoQSdgH/nAbDZNSwGLHSAZ3VL20dbyxWSQIFTBflBjuvKNtroPhme NvaA== 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=/y2UoERvx8e0wwtD04T8hSXGJ9Ej3eDoObCJrOk+Msc=; fh=QrV9MZy0/YrJalD8437vBY0BvOZFF8W0iYTXWGcYwlo=; b=HDJlB5wt+6HgJCENB/8A2KfvVucE8QkmdakOwv4FUFFFscAy9yWOmu3MPwHPJvqzDt mdqjTEDCVJPQxGxDlSPLlSmlIZ54eFs3PlZJYtezZhQZ+FrtuBhjzZIhg/tbkc9rqVlU Qxl6hIxyfjNcLzsU/AwKUQDmNEM3pwLBAnUpAh8vp9F+0j6+J82MoJu+XZgzuDFYuWqo lMIKwsbf5VHbQFBdVFkcgUANkVU16MMW72W6XOXGQiMv0SmMsA7BLrqDCg0iZFTrRRCo jNCL32GEO1MiaKaawr/bpYgA2a2MFaYPOtRrw0YGW4traWaaJsFb+iwuWpkIO9PucSpC SglQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=XlbA8Hh7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id i10-20020a17090adc0a00b00279866aa14csi4369718pjv.16.2023.10.13.05.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 05:20:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=XlbA8Hh7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 570508233640; Fri, 13 Oct 2023 05:20:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231586AbjJMMUA (ORCPT + 99 others); Fri, 13 Oct 2023 08:20:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231381AbjJMMT7 (ORCPT ); Fri, 13 Oct 2023 08:19:59 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4269CBE; Fri, 13 Oct 2023 05:19:57 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 725D51C0050; Fri, 13 Oct 2023 14:19:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1697199595; 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=/y2UoERvx8e0wwtD04T8hSXGJ9Ej3eDoObCJrOk+Msc=; b=XlbA8Hh7BmDFC+bSVIHd6zYdRmtX4n5nLogZ7neLVGIhSPWKArMBBbaUT3b4CMxJVg9yne iiqY7+SVBbWQeYNyvRjHII3Lf/Nk+FJNnywSbU1mNbqr4JQ4Gv1xdZc/31Sgm1bRGQ55nN 0vPQXRz7G3zbXAlE++sTMyEmumGHoSA= Date: Fri, 13 Oct 2023 14:19:54 +0200 From: Pavel Machek To: Werner Sembach Cc: Lee Jones , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH] leds: rgb: Implement per-key keyboard backlight for several TUXEDO devices 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="15YJOgOjsKwaYDow" 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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 13 Oct 2023 05:20:16 -0700 (PDT) --15YJOgOjsKwaYDow Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Every multi_zone_* mode could also output a zones_image. That is a greysc= ale > 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 =3D zone 0 etc with 0xff =3D no zone (i.e. space be= tween > the keys). For the svg, the name of the paths would indicate the > zone they This is not really suitable for kernel. > > It would go to drivers/auxdisplay, most probably. >=20 > 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. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --15YJOgOjsKwaYDow Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZSk16gAKCRAw5/Bqldv6 8sniAJ0WixY2vRASdMoSZ+sZGVmhrjybCACguFT9SBT9d9Dr5wR4G9/UCeJNMs0= =cElG -----END PGP SIGNATURE----- --15YJOgOjsKwaYDow--