403Webshell
Server IP : 209.205.66.10  /  Your IP : 216.73.216.173
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User :  ( 1006)
PHP Version : 8.5.8
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/alsa/ucm2/HDA/DualCodecs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/alsa/ucm2/HDA/DualCodecs/HiFi.conf
SectionVerb {
	Value {
		TQ "HiFi"
	}

	EnableSequence [
		cset "name='Front Playback Switch' off"
		cset "name='Rear-Panel Capture Switch' off"
		cset "name='Headphone Playback Switch' off"
	]

	DisableSequence [
		cset "name='Front Playback Switch' off"
		cset "name='Front-Panel Capture Switch' off"
		cset "name='Rear-Panel Capture Switch' off"
	]
}

If.speaker {
	Condition {
		Type ControlExists
		Control "name='Speaker Volume Switch'"
	}
	True {
		SectionVerb {
			EnableSequence [
				cset "name='Speaker Playback Switch' on"
			]
			DisableSequence [
				cset "name='Speaker Playback Switch' off"
			]
		}

		SectionDevice."Speaker" {
			Comment "Speaker"

			Value {
				PlaybackPriority 100
				PlaybackPCM "hw:${CardId},4"
				PlaybackMixerElem "Speaker"
			}

			DisableSequence [
				cset "name='Speaker Playback Switch' off"
			]

			ConflictingDevice [
				"Headphones"
			]
		}
	}
}

SectionDevice."Line1" {
	Comment "Line Out"

	Value {
		PlaybackPriority 200
		PlaybackPCM "hw:${CardId}"
	}

	If.0 {
		Condition {
			Type ControlExists
			Control "name='Front Playback Switch'"
		}
		True {
			Value {
				PlaybackMixerElem "Front"
				JackControl "Line Out Front Jack"
			}
		}
		False {
			Value {
				JackControl "Line Out Jack"
				JackHWMute "Speaker"
			}
		}
	}
}

SectionDevice."Headphones" {
	Comment "Headphones"

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

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

	Value {
		PlaybackPriority 300
		PlaybackPCM "hw:${CardId},4"
		PlaybackMixerElem "Headphone"
		JackControl "Front Headphone Jack"
	}

	If.speaker {
		Condition {
			Type ControlExists
			Control "name='Speaker Volume Switch'"
		}
		True.Value.JackHWMute "Speaker"
	}

}

SectionDevice."Line2" {
	Comment "Rear Line In"

	ConflictingDevice [
		"Mic2"
	]

	EnableSequence [
		cset "name='Input Source' Line"
	]

	Value {
		CapturePriority 200
		CapturePCM "hw:${CardId}"
		CaptureMixerElem "Rear-Panel"
		CaptureMasterElem "Line Boost"
		JackControl "Line Jack"
	}
}

SectionDevice."Mic2" {
	Comment "Rear Microphone"

	Value {
		CapturePriority 300
		CapturePCM "hw:${CardId}"
		CaptureMixerElem "Rear-Panel"
		CaptureMasterElem "Rear Mic Boost"
		JackHWMute "Line2"
		JackControl "Rear Mic Jack"
	}

	EnableSequence [
		cset "name='Input Source' 'Rear Mic'"
	]
}

SectionDevice."Mic1" {
	Comment "Front Microphone"

	Value {
		CapturePriority 100
		CapturePCM "hw:${CardId},4"
		CaptureMixerElem "Front-Panel"
		CaptureMasterElem "Front Mic Boost"
		JackControl "Front Mic Jack"
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit