diff options
author | 2021-03-17 18:29:44 +0100 | |
---|---|---|
committer | 2021-03-30 15:38:37 +0200 | |
commit | cb17fe0045aaa74d1ce12c0ad0058a62a1ce0401 (patch) | |
tree | aa0c55bd6f1e4bad33e44eed84112ce36117f88c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: HDA - remove the custom implementation for the audio LED trigger (diff) | |
download | wireguard-linux-cb17fe0045aaa74d1ce12c0ad0058a62a1ce0401.tar.xz wireguard-linux-cb17fe0045aaa74d1ce12c0ad0058a62a1ce0401.zip |
ALSA: control - add sysfs support to the LED trigger module
Create SYSFS/devices/virtual/sound/ctl-led tree
(with SYSFS/class/sound/ctl-led symlink).
speaker/
+-- mode
+-- brightness
mic/
+-- mode
+-- brightness
Copy the idea from the HDA driver and allow to set the audio
LEDs based on the various modes:
- follow mute
- follow moute (inverted to follow mute)
- off
- on
Also, the actual LED state is exposed.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20210317172945.842280-6-perex@perex.cz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions