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?
>
> Exactly.
So in this case exporting any new sysfs file (or using existing) which
report POLLPRI events for LED devices with active trigger is not
accepted.
This means that trigger itself is problematic and trigger code should
tell to led subsystem if it should send POLLPRI events to userspace or
not. E.g. cpu trigger should tell led subsystem that events must not be
sent and e.g. rfkill trigger could tell that events can be sent...
--
Pali Rohár
pal...@gm...
|