--- /dev/null
+# Use case Configuration for WM8903 based ASUS Transformers
+
+SectionDevice."Speaker" {
+ Comment "Speaker"
+
+ ConflictingDevice [
+ "Headphones"
+ ]
+
+ EnableSequence [
+ cset "name='Speaker Switch' on"
+ cset "name='Int Spk Switch' on"
+ ]
+
+ DisableSequence [
+ cset "name='Int Spk Switch' off"
+ cset "name='Speaker Switch' off"
+ ]
+
+ Value {
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
+ PlaybackPriority 200
+
+ PlaybackMixerElem "Speaker"
+ }
+}
+
+SectionDevice."Headphones" {
+ Comment "Headphones"
+
+ ConflictingDevice [
+ "Speaker"
+ ]
+
+ EnableSequence [
+ cset "name='Headphone Switch' on"
+ ]
+
+ DisableSequence [
+ cset "name='Headphone Switch' off"
+ ]
+
+ Value {
+ PlaybackPCM "hw:${CardId}"
+ PlaybackChannels 2
+ PlaybackPriority 100
+
+ PlaybackMixerElem "Headphone"
+
+ JackControl "Headphone Jack"
+ }
+}
+
+SectionDevice."Mic1" {
+ Comment "Internal Microphone"
+
+ ConflictingDevice [
+ "Mic2"
+ ]
+
+ EnableSequence [
+ cset "name='Int Mic Switch' on"
+ cset "name='ADC Input' DMIC"
+ ]
+
+ DisableSequence [
+ cset "name='Int Mic Switch' off"
+ ]
+
+ Value {
+ CapturePCM "hw:${CardId}"
+ CapturePriority 200
+ }
+}
+
+SectionDevice."Mic2" {
+ Comment "External Microphone"
+
+ ConflictingDevice [
+ "Mic1"
+ ]
+
+ EnableSequence [
+ cset "name='Mic Jack Switch' on"
+ cset "name='ADC Input' ADC"
+
+ cset "name='Left Capture Mux' Left"
+
+ cset "name='Left Input Mux' IN1L"
+ cset "name='Left Input Inverting Mux' IN2L"
+ cset "name='Left Input Mode Mux' Differential Mic"
+
+ cset "name='Left Input PGA Switch' on"
+ ]
+
+ DisableSequence [
+ cset "name='Mic Jack Switch' off"
+ cset "name='Left Input PGA Switch' off"
+ ]
+
+ Value {
+ CapturePCM "hw:${CardId}"
+ CapturePriority 100
+
+ JackControl "Mic Jack"
+ }
+}
--- /dev/null
+# Use case Configuration for WM8903 based ASUS Transformers
+
+Syntax 4
+
+BootSequence [
+ cset "name='HPF Switch' on"
+ cset "name='HPF Mode' Voice 1"
+
+ cset "name='DRC Switch' on"
+ cset "name='Digital Capture Volume' 127"
+
+ cset "name='Headphone Switch' off"
+ cset "name='Headphone ZC Switch' off"
+ cset "name='Headphone Volume' 45"
+
+ cset "name='Line Out Switch' on"
+ cset "name='Line Out ZC Switch' off"
+ cset "name='Line Out Volume' 57"
+
+ cset "name='Speaker Switch' off"
+ cset "name='Speaker ZC Switch' off"
+ cset "name='Speaker Volume' 60"
+
+ cset "name='Int Spk Switch' on"
+ cset "name='Int Mic Switch' off"
+ cset "name='Mic Jack Switch' off"
+
+ cset "name='ADC Input' DMIC"
+
+ cset "name='Left Speaker Mixer DACL Switch' on"
+ cset "name='Right Speaker Mixer DACR Switch' on"
+]
+
+SectionUseCase."HiFi" {
+ File "/Tegra/wm8903/Asus-Transformer-HiFi.conf"
+ Comment "Play HiFi quality Music"
+}