Audio routing through stereo connector (Android)

Good Morning,

DragonBoard410c
Kernel version: 3.10.49-g0b014e2-00006-g1982baf buildslave@aosp-x86-64-08 #17
Build number: msm8916_64-userdebug 5.1.1 LMY47V 99 test-keys

I am trying to route the audio from my DB410c to the J7 connector, as in the manual (Stereo Connector and Audio Routing on DragonBoard 410c Application Note). I made the following script:

adb devices
adb root
adb remount
adb shell

tinymix 'PRI_MI2S_RX Audio Mixer MultiMedia1' 1

tinymix 'RX1 MIX1 INP1' 'RX1'

tinymix 'RX2 MIX1 INP1' 'RX2'

tinymix 'RDAC2 MUX' 'RX2'

tinymix 'HPHL' 'Switch'

tinymix 'HPHR' 'Switch'

tinymix 'MI2S_RX Channels' 'Two'

tinyplay /data/audio/test.wav
(Here I have the following problem: Unable to open file ’ /data/audio/test.wav)

tinyplay /data/audio/left.wav
(Here I have the following problem: Unable to open file ’ /data/audio/left.wav)

tinyplay /data/audio/right.wav
(Here I have the following problem: Unable to open file ’ /data/audio/right.wav)

Finally, there is no change in audio routing to the J7 connector.

Can anyone help me forward the audio to the J7 connector?

I need my android software to detect when the headset is plugged in and unplugged.

Hello Augusto,
I am using the same Android version and I can recommend you to test the hardware connection by installing an app like Internet radio and listen to some music.
It is working for me…
I would also recommend the use of the Audio Mezzanine board, it is very cheap and has already a clean connection and jack connector.
If you can listen the music maybe check again your procedure, I never used this procedure myself.

Hope this help
jean-marc

Sorry about my answer I did noticed you cannot find files…