Audio Playback Mangoh Yellow + WP7611

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

How about using AT command?

@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

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

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. Thanksyellow.sdef|attachment (2.9 KB)

Hi @asyal
Any idea on this?

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

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.

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.

That fixed it! Thanks so much.