/usr/share/alsa/ucm/skylake-rt286/HiFi is in libasound2-data 1.1.3-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | # Usecase for stereo playback Speaker and Headset, Recording on DMIC and Headset MIC.
# For Audio in I2S mode on Intel SKYLAKE/KABYLAKE platforms
SectionVerb {
EnableSequence [
cdev "hw:skylakert286"
cset "name='media0_out mo dmic01_hifi_in mi Switch' 1"
]
DisableSequence [
cdev "hw:skylakert286"
]
Value {
TQ "HiFi"
CapturePCM "hw:skylakert286,1"
PlaybackPCM "hw:skylakert286,0"
}
}
SectionDevice."Headphones" {
Comment "Headphones"
ConflictingDevice [
"Speaker"
]
EnableSequence [
cdev "hw:skylakert286"
cset "name='HPO L Switch' 1"
cset "name='HPO R Switch' 1"
cset "name='Headphone Jack Switch' 1"
cset "name='Speaker Playback Switch' 0,0"
]
DisableSequence [
]
Value {
PlaybackChannels "2"
PlaybackPriority "1"
JackControl "Headphone Jack"
JackHWMute "Speaker"
}
}
SectionDevice."Speaker" {
Comment "Speaker"
ConflictingDevice [
"Headphones"
]
EnableSequence [
cdev "hw:skylakert286"
cset "name='SPO Switch' 1"
cset "name='Speaker Playback Switch' 1,1"
cset "name='Speaker Switch' 1"
cset "name='HPO L Switch' 0"
cset "name='HPO R Switch' 0"
]
DisableSequence [
]
Value {
PlaybackChannels "2"
PlaybackPriority "1"
JackHWMute "Headphones"
}
}
SectionDevice."Headset" {
Comment "Headset Mic"
ConflictingDevice [
"dmiccap"
]
EnableSequence [
cdev "hw:skylakert286"
cset "name='media0_out mo codec0_in mi Switch' 1"
cset "name='ADC0 Capture Switch' 1,1"
cset "name='ADC 0 Mux' 0"
cset "name='Mic Jack Switch' 1"
cset "name='media0_out mo dmic01_hifi_in mi Switch' 0"
]
DisableSequence [
cdev "hw:skylakert286"
cset "name='media0_out mo dmic01_hifi_in mi Switch' 1"
cset "name='media0_out mo codec0_in mi Switch' 0"
]
Value {
CaptureChannels "2"
CapturePriority "2"
JackControl "Mic Jack"
}
}
SectionDevice."dmiccap" {
Comment "DMIC Stereo"
ConflictingDevice [
"Headpset"
]
EnableSequence [
cdev "hw:skylakert286"
cset "name='media0_out mo dmic01_hifi_in mi Switch' 1"
cset "name='media0_out mo codec0_in mi Switch' 0"
cset "name='ADC0 Capture Switch' 0,0"
cset "name='Mic Jack Switch' 0"
cset "name='ADC 0 Mux' 0"
]
DisableSequence [
cdev "hw:skylakert286"
cset "name='media0_out mo codec0_in mi Switch' 1"
cset "name='media0_out mo dmic01_hifi_in mi Switch' 0"
cset "name='ADC0 Capture Switch' 1,1"
cset "name='Mic Jack Switch' 1"
cset "name='ADC 0 Mux' 2"
]
Value {
CaptureChannels "2"
CapturePriority "2"
}
}
|