Skip to content

Commit 2230f65

Browse files
author
padmashree mandri
committed
Enable HDA on Intel Platform
This patch adds changes to load all audio modules for HDA soundcard. This also enables required mixer controls for HDA. Tests Done: Speaker playback works fine. 3.5mm playback and capture works fine. Signed-off-by: padmashree mandri <padmashree.mandri@intel.corp-partner.google.com>
1 parent 095f6ea commit 2230f65

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

groups/audio/project-celadon/default/mixer_paths_0.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
<mixer>
22
<!-- These are the initial mixer settings -->
3-
<ctl name="Master Playback Volume" value="87 87" />
3+
<ctl name="Master Playback Volume" value="74 74/" />
44
<ctl name="Master Playback Switch" value="1 1" />
5-
<ctl name="Headphone Playback Switch" value="0 0" />
5+
<ctl name="Headphone Playback Switch" value="1 1" />
66
<ctl name="Speaker Playback Switch" value="0 0" />
7+
<ctl name="Speaker Playback Volume" value="74 74" />
78
<ctl name="Capture Switch" value="0 0" />
9+
<ctl name="Speaker Playback Switch" value="1 1" />
10+
<ctl name="Mic Boost Volume" value="1" />
811

912
<path name="speaker">
1013
<ctl name="Master Playback Switch" value="1 1" />

groups/audio/project-celadon/init.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
on post-fs && property:vendor.intel.enable.audio=legacy-hda
1+
on post-fs
22
insmod /vendor/lib/modules/snd-compress.ko
33
insmod /vendor/lib/modules/snd-ctl-led.ko
44
insmod /vendor/lib/modules/snd-hda-core.ko

0 commit comments

Comments
 (0)