This file is indexed.

/usr/share/alsa/ucm/tegra-rt5640/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
# 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:tegrart5640"
		CapturePCM "hw:tegrart5640"
	}
}

SectionDevice."Headphones" {
	Comment "Headphones playback"

	ConflictingDevice [
		"Speaker"
	]

	EnableSequence [
		cdev "hw:tegrart5640"
		cset "name='Headphone Jack Switch' on"
		cset "name='HP Playback Switch' on"
		cset "name='HP Playback Volume' 29"
	]

	DisableSequence [
		cdev "hw:tegrart5640"
		cset "name='Headphone Jack Switch' on"
		cset "name='HP Playback Switch' off"
		cset "name='HP Playback Volume' 0"
	]

	Value {
		PlaybackChannels "2"
	}
}

SectionDevice."Speaker" {
	Comment "Speaker playback"

	ConflictingDevice [
		"Headphones"
	]

	EnableSequence [
		cdev "hw:tegrart5640"
		cset "name='Int Spk Switch' on"
		cset "name='Speaker Playback Switch' on"
		cset "name='Speaker Playback Volume' 29"
	]

	DisableSequence [
		cdev "hw:tegrart5640"
		cset "name='Int Spk Switch' off"
		cset "name='Speaker Playback Switch' off"
		cset "name='Speaker Playback Volume' 0"
	]

	Value {
		PlaybackChannels "2"
	}
}

SectionDevice."Handset" {
	Comment "Main Microphone"

	EnableSequence [
		cdev "hw:tegrart5640"

		cset "name='ADC Switch' on"
		cset "name='ADC Capture Switch' on"
		cset "name='ADC Capture Volume' 100"
		cset "name='ADC Boost Gain' 1"
		cset "name='DMIC Switch' DMIC1"
		cset "name='Int Mic Switch' on"
	]

	DisableSequence [
		cdev "hw:tegrart5640"
		cset "name='ADC Switch' off"
		cset "name='ADC Capture Switch' off"
		cset "name='Int Mic Switch' off"
	]

	Value {
		CaptureChannels "2"
	}
}