Hi!
I believe I meant "changing patterns from kernel in response to events
is probably overkill"... or something like that.
Anyway -- to clean up the confusion -- I'd like to see
echo pattern > trigger
echo "1 2 3 4 5 6 7 8" > somewhere
s/somewhere/pattern/
pattern trigger should create "pattern" file similarly how ledtrig-timer
creates delay_{on|off} files.
Yes, that sounds reasonable. v5 still says
+ Writing non-empty string to this file will activate the pattern,
+ and empty string will disable the pattern.
I'd deactivate the pattern by simply writing something else to the
trigger file.