How to get standard ALSA applications to work on mangOH Green?


#1

Hi.

I’ve cross compiled a few standard alsa applications and tried to get them to work on mangOH Green without success.

Is there anyone that have done this successfully that can give some suggestions on what to do?
My goal is to get linphone to work.

I’m using Legato 16.10.3 on the mangOH Green board.


#2

@gregnietsky do you have some input?


#3

likely has not compiled in the the DSP/OSS bits into the kernel the bellow is what i include to get linphone to work with a USB sound dongle via ALSA

   select SOUND_OSS_CORE
   select SOUND_OSS_CORE_PRECLAIM
   select CONFIG_SND_OSSEMUL
   select SND_MIXER_OSS
   select SND_PCM_OSS
  select SND_PCM_OSS_PLUGINS

#4

I got standard linux alsa applications to work on the mangoh green board (wp7502) with a standard system compiled by sierra by executing these commands after boot:

amix ‘PRI_RX Audio Mixer MultiMedia1’ 1
amix ‘Sys Clock Enable Switch’ 1
amix ‘Capture PGA Mute Switch’ 1
amix ‘Digital Playback Mute Switch’ 1
amix ‘Digital Playback Volume’ 192
amix ‘Speaker Playback Volume’ 57
amix ‘Speaker Playback Mute Switch’ 1
amix ‘SPKOUTP VDD Enable Switch’ 1
amix ‘SPKOUTN VDD Enable Switch’ 1
amix ‘SPKOUTP Mute Switch’ 1
amix ‘SPKOUTN Mute Switch’ 1
amix ‘SPKOUTP Enable Switch’ 1
amix ‘SPKOUTN Enable Switch’ 1
amix ‘ADC Mute All Switch’ 1
amix ‘Speaker Function’ 1
amix ‘SPKOUTP Mixer Speak PGA to Speaker P Switch’ 1
amix ‘SPKOUTN Mixer Speak PGA to Speaker N Switch’ 1
amix ‘Speaker Mixer DAC to Speak PGA Switch’ 1
amix ‘MultiMedia1 Mixer PRI_TX’ 1
amix ‘Input PGA Enable Switch’ 1
amix ‘Left ADC Enable Switch’ 1
amix ‘Input PGA AUX to Invert InPGA Switch’ 1
amix ‘Input PGA IN1 to InPGA Switch’ 1