Pandaboard Audiosetup

To get audio with the pandaboard working all you need is the following commands. This was tested with the ubuntu natty omap image.<a id="more"></a><a id="more-550"></a>

(all tested as root)
Play:
# config mixers
amixer cset name='DL1 Mixer Multimedia' 1
amixer cset name='DL1 Media Playback Volume' 118
amixer cset name='Sidetone Mixer Playback' 1
amixer cset name='SDT DL Volume' 120
amixer cset name='DL1 PDM Switch' 1
amixer cset name='HS Left Playback' 'HS DAC'
amixer cset name='HS Right Playback' 'HS DAC'
amixer cset name='Headset Playback Volume' 13

# example play command
aplay -Dhw:0,6 -M -f S16_LE -r 44100 -c 2 test.wav

Record:
# config mixers
amixer cset name='AMIC_UL PDM Switch' 1
amixer cset name='MUX_UL00' 'AMic0'
amixer cset name='MUX_UL01' 'AMic1'
amixer cset name='Analog Left Capture Route' 'Headset Mic'
amixer cset name='Analog Right Capture Route' 'Headset Mic'
amixer cset name='Capture Preamplifier Volume' 2
amixer cset name='Capture Volume' 4

# example record command:
arecord -D plughw:0,0 -d 5 -f S16_LE -c 2 -r 48000 record.wav