/usr/share/alsa/ucm/broadwell-rt286/HiFi is in libasound2-data 1.1.0-0ubuntu1.
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 129 130 131 132 133 | # Use case Configuration for Nexus 7
# Adapted to Ubuntu Touch by David Henningsson <david.henningsson@canonical.com>
SectionVerb {
EnableSequence [
]
DisableSequence [
]
# ALSA PCM
Value {
# ALSA PCM device for HiFi
PlaybackPCM "hw:broadwellrt286"
CapturePCM "hw:broadwellrt286"
}
}
SectionDevice."Headphones" {
Comment "Headphones playback"
ConflictingDevice [
"Speaker"
]
EnableSequence [
cdev "hw:broadwellrt286"
cset "name='Master Playback Volume' 30"
cset "name='HPO L Switch' on"
cset "name='HPO R Switch' on"
cset "name='Headphone Jack Switch' on"
cset "name='DAC0 Playback Volume' 100"
]
DisableSequence [
cdev "hw:broadwellrt286"
cset "name='Headphone Jack Switch' off"
cset "name='HPO L Switch' off"
cset "name='HPO R Switch' off"
]
Value {
PlaybackChannels "2"
JackDev "rt286-jack"
JackControl "Headphone Jack"
JackHWMute "Speaker"
}
}
SectionDevice."Speaker" {
Comment "Speaker playback"
ConflictingDevice [
"Headphones"
]
EnableSequence [
cdev "hw:broadwellrt286"
cset "name='Master Playback Volume' 30"
cset "name='DAC0 Playback Volume' 127"
cset "name='SPO Switch' on"
cset "name='Speaker Playback Switch' on"
cset "name='Speaker Switch' on"
]
DisableSequence [
cdev "hw:broadwellrt286"
cset "name='Speaker Switch' off"
cset "name='Speaker Playback Switch' off"
cset "name='SPO Switch' 0"
]
Value {
PlaybackChannels "2"
}
}
SectionDevice."Handset" {
Comment "Handset Microphone"
ConflictingDevice [
"Mainmic"
]
EnableSequence [
cdev "hw:broadwellrt286"
cset "name='Mic Capture Volume' 28"
cset "name='ADC 0 Mux' 0"
cset "name='ADC0 Capture Switch' on"
cset "name='ADC0 Capture Volume' 127"
cset "name='AMIC Volume' 1"
]
DisableSequence [
cdev "hw:broadwellrt286"
cset "name='ADC0 Capture Switch' off"
]
Value {
CaptureChannels "2"
JackDev "rt286-jack"
JackControl "Mic Jack"
JackHWMute "Mainmic"
}
}
SectionDevice."Mainmic" {
Comment "Main Microphone"
ConflictingDevice [
"Handset"
]
EnableSequence [
cdev "hw:broadwellrt286"
cset "name='Mic Capture Volume' 30"
cset "name='ADC 0 Mux' 2"
cset "name='ADC0 Capture Switch' on"
cset "name='ADC0 Capture Volume' 127"
]
DisableSequence [
cdev "hw:broadwellrt286"
cset "name='ADC0 Capture Switch' off"
]
Value {
CaptureChannels "2"
}
}
|