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
@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:
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
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?
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);