Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3065081ybp; Sun, 6 Oct 2019 04:06:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyz4Uofbg5/HbiNyEhAv5isYrxakZSoXJZtAvObtCLRXyVb6AH5+J2iJxTwbDhJ5dGqC/Nh X-Received: by 2002:a17:906:1394:: with SMTP id f20mr19656144ejc.274.1570359967270; Sun, 06 Oct 2019 04:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570359967; cv=none; d=google.com; s=arc-20160816; b=qtk4EhJX5OLKiu/juUv+3MXCWGPKmZgHAZprJ23n9YaeELwrM362MdDV4e1cEmSb6w aHAUXdZuX6GbktabA8T4BAf4NoZHQ/llUZ0TWsrh/cAJ1z7Glcfx3R2CJDyWG2Dkf+wh 5JdsgwCOgZq9IsI44i6wYTBHQPemOz52giX9Vm5i+Qa/sPlHd6ippLuqqZ4gvcft3rK0 L04wwGR7HPVg/msSKugnT26LzMMUFdp/1CVR1yEbBWlfqG6UN/xRvZty4lTIsTHKFfY8 XkNi9pWxPNQlPcSaLHLE97smrec0WIe3cTZHBWVBarzmfs4pFe8w9W6dfSasGPDIiL6Z o7zA== 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; bh=iDK3445xPYIay77pi6PWbh7xgClGZLJr2VyTLLBNyTI=; b=snoNqYYYxOKQLYSIXLblIktklXwsXLO6fx037vvkqmc9T2JYclC/oDtz8yMTGmNX8O si+7dDSlH7qZrAPbBUqx8/hLUTeDuUgdl1/fS970/qeUuSfaY2Er/mPpYTdTSmENpATB g9tlJde+RSq/++0uaA0+nAibt/A+rNVL2FAVnrewD8zJnRJFxSrGQGL05roq0jZVAtRT F2N8aqDP2qBv9bHiGVeh0CkvREFJUlFLZkoH3X9HqSQZzdXSVGBMVphr5f4NGeeDI2V8 taYlsgoZMsEtnirVtMgc1BWJy9k5IltZk0VMG2P8tZM7d3iFhN5i6kfpIuXFUwPENwk/ n67w== 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 g20si5294279eje.364.2019.10.06.04.05.42; Sun, 06 Oct 2019 04:06:07 -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 S1726322AbfJFLE7 (ORCPT + 99 others); Sun, 6 Oct 2019 07:04:59 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:43634 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbfJFLE6 (ORCPT ); Sun, 6 Oct 2019 07:04:58 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 9D38780476; Sun, 6 Oct 2019 13:04:41 +0200 (CEST) Date: Sun, 6 Oct 2019 13:04:56 +0200 From: Pavel Machek To: Daniel Thompson , alex@alexanderweb.de, andriy.shevchenko@linux.intel.com Cc: Jani Nikula , 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: <20191006110455.GC24605@amd> References: <20191002094650.3fc06a85@lwn.net> <87muei9r7i.fsf@intel.com> <20191003102254.dmwl6qimdca3dbrv@holly.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zCKi3GIZzVBPywwA" Content-Disposition: inline In-Reply-To: <20191003102254.dmwl6qimdca3dbrv@holly.lan> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zCKi3GIZzVBPywwA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > >> I have been looking into adding Linux support for electronic privacy > > >> screens which is a feature on some new laptops which is built into t= he > > >> 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=3D110ea1d833ad > >=20 > > Oh, I didn't realize it got merged already, I thought this was > > related... > >=20 > > So we've already replicated the backlight sysfs interface problem for > > privacy screens. :( >=20 > 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. There's new interface for controlling privacyguard... but perhaps we need better solution than what went in 5.4. Perhaps it should be reconsidered? Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --zCKi3GIZzVBPywwA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl2ZylcACgkQMOfwapXb+vIvLwCgv8pM8435FkksDHNB1TjTxnow Zm8AoKrwhCDI1rdvOj6Y2H8UU21KaV9E =xgty -----END PGP SIGNATURE----- --zCKi3GIZzVBPywwA--