Users expect to turn the LED on when only internal mic is off, but
it makes sense to turn this LED when all internal inputs are off.
This configuration may be changed when the affected applications
are updated.
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2134824
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Haystack "${CardComponents}"
Needle "cfg-dmics:"
}
- True.Define.DeviceDmic "Mic1"
+ True {
+ Define.DeviceDmic "Mic1"
+ FixedBootSequence [
+ #
+ # users expect to turn the LED on when only internal
+ # mic is off, but it makes sense to turn this LED
+ # when all internal inputs are off
+ #
+ sysw "-/class/sound/ctl-led/mic/card${CardNumber}/detach:Capture Switch"
+ ]
+ }
True.Define.DeviceMic "Mic2"
}