diff options
| author | Armin Wolf <W_Armin@gmx.de> | 2026-10-07 16:38:55 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-10-13 12:05:38 +0300 |
| commit | d1c0c89969779788ece8f3a12add87f3ba91352c (patch) | |
| tree | b3770a78f9eb49b0865fbcaa4559bfcf3db316cb /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | eb3de1b35c871d4351900421d9ec1a2114d1dd98 (diff) | |
platform/x86: uniwill-laptop: Implement rainbow animation as trigger
It turns out that some models require the lightbar to be activated
in order to display the rainbow animation, so users have to access
both the "rainbow_animation" sysfs attribute and the LED sysfs
interface when enabling the rainbow animation. This can cause short
glitches when the lightbar was previously disabled.
Fix this by replacing the sysfs attribute with a custom LED trigger
called "uniwill-rainbow". Selecting this trigger will atomically
activate the lightbar and enable the rainbow animation mode. This
can potentially break userspace applications using the old sysfs
attribute, but so far no such application is known to exist (yet).
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/20261007144101.323289-3-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
