Messages in this thread | | | Date | Mon, 6 Aug 2018 00:08:30 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH v4 1/2] leds: core: Introduce LED pattern trigger |
| |
Hi!
> > +What: /sys/class/leds/<led>/repeat > > +Date: August 2018 > > +KernelVersion: 4.19 > > +Description: > > + Specify a pattern repeat number. 0 means repeat indefinitely. > > In current implementation this file on read returns the number > of remaining repeat intervals. I'd add that to this description.
Lets not do this.
LEDs such as the one on N900 can do repeats automatically, in hardware. But in such case we may not be able to determine how many repetitions were done (and how many are left).
Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [unhandled content-type:application/pgp-signature] | |