pmaports/device/device-samsung-p4wifi/HiFi
Decatf 7a0cfe6da4 samsung-p4wifi: Load wifi modules, add audio output, remove touch screen calibration (#1328)
* [samsung-p4wifi] Include modules in kernel package
* [samsung-p4wifi] Load wifi modules at boot
* [samsung-p4wifi] Use mainline wm8994 sound driver
* [samsung-p4wifi] Add ALSA UCM config
Generated from xml2ucm tool.
* [samsung-p4wifi] Add headphone jack detect udev rules
* [samsung-p4wifi] Remove touchscreen calibration
It is not a resistive touchscreen. The default calibration works.
2018-03-13 19:39:07 +00:00

98 lines
2.7 KiB
Text

SectionVerb {
EnableSequence [
cdev "hw:wm8994aif1"
]
DisableSequence [
cdev "hw:wm8994aif1"
]
Value {
PlaybackPCM "hw:wm8994aif1,0"
CapturePCM "hw:wm8994aif1,0"
}
}
SectionDevice."Speaker" {
Comment "Speaker Rx device"
ConflictingDevice [
"Headphones"
]
EnableSequence [
cdev "hw:wm8994aif1"
cset "name='DAC1R Mixer AIF1.1 Switch' 1"
cset "name='DAC1L Mixer AIF1.1 Switch' 1"
cset "name='DAC1 Switch' 1"
cset "name='AIF1DAC1 EQ Switch' 1"
cset "name='AIF1DAC1 EQ1 Volume' 3"
cset "name='AIF1DAC1 EQ2 Volume' 8"
cset "name='AIF1DAC1 EQ3 Volume' 16"
cset "name='AIF1DAC1 EQ4 Volume' 10"
cset "name='AIF1DAC1 EQ5 Volume' 11"
cset "name='Speaker Switch' 1"
cset "name='SPKR DAC1 Switch' 1"
cset "name='SPKL DAC1 Switch' 1"
cset "name='Speaker Mixer Volume' 3"
cset "name='Speaker Boost Volume' 5"
cset "name='AIF1DAC1 DRC Switch' 1"
cset "name='Speaker Volume' 61"
cset "name='Speaker Volume' 62"
]
DisableSequence [
cdev "hw:wm8994aif1"
cset "name='DAC1R Mixer AIF1.1 Switch' 1"
cset "name='DAC1L Mixer AIF1.1 Switch' 1"
cset "name='DAC1 Switch' 1"
cset "name='Speaker Switch' 0"
cset "name='SPKR DAC1 Switch' 1"
cset "name='SPKL DAC1 Switch' 1"
cset "name='Speaker Mixer Volume' 1"
]
Value {
PlaybackChannels "2"
}
}
SectionDevice."Headphones" {
Comment "Headset Rx device"
ConflictingDevice [
"Speaker"
]
EnableSequence [
cdev "hw:wm8994aif1"
cset "name='DAC1R Mixer AIF1.1 Switch' 1"
cset "name='DAC1L Mixer AIF1.1 Switch' 1"
cset "name='DAC1 Switch' 1"
cset "name='AIF1DAC1 EQ Switch' 0"
cset "name='Headphone Switch' 1"
cset "name='Headphone Volume' 35"
]
DisableSequence [
cdev "hw:wm8994aif1"
cset "name='DAC1R Mixer AIF1.1 Switch' 1"
cset "name='DAC1L Mixer AIF1.1 Switch' 1"
cset "name='DAC1 Switch' 1"
cset "name='Headphone Switch' 0"
]
Value {
PlaybackChannels "2"
}
}