Hi, for evaluating if we should or should not finally consider the TWL6040 for the Pyra audio system, I became aware that the PandaBoard ES (also comes with the TWL6040) is capable to connect a single external speaker and drive it with up to 1.5Watts:
http://e2e.ti.com/support/omap/f/849/t/258083.aspx
So it would be possible to connect the speakers planned for the Pyra and play sounds (the OMAP5432EVM has no access to this amplifier).
I have the GTA04-3.17 Linux running on the Panda ES as well (so we have exactly the same setup as for the OMAP5432EVM except the device tree).
aplayer does something (without complaining). But I don't get sound.
Most likely the amixer settings are not ok (muted).
Here, I have found a recommended setup:
http://www.jotschi.de/Uncategorized/2011/07/01/pandaboard-audiosetup.html
but it does not match the amixer controls of the 3.17 kernel I use.
And
http://www.omappedia.com/wiki/Audio_Drive_Arch#OMAP4.2F5_ASoc_Kernel_audio_d...
wasn't enlightening either because it appears not to be up-to date with 3.17 kernel drivers.
What I have is:
root@gta04:~# amixer Simple mixer control 'Aux FM',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 7 Front Left: 0 [0%] [-18.00dB] Front Right: 0 [0%] [-18.00dB] Simple mixer control 'Capture',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 4 Front Left: Capture 1 [25%] [12.00dB] Front Right: Capture 1 [25%] [12.00dB] Simple mixer control 'Capture Preamplifier',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 1 Front Left: 1 [100%] [0.00dB] Front Right: 1 [100%] [0.00dB] Simple mixer control 'AUXL',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'AUXR',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'Analog Left',0 Capabilities: cenum Items: 'Headset Mic' 'Main Mic' 'Aux/FM Left' 'Off' Item0: 'Off' Simple mixer control 'Analog Right',0 Capabilities: cenum Items: 'Headset Mic' 'Sub Mic' 'Aux/FM Right' 'Off' Item0: 'Off' Simple mixer control 'Earphone',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 15 Mono: Playback 0 [0%] [-24.00dB] [off] Simple mixer control 'Handsfree',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 29 Mono: Front Left: Playback 0 [0%] [-52.00dB] Front Right: Playback 0 [0%] [-52.00dB] Simple mixer control 'Handsfree Left Playback',0 Capabilities: enum Items: 'Off' 'HF DAC' 'Line-In amp' Item0: 'Off' Simple mixer control 'Handsfree Right Playback',0 Capabilities: enum Items: 'Off' 'HF DAC' 'Line-In amp' Item0: 'Off' Simple mixer control 'Headset',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 15 Mono: Front Left: Playback 13 [87%] [-4.00dB] Front Right: Playback 13 [87%] [-4.00dB] Simple mixer control 'Headset Left Playback',0 Capabilities: enum Items: 'Off' 'HS DAC' 'Line-In amp' Item0: 'Off' Simple mixer control 'Headset Power Mode',0 Capabilities: enum Items: 'Low-Power' 'High-Performance' Item0: 'Low-Power' Simple mixer control 'Headset Right Playback',0 Capabilities: enum Items: 'Off' 'HS DAC' 'Line-In amp' Item0: 'Off' Simple mixer control 'PLL Selection',0 Capabilities: enum Items: 'Low-Power' 'High-Performance' Item0: 'Low-Power' Simple mixer control 'Vibra Left Playback',0 Capabilities: enum Items: 'Input FF' 'Audio PDM' Item0: 'Input FF' Simple mixer control 'Vibra Right Playback',0 Capabilities: enum Items: 'Input FF' 'Audio PDM' Item0: 'Input FF' root@gta04:~#
So does anyone know a pointer to a simple (command line) setup for the PandaBoard to get sound on the headset jack and the speaker interface (J6) of the PandaBoard ES?
Most likely it should be the same for OMAP5.
BR, Nikolaus