__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

root@216.73.217.120: ~ $
# Use case Configuration for sof-soundwire card

If.codec_spk {
	Condition {
		Type RegexMatch
		Regex "(rt712(-sdca)?)"
		String "${var:SpeakerCodec1}"
	}
	True {
		SectionDevice."Speaker" {
			Comment "Speaker"

			If.lrswitch {
				Condition {
					Type ControlExists
					Control "name='rt712 OT23 L Switch'"
				}
				True {
					EnableSequence [
						cset "name='rt712 OT23 L Switch' on"
						cset "name='rt712 OT23 R Switch' on"
						cset "name='Speaker Switch' on"
					]
					DisableSequence [
						cset "name='rt712 OT23 L Switch' off"
						cset "name='rt712 OT23 R Switch' off"
						cset "name='Speaker Switch' off"
					]
				}
				False {
					EnableSequence [
						cset "name='rt712 FU06 Switch' on"
						cset "name='Speaker Switch' on"
					]
					DisableSequence [
						cset "name='rt712 FU06 Switch' off"
						cset "name='Speaker Switch' off"
					]
				}
			}

			Value {
				PlaybackPriority 100
				PlaybackPCM "hw:${CardId},2"
			}
		}
	}
}

If.codec_hs {
	Condition {
		Type RegexMatch
		Regex "(rt712(-sdca)?)"
		String "${var:HeadsetCodec1}"
	}
	True {
		SectionDevice."Headphones" {
			Comment	"Headphones"

			EnableSequence [
				cset "name='Headphone Switch' on"
			]

			DisableSequence [
				cset "name='Headphone Switch' off"
			]

			Value {
			      PlaybackPriority 200
			      PlaybackPCM "hw:${CardId}"
			      JackControl "Headphone Jack"
			}
		}

		SectionDevice."Headset" {
			Comment "Headset Mono Microphone"

			EnableSequence [
				cset "name='rt712 FU0F Capture Switch' on"
			]

			DisableSequence [
				cset "name='rt712 FU0F Capture Switch' off"
			]

			Value {
				CapturePriority 300
				CapturePCM "hw:${CardId},1"
				CaptureSwitch "rt712 FU0F Capture Switch"
				CaptureVolume "rt712 FU0F Capture Volume"
				CaptureMixerElem "rt712 FU0F"
				JackControl "Headset Mic Jack"
			}
		}
	}
}

If.codec_dmic {
	Condition {
		Type String
		String1 "rt712-dmic"
		String2 "${var:MicCodec1}"
	}
	True {
		SectionDevice."Mic" {
			Comment	"SoundWire microphones"

			EnableSequence [
				cset "name='rt712-dmic FU1E Capture Switch' 1"
			]

			DisableSequence [
				cset "name='rt712-dmic FU1E Capture Switch' 0"
			]

			Value {
				CapturePriority 100
				CapturePCM "hw:${CardId},4"
				CaptureSwitch "rt712-dmic FU1E Capture Switch"
				CaptureVolume "rt712-dmic FU1E Capture Volume"
				CaptureMixerElem "rt712-dmic FU1E"
			}
		}
	}
}

If.codec_mic {
	Condition {
		Type RegexMatch
		# guard with '=' to avoid empty or rt712-dmic string matching
		Regex "=(rt712(-sdca)?)="
		String "=${var:MicCodec1}="
	}
	True {
		SectionDevice."Mic" {
			Comment "SoundWire Microphones"

			EnableSequence [
				cset "name='rt712 FU1E Capture Switch' 1"
			]

			DisableSequence [
				cset "name='rt712 FU1E Capture Switch' 0"
			]

			Value {
				CapturePriority 100
				CapturePCM "hw:${CardId},4"
				CaptureSwitch "rt712 FU1E Capture Switch"
				CaptureVolume "rt712 FU1E Capture Volume"
				CaptureMixerElem "rt712 FU1E"
			}
		}
	}
}

Filemanager

Name Type Size Permission Actions
Hdmi.conf File 416 B 0644
HiFi.conf File 899 B 0644
acp-dmic.conf File 197 B 0644
cs35l56+cs42l43-spk.conf File 803 B 0644
cs35l56-bridge.conf File 1.56 KB 0644
cs35l56.conf File 237 B 0644
cs42l43-dmic.conf File 1.09 KB 0644
cs42l43-spk+cs35l56.conf File 803 B 0644
cs42l43-spk.conf File 803 B 0644
cs42l43.conf File 1.19 KB 0644
cs42l45-dmic.conf File 273 B 0644
cs42l45.conf File 537 B 0644
dmic.conf File 472 B 0644
rt1308.conf File 1.02 KB 0644
rt1316.conf File 1.4 KB 0644
rt1318.conf File 1.05 KB 0644
rt1320.conf File 1.97 KB 0644
rt5682.conf File 1.17 KB 0644
rt700.conf File 929 B 0644
rt711-sdca.conf File 741 B 0644
rt711.conf File 717 B 0644
rt712.conf File 2.92 KB 0644
rt713.conf File 1.93 KB 0644
rt715-sdca.conf File 477 B 0644
rt715.conf File 648 B 0644
rt721+rt1320.conf File 1.04 KB 0644
rt721.conf File 1.6 KB 0644
rt722.conf File 1.96 KB 0644
sof-soundwire.conf File 4.99 KB 0644
Filemanager