# Audio Playback Mangoh Yellow + WP7611

**URL:** <https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297>\
**Category:** mangOH Yellow\
**Created:** [March 9, 2021, 3:30pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297 "2021-03-09T15:30:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)\
**Post date:** [March 9, 2021, 3:30pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/1 "2021-03-09T15:30:57Z")

</div>

Has anyone tried performing audio playback on a mangoh yellow? I’ve tried a few different approaches, but the only way it works for me is if I do not use the mangoh repo makefiles. (IE ‘make yellow\_wp76xx’). If i build a very basic system using app (voiceCallApp) and its associated sdef file, audio and microphone works fine(after getting custom changed mangoh yellow boards with R713 and R714 changes). But if I try and build an image for mangoh and use test apps like ‘audioPlaybackRec’, nothing works. I cannot hear anything played over the headset.

For my application, I need to use the mangoh makefiles as I require wifi, but I suspect something is wrong or changed for the audio when doing this.

Command I’m using for audioPlaybackRec:  
app runProc audioPlaybackRec --exe=audioPlaybackRecTest – PB\_SAMPLES MIC /usr/share/sounds/0-to-9.wav 1 8000 16

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 9, 2021, 4:13pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/2 "2021-03-09T16:13:09Z")

</div>

How about using AT command?

> [@Mangoh Red Voice Call App not able to hear the response](https://mangoh.discourse.group/t/mangoh-red-voice-call-app-not-able-to-hear-the-response/5570/2):
>
> I don’t see problem to hear voice on mangoh board when voice call. How about using at!avaudio to check if you can do audio playback first? root@swi-mdm9x28-wp:~# microcom /dev/ttyAT ati3 Manufacturer: Sierra Wireless, Incorporated Model: WP7605 Revision: SWI9X07Y\_02.28.03.05 000000 jenkins 2019/07/08 11:04:16 IMEI: 353532100020465 IMEI SV: 6 FSN: 2A917285070404 +GCAP: +CGSM OK at!avcfg=5,1,2 OK AT!AVSETPROFILE=5 OK AT!AVAUDIO=1,1,/home/root/0-to-9\_8k.wav OK [1674.996800] afe\_…

---

<div class="post-metadata">

**Author:** ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)\
**Post date:** [March 10, 2021, 4:08pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/3 "2021-03-10T16:08:40Z")

</div>

@jyijyi : Tried the the following (after sending the file to the /home/root directory and the only thing I hear in the headphones is a click when it starts and a click when it ends:

root@swi-mdm9x28-wp:~# microcom /dev/ttyAT  
ati3  
Manufacturer: Sierra Wireless, Incorporated  
Model: WP7611  
Revision: SWI9X07Y\_02.37.00.00 6c0fe9 jenkins 2020/01/17 01:29:47  
IMEI: 355882100112020  
IMEI SV: 11  
FSN: ZU026280610610  
+GCAP: +CGSM,+DS,+ES

OK  
at!avcfg=5,1,2  
OK  
AT!AVSETPROFILE=5  
OK  
AT!AVAUDIO=1,1,/home/root/0-to-9\_8k.wav  
ERROR  
AT!AVAUDIO=1,1,/home/root/0-to-9\_8k.wav  
ERROR  
root@swi-mdm9x28-wp:~# microcom /dev/ttyAT  
AT  
OK  
AT!AVAUDIO=1,1,/home/root/0-to-9.wav  
OK

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 10, 2021, 4:21pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/4 "2021-03-10T16:21:23Z")

</div>

Probably need to remove the mangoh yellow application one by one to identify which part makes the problem

> <https://github.com/mangOH/mangOH/blob/master/yellow.sdef>

---

<div class="post-metadata">

**Author:** ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)\
**Post date:** [March 10, 2021, 9:03pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/5 "2021-03-10T21:03:54Z")

</div>

I spent all day doing as recommended and found that audio is not restored till I comment out the following 2 files in the kernel. I spent a while trying to figure out what in mangoh\_yellow\_dev.mdef is causing the issue, but its too complicated for me to figure out. Any way this can be passed to internal teams?

kernelModules:  
{  
//$CURDIR/linux\_kernel\_modules/mangoh/mangoh\_yellow\_dev  
//$CURDIR/linux\_kernel\_modules/rtc\_sync/rtc\_sync  
}

Actual file is attached. Thanks ![yellow.sdef|attachment](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/4/4812e65484f4b5130e6dd6404a6ab783736723e9.sdef) (2.9 KB)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 11, 2021, 3:43am UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/6 "2021-03-11T03:43:17Z")

</div>

Hi @asyal  
Any idea on this?

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [March 11, 2021, 5:58pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/7 "2021-03-11T17:58:09Z")

</div>

Does WiFi and audio work with these two drivers commented out?

---

<div class="post-metadata">

**Author:** ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)\
**Post date:** [March 11, 2021, 6:10pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/8 "2021-03-11T18:10:58Z")

</div>

Audio works when those 2 drivers are commented out, but the i2c bus was taken down without the drivers, so wifi doesn’t work anymore and that is mandatory for our application.

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [March 11, 2021, 6:22pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/9 "2021-03-11T18:22:09Z")

</div>

Can you try this:  
in file  
linux\_kernel\_modules/expander/expander.c  
ret = gpio\_initial\_status(pdev, &dev\_attr\_pcm\_sel, PCM\_SEL, 0,  
&dev-\>pcm\_sel\_val, false);

set the value of PCM\_SEL to 1  
and rebuild.

This would be the first thing to try.

---

<div class="post-metadata">

**Author:** ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)\
**Post date:** [March 11, 2021, 7:29pm UTC](https://mangoh.discourse.group/t/audio-playback-mangoh-yellow-wp7611/6297/10 "2021-03-11T19:29:34Z")

</div>

That fixed it! Thanks so much.
