Skip to content

Commit

Permalink
rt722: add headset mic led control
Browse files Browse the repository at this point in the history
Signed-off-by: Shuming Fan <[email protected]>
  • Loading branch information
shumingfan committed Dec 11, 2024
1 parent 52c5cd7 commit 1205b84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ucm2/codecs/rt722/init.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ BootSequence [
FixedBootSequence [
exec "-/sbin/modprobe snd_ctl_led"
sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:rt722 FU1E Capture Switch"
sysw "-/class/sound/ctl-led/mic/card${CardNumber}/attach:rt722 FU0F Capture Switch"
]
4 changes: 4 additions & 0 deletions ucm2/sof-soundwire/rt722.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ If.codecmic {
SectionDevice."Mic" {
Comment "SoundWire microphones"

ConflictingDevice [
"Headset"
]

EnableSequence [
cset "name='rt722 FU1E Capture Switch' 1"
]
Expand Down

0 comments on commit 1205b84

Please sign in to comment.