Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp609605rdb; Tue, 23 Jan 2024 09:07:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdmeV63vtoy+epX5YXY+vgGRcfeVztanJEgHEshYXS9WzNrVUBgJ/D1pyuaBTZ3glf5mHi X-Received: by 2002:a17:906:4917:b0:a2f:d15e:2385 with SMTP id b23-20020a170906491700b00a2fd15e2385mr66416ejq.37.1706029651870; Tue, 23 Jan 2024 09:07:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706029651; cv=pass; d=google.com; s=arc-20160816; b=J+7iNSEpJORCSw/bTdaH7uTc4pnAeYOKJ5p5FzKOfSfrqW/9HCwHZCp8Wcpa3XjYqZ 1/8550i6eE+new0TRJl/tp2237oI0LFXG2ff4N7G0NDK0qRanZT5CVA0Pj5fNhne4z3K rZWC6slOJ5MCr1I963ZavojtcaUi7ps/Tu4WAw5FBOtwYrAzSJ8HoIcpIvSmPryUIhr4 Aw0dMQq8BqKFdXNXm5x+I3XRFpeudHLnkzrphZmBST244R6XRk1c7TpEIEIS+4UiC/py TVVDsXQduY6fJKQdvlfZXYv2ZqUxRA19Sm7Y+Oj3+HSywwD+kXQgIxPZYSkD+OMmpTPm 51Ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=VdkokTZGvxcJHk9IiPC4nPROKX8TmRItLHJlrEqCNJs=; fh=LTec1vl835iRfB23Y9k+pyjElI88BHKR7lPiFrauO2c=; b=v/SsFNcGyBotdYyS7vBrpXMFVsRmpx2axbO//2ntoPn0I3bu1DJIMF7TwIJmFfrPif dIUI3HgB7MW9kPJ01CArLASt0tzVHrJfYWcQtn4jQcXRQdFNQNgBxLXttYxHN2jfpWf9 Dfuiar19kg/EkAhNXUV6WzhP84Kod2BtKot2gL6ipv7G6GZaR8Qyqypr1DIGGPmDInJu 9vDvFZHiYDHGgcgPfOjKBaT2XI4TNvlqoY+5KPx59o2UHWJqS7oH37j9ZRzE6PrkJt6p KB0ZNsGkihJcAcq38knOofWu2h0v/0vRS8L/cJJB0jcEMQ73WrlqiJaX2puSvN6swF8+ /HJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=GNMBobsM; arc=pass (i=1 spf=pass spfdomain=tuxedocomputers.com dkim=pass dkdomain=tuxedocomputers.com dmarc=pass fromdomain=tuxedocomputers.com); spf=pass (google.com: domain of linux-kernel+bounces-35719-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35719-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id br26-20020a170906d15a00b00a30f9af24b6si138822ejb.965.2024.01.23.09.07.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 09:07:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35719-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=GNMBobsM; arc=pass (i=1 spf=pass spfdomain=tuxedocomputers.com dkim=pass dkdomain=tuxedocomputers.com dmarc=pass fromdomain=tuxedocomputers.com); spf=pass (google.com: domain of linux-kernel+bounces-35719-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35719-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tuxedocomputers.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EDDEE1F31389 for ; Tue, 23 Jan 2024 16:58:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09A6F811EB; Tue, 23 Jan 2024 16:51:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b="GNMBobsM" Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D473E7FBA7; Tue, 23 Jan 2024 16:51:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=157.90.84.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706028677; cv=none; b=Y4Au2I1aBu/7pGBv3yUVI1c+7c+yU5wOK/WLqDROOAjJ6C/DKJhdkTRvuyYRK2N+i11IamGotHR8wpZbPSnaj57t7y6m6YYhDreRUzlPcFu8cnz/2hSNZqw5+9KLlsTGxhBMT/jQfkJyw72ipWKo6DzoJWk1/VJ4LwGagA8bJ30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706028677; c=relaxed/simple; bh=VE3TwMTd3CZosuWs/YQh6GO1jbfQe0kjsCQk3Fo5jOQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=efAgRucbwvtDZaG2tnLcvkwG/3t2+BsJIIYJ3EzCw58LjKhueLLDUXHIuAHfuUyzxMQMrHz2+xQUWdMgLF6mvycWOYllf58xsfl2BZvRw0899CwRyYAs041IcfITILnJM0+FuXcVQhCsG1DKSo7BKUoQYD1G8gmbk5LZ0fU7Sxw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com; spf=pass smtp.mailfrom=tuxedocomputers.com; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b=GNMBobsM; arc=none smtp.client-ip=157.90.84.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxedocomputers.com Received: from [192.168.42.20] (p5de453e7.dip0.t-ipconnect.de [93.228.83.231]) (Authenticated sender: wse@tuxedocomputers.com) by mail.tuxedocomputers.com (Postfix) with ESMTPSA id 9C3C22FC0050; Tue, 23 Jan 2024 17:51:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1706028666; 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=VdkokTZGvxcJHk9IiPC4nPROKX8TmRItLHJlrEqCNJs=; b=GNMBobsM25vzbIaUJ9ZsUXY1t95zxv/x9Yb3+W+7pAvEmJYGD68iisuOJAL1aT70kBltww LgcsjCrRpRcBlhU9ICKmB6aem1k8IkLgcVm+nXcdUMoKeDKUT6g+yb7SGTE3xnplyyTFTn 3AqrmNSNTous3svtFzJSaayp9w+UIUc= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com Message-ID: <7df49b4f-5d9f-48f2-98bd-e2c3f567126c@tuxedocomputers.com> Date: Tue, 23 Jan 2024 17:51:05 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Implement per-key keyboard backlight as auxdisplay? Content-Language: en-US To: Pavel Machek , Dmitry Torokhov Cc: Jani Nikula , Hans de Goede , jikos@kernel.org, Jelle van der Waa , Miguel Ojeda , Lee Jones , linux-kernel@vger.kernel.org, "dri-devel@lists.freedesktop.org" , linux-input@vger.kernel.org, ojeda@kernel.org, linux-leds@vger.kernel.org, Benjamin Tissoires References: <8096a042-83bd-4b9f-b633-79e86995c9b8@redhat.com> <4222268b-ff44-4b7d-bf11-e350594bbe24@redhat.com> <6bbfdd62-e663-4a45-82f4-445069a8d690@redhat.com> <87bk9hppee.fsf@intel.com> From: Werner Sembach In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Am 19.01.24 um 23:14 schrieb Pavel Machek: > Hi! > >>> And while I would personally hate it, you can imagine a use case where >>> you'd like a keypress to have a visual effect around the key you >>> pressed. A kind of force feedback, if you will. I don't actually know, >>> and correct me if I'm wrong, but feels like implementing that outside of >>> the input subsystem would be non-trivial. >> Actually I think it does not belong to the input subsystem as it is, >> where the goal is to deliver keystrokes and gestures to userspace. The >> "force feedback" kind of fits, but not really practical, again because >> of lack of geometry info. It is also not really essential to be fully >> and automatically handled by the kernel. So I think the best way is >>> to > So that's actually big question. > > If the common usage is "run bad apple demo on keyboard" than pretty > clearly it should be display. > > If the common usage is "computer is asking yes/no question, so > highlight yes and no buttons", then there are good arguments why input > should handle that (as it does capslock led, for example). The common usage is "make keyboard look flashy", for some a fixed color scheme is enough, other ones might probably enable one of the built in modes. Most people I think will be satisfied with these 2 options, albeit both of your suggestions sound cool. > > Actually I could imagine "real" use when shift / control /alt > backlight would indicate sticky-shift keys for handicapped. > > It seems they are making mice with backlit buttons. If the main use is > highlight this key whereever it is, then it should be input. > > But I suspect may use is just fancy colors and it should be display. > > Best regards, > Pavel