[Gta04-owner] [PATCH 3/6] configs: fix tinyalsa settings for 4.10 kernels
Andreas Kemnade
andreas at kemnade.info
Sun Apr 23 09:36:12 CEST 2017
This adapts for new mixer names in 4.10 kernel
Voice PCM Interface login seems to be working
Known problem:
- Voice PCM Out cannot be set this way for some unknown reason.
but can be switched via amixer.
- The mediaserver needs to be killed once after bootup to have sound
at all (probably not related to this patch)
Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
---
configs/tinyalsa-audio_hwrouting.xml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/configs/tinyalsa-audio_hwrouting.xml b/configs/tinyalsa-audio_hwrouting.xml
index 9d03f08..f5cd983 100644
--- a/configs/tinyalsa-audio_hwrouting.xml
+++ b/configs/tinyalsa-audio_hwrouting.xml
@@ -5,7 +5,8 @@
<device type="default">
<path type="enable">
<ctrl name="Codec Operation Mode" value="Option 2 (voice/audio)" /> <!-- needed for hwrouting, can only be set if no streams open -->
- <ctrl name="Voice route" value="Voice to SoC" />
+ <ctrl name="Voice PCM Interface" value="inactive" /> <!-- needed for hwrouting -->
+ <ctrl name="Voice PCM Out" value="off" /> <!-- needed for hwrouting -->
<ctrl name="AVADC Clock Priority" value="HiFi high priority" />
<ctrl name="DAC1 Analog Playback Switch" value="off" /> <!-- DAC1 not used in GTA04 -->
@@ -132,7 +133,8 @@
<modem card="0" device="0">
<device type="default">
<path type="enable">
- <ctrl name="Voice route" value="Voice to twl4030" /> <!-- needed for hwrouting -->
+ <ctrl name="Voice PCM Interface" value="active" /> <!-- needed for hwrouting -->
+ <ctrl name="Voice PCM Out" value="on" /> <!-- needed for hwrouting -->
<ctrl name="AVADC Clock Priority" value="Voice high priority" /> <!-- needed for hwrouting -->
<ctrl name="TX1 Capture Route" value="Analog" />
@@ -148,7 +150,8 @@
<ctrl name="DAC Voice Analog Downlink Switch" value="off" />
<ctrl name="DAC2 Analog Playback Switch" value="on" />
- <ctrl name="Voice route" value="Voice to SoC" />
+ <ctrl name="Voice PCM Interface" value="inactive" />
+ <ctrl name="Voice PCM Out" value="off" /> <!-- needed for hwrouting -->
<ctrl name="AVADC Clock Priority" value="HiFi high priority" />
</path>
</device>
--
2.1.4
More information about the Gta04-owner
mailing list