From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pali =?utf-8?q?Roh=C3=A1r?= Subject: Re: [PATCH v5 2/6] leds: triggers: Add a keyboard backlight trigger Date: Thu, 24 Nov 2016 22:45:00 +0100 Message-ID: <201611242245.00217@pali> References: <05766b18-026a-2af3-def8-9289ddb55234@samsung.com> <201611241751.27696@pali> <5238be1f-d669-07e6-c796-5bc0126cb456@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1931691018824131776==" Return-path: In-Reply-To: <5238be1f-d669-07e6-c796-5bc0126cb456-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ibm-acpi-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Jacek Anaszewski Cc: Matthew Garrett , ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Henrique de Moraes Holschuh , platform-driver-x86-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Hans de Goede , gdg-EWGI23mR1M3QT0dZR+AlfA@public.gmane.org, Richard Purdie , Pavel Machek , Darren Hart , Jacek Anaszewski , linux-leds-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-leds@vger.kernel.org --===============1931691018824131776== Content-Type: multipart/signed; boundary="nextPart1715910.zuKnYXRVBk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1715910.zuKnYXRVBk Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thursday 24 November 2016 22:35:52 Jacek Anaszewski wrote: > > I understood that we cannot notify about changes done by CPU > > trigger due to high power usage... Or not? >=20 > Exactly. So in this case exporting any new sysfs file (or using existing) which=20 report POLLPRI events for LED devices with active trigger is not=20 accepted. This means that trigger itself is problematic and trigger code should=20 tell to led subsystem if it should send POLLPRI events to userspace or=20 not. E.g. cpu trigger should tell led subsystem that events must not be=20 sent and e.g. rfkill trigger could tell that events can be sent... =2D-=20 Pali Roh=C3=A1r pali.rohar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --nextPart1715910.zuKnYXRVBk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlg3X1wACgkQi/DJPQPkQ1LKogCeKXfwqeo8RIEg4wAxax1e/iID 4AYAoJuM1yCIA7H13SL+hGg9aw7sc09B =ElIW -----END PGP SIGNATURE----- --nextPart1715910.zuKnYXRVBk-- --===============1931691018824131776== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============1931691018824131776== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel --===============1931691018824131776==--