%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/alsa/ucm2/sof-soundwire/
Upload File :
Create Path :
Current File : //usr/share/alsa/ucm2/sof-soundwire/rt5682.conf

# Use case Configuration for sof-soundwire card

SectionDevice."Headphones" {
	Comment	"Headphones"

	EnableSequence [
		cset "name='Headphone Switch' on"
		cset "name='rt5682 HPOL Playback Switch' 1"
		cset "name='rt5682 HPOR Playback Switch' 1"
	]

	DisableSequence [
		cset "name='rt5682 HPOL Playback Switch' 0"
		cset "name='rt5682 HPOR Playback Switch' 0"
		cset "name='Headphone Switch' off"

	]

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

SectionDevice."Headset" {
	Comment "Headset Microphone"

	EnableSequence [
		cset "name='Headset Mic Switch' on"
		cset "name='rt5682 STO1 ADC Capture Switch' 1"
		cset "name='rt5682 RECMIX1L CBJ Switch' 1"
		cset "name='rt5682 Stereo1 ADC MIXL ADC1 Switch' 1"
		cset "name='rt5682 Stereo1 ADC MIXR ADC1 Switch' 1"
	]

	DisableSequence [
		cset "name='rt5682 STO1 ADC Capture Switch' 0"
		cset "name='rt5682 RECMIX1L CBJ Switch' 0"
		cset "name='rt5682 Stereo1 ADC MIXL ADC1 Switch' 0"
		cset "name='rt5682 Stereo1 ADC MIXR ADC1 Switch' 0"
		cset "name='Headset Mic Switch' off"
	]

	Value {
		CapturePriority 200
		CapturePCM "hw:${CardId},1"
		JackControl "Headset Mic Jack"
	}
}

Zerion Mini Shell 1.0