Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp995050ybn; Wed, 2 Oct 2019 09:16:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyosr1akBNPdIWuFSWPta9xiQDc8CcyaBOR4YjCa9PLUhzFHSEojGVfMxYK2L3vUw9q+Gle X-Received: by 2002:a17:906:6a45:: with SMTP id n5mr3859859ejs.20.1570032999461; Wed, 02 Oct 2019 09:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570032999; cv=none; d=google.com; s=arc-20160816; b=IXS82DdlNOcYixnrwscZGHUXdNNvdNDzY4/Jum+u/z7BAXT83YZxCaCoDEBkRZE990 /kwWNT+tF8xrCYYG9vDxF6KjCiXL6Ap65rtNJTTzc5rA6jRvrsgs1osRrTXej0BudB+E NlSfqX7Lf+dYkc3pkspY67uBtXunfU6vxmstX6bhAw3KXQgIoSMrcy4vEv9r230EnbD8 SKAtHHpJiTxGMNmwNdpbQNEsdVmtdDMlOQBaMPLVp9fL4CXMQQJfWmUeaBBmwmsGUzSF 0yBw0NM53wabAV3G0EPceW0FwwMkFT/EMCIahNBCkFt57ZgF5F82BcLREAVAGwGw+TmP T4Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=pLMILQLVk48x+xKK2tkLNx7AYJFC0mpLfo1Q2huv01k=; b=lUp74XxF0zgQVXzP0xeI+8giAriKmetJH2880UZNAFbYeErI8hluwqX7GWr7HQyNlT J2Z7IyhtLrWGYVNA+JiXEAH1q3ahWrRmaaQKdQJi/CW1lyV9xq0bldPMk0hxKm9ZI6vW o6DkoIbIGOjmguJP35HtbMp+DFm9+4lplx0u2vYQtEU6pN2IdvPZ5BRxx7cYDFj0VXp4 Ap1TS/daiVy3NHki5KQd9oiZwQVgFx4hkDHwwLgB7Brlgqa17IEeCx3pqDSDYN/mx2NW KClaZGoLaqroinPagkOU8jzdwY1CC8WBccWem76VtUjzgKHcGkqIzguPEU8hb3W/qEdd NFFQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hh9si10802626ejb.313.2019.10.02.09.16.14; Wed, 02 Oct 2019 09:16:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728925AbfJBPqx (ORCPT + 99 others); Wed, 2 Oct 2019 11:46:53 -0400 Received: from ms.lwn.net ([45.79.88.28]:45600 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbfJBPqw (ORCPT ); Wed, 2 Oct 2019 11:46:52 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id E1C4A491; Wed, 2 Oct 2019 15:46:51 +0000 (UTC) Date: Wed, 2 Oct 2019 09:46:50 -0600 From: Jonathan Corbet To: Mat King Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, gregkh@linuxfoundation.org, rafael@kernel.org, Ross Zwisler , Rajat Jain , Lee Jones , Daniel Thompson , Jingoo Han , Alexander Schremmer Subject: Re: New sysfs interface for privacy screens Message-ID: <20191002094650.3fc06a85@lwn.net> In-Reply-To: References: Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 jon