From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH v12 1/2] leds: core: Introduce LED pattern trigger Date: Thu, 27 Sep 2018 23:47:05 +0200 Message-ID: <20180927214705.GB17346@amd> References: <324778a9-a32c-ae6e-337a-39845f214bfc@gmail.com> <20180921211758.GC18062@amd> <20180921221813.GA20355@amd> <20180922194451.GA27826@amd> <470f4037-b682-73f8-8063-b4d7a70e04bc@gmail.com> <9188b107-92da-11aa-9903-848e3f347f8c@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Baolin Wang Cc: Jacek Anaszewski , Bjorn Andersson , rteysseyre@gmail.com, Mark Brown , Linus Walleij , Linux LED Subsystem , LKML List-Id: linux-leds@vger.kernel.org --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Actually you have it also: > > "Duration of 0 means brightness should immediately change to new value" > > > > According to this, to get instant changes your pattern should look > > like this: > > > > echo "0 100 0 0 20 100 20 0 40 100 40 0 80 100 80 0 100 100" > pattern >=20 > Make sense. Thanks for your explanation. Thanks for all the work and sorry for all the confusion! Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlutT9kACgkQMOfwapXb+vLbTQCeILW0TTKQKVhafEafhYvgJwyx +1oAn1nZD8b2b/0KWcvEmSKo2Lm3vV/o =sFvr -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP--