Skip to contentSkip to conversation

ALSA with linux-omap

DISCUSSION Philip Balister 2 participants 2 messages Jan 16, 2009

lore
Share & tools
lore
#0 lore raw

I'm trying to run some code that uses ALSA to playback audio with the "new pm branch". Unfortunately, I do not think ALSA is working.

It feels like alsa stops accepting data and then blocks, so our application stops. (Based on some observations of processor usage)

cat /dev/random > /dev/dsp make a brief soft sound, then stops. Ctrl-c and you can hear a pop a few seconds later.

Does this make any sense to anyone? The non pm kernels have been working great.

Philip

#1 lore raw
Quoted 3 lines · On Thu, 15 Jan 2009 18:24:25 -0700 "ext Philip Balister" <[email protected]>…

cat /dev/random > /dev/dsp make a brief soft sound, then stops. Ctrl-c and you can hear a pop a few seconds later.

This sounds like digital audio link between cpu and codec is working but DMA stalls after transmitting one ALSA period or buffer.

What's your HW? And probably you are using ASoC on OMAP. I.e. CONFIG_SND_SOC & CONFIG_SND_OMAP_SOC?

Quoted 3 lines

Does this make any sense to anyone? The non pm kernels have been working great.

I'm also curious to know since unfortunately I haven't investigated yet how well ASoC OMAP drivers co-operate with the dynamic PM.

Jarkko