Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp171328ybn; Thu, 3 Oct 2019 03:23:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxL4ISL4iCGiRAOw+RnPouly7PzIFuWAvanYwRUW6/1Z52l47IzuL7RDEqg5uEc9jU05z2W X-Received: by 2002:a17:906:349a:: with SMTP id g26mr6769274ejb.77.1570098233133; Thu, 03 Oct 2019 03:23:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570098233; cv=none; d=google.com; s=arc-20160816; b=Q/rGh3ROM7AmapYYPvZa1lD7vrZfls0o5jpcrVgtYnj208R8qMDyCG83IXWGpAOlhe K5SkRm6MYEXyjY2wrjR0WdH7mVB47FZPsUHU2wEK0BztzzRvDp/j0hvJlnaopYh+dvup +2mKyUhNZO5+AiCEkhcTun15+VV34STihe60ELGGv4B45kAshv86+IYIGFvBwqbP6kBp E/VwDL4YEOsTHmARyAGLepAHU1zXbHRTmwzlcx8Bzk7H4FwTHYddLnlsjD1Z4KgEjLiN zXG7kNQ4ThVqfnPSu0lqy98KjkfYx7saivWGISngn0L46bJrGHXEa2zgBTZMVGc3BmjM WE5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1jR6Vlrhk5n8xdNCiK+AfK7Qyv9fHZ3u4P5zPUviBBA=; b=mehDdqcdjtaC0SZuDg4WhVvdkUsOCXMIqFXoMKYGQDRJ1dy6l6YkO9dJT3vAIweqpf vP/98kbtAJOefMHg+/YjO0PhvKmfNV4KSTGus4BTLtp0mj/yydwp+KHUjPL0DLPwfRli RsmeqwGx05BVsxPVdz8gqbkaZEpXS/tQ1LrScBQXvr9+FlNwlcC4FW3YVg7YB+AfAiP1 itaNMVtalpTa3Zm8HwU27sUeaQeugTtkhhOHhNRIGnFiqUkEMPPi8xZsz+xWfMQxVGtr NOoUhPSnQ51T6BtDOzacJ5n9OxBhsNgagOhjy/2g2ZkJOwyfELRi5FiVTZlGNkqXuyb1 Obiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PzAJzkrw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o32si1189824edb.63.2019.10.03.03.23.28; Thu, 03 Oct 2019 03:23:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PzAJzkrw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728405AbfJCKW7 (ORCPT + 99 others); Thu, 3 Oct 2019 06:22:59 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34545 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbfJCKW7 (ORCPT ); Thu, 3 Oct 2019 06:22:59 -0400 Received: by mail-wr1-f67.google.com with SMTP id a11so2366048wrx.1 for ; Thu, 03 Oct 2019 03:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1jR6Vlrhk5n8xdNCiK+AfK7Qyv9fHZ3u4P5zPUviBBA=; b=PzAJzkrwyJdxr7vpeDPwT6M7e45aC+OHAA+kuLA4A0Vzohz/oWf1Ujiym2yaZdRo7C MI/wP8eM9cQJP36FyFTYeZes55Sh0K9j6SyLAiMXCzd0+mIXlecFqVpBu1KediWDR8O7 ty6GSsTwOgwfULvypBuhnYFcfLrLZ2O7dBP9uF9KW1WO2hjQrfpcsiKPeEC32mQjEZMm 6oxffSXFSCT7anOV7AjhAX+cpqJbK2LVjwB2ZCCsohc9+5AOqrmxubhevbMm9p6qOYv2 5YR23WtUCknr8nE3RDSAR332Gv8Jw1oC1Veo2IcSTZg8jr7ZYen/y5kV3YXTDrpr4fVL ERcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1jR6Vlrhk5n8xdNCiK+AfK7Qyv9fHZ3u4P5zPUviBBA=; b=c8XB05v5WyjaafSsgvHob0ZnfXoI6Uv7knTccl13XJiNf3+8+BXnnzX1RzMPxmdyCn Njj1WmhIFvKZRGR2K+4Ah8/wt28M/oNW16DItA28FVV5h38sMADRDjAdvRquZ/fdXsoP lAJZb6rEOaz9j4FDloqmW3PWmzE6qUAUhf8LXsKBB/HHS5Fp0sCIHsmddUZbJJAr7Za1 LVULSDF8NVC66rgU7jNm5JdJs1IP2cAPXuARbVjbCDLKcZ4jx2754iMKpW59Pi9j1CsF nSMWSZMF5ILCrPMMGB6lUbBBK7qaC4va/22rhD7Jf8nyftsCI2XB5EMEASMVtl2fRzFu FktQ== X-Gm-Message-State: APjAAAXgTHWGuX0/dZyIe1uAJJTZ2bEn9wuex/I23MKyx2qVB0vA267h Pwf4NiQUUj40N4U9CVyCEIJE+w== X-Received: by 2002:adf:e64e:: with SMTP id b14mr6952182wrn.16.1570098176821; Thu, 03 Oct 2019 03:22:56 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id d193sm2240931wmd.0.2019.10.03.03.22.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2019 03:22:56 -0700 (PDT) Date: Thu, 3 Oct 2019 11:22:54 +0100 From: Daniel Thompson To: Jani Nikula Cc: Jonathan Corbet , Mat King , rafael@kernel.org, gregkh@linuxfoundation.org, Ross Zwisler , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jingoo Han , Rajat Jain , Lee Jones , Alexander Schremmer , Andy Shevchenko Subject: Re: New sysfs interface for privacy screens Message-ID: <20191003102254.dmwl6qimdca3dbrv@holly.lan> References: <20191002094650.3fc06a85@lwn.net> <87muei9r7i.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87muei9r7i.fsf@intel.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 03, 2019 at 11:19:13AM +0300, Jani Nikula wrote: > On Wed, 02 Oct 2019, Jonathan Corbet wrote: > > On Tue, 1 Oct 2019 10:09:46 -0600 > > Mat King wrote: > > > >> I have been looking into adding Linux support for electronic privacy > >> screens which is a feature on some new laptops which is built into the > >> display and allows users to turn it on instead of needing to use a > >> physical privacy filter. In discussions with my colleagues the idea of > >> using either /sys/class/backlight or /sys/class/leds but this new > >> feature does not seem to quite fit into either of those classes. > > > > FWIW, it seems that you're not alone in this; 5.4 got some support for > > such screens if I understand things correctly: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=110ea1d833ad > > Oh, I didn't realize it got merged already, I thought this was > related... > > So we've already replicated the backlight sysfs interface problem for > privacy screens. :( I guess... although the Thinkpad code hasn't added any standard interfaces (no other laptop should be placing controls for a privacy screen in /proc/acpi/ibm/... ). Maybe its not too late. Daniel.