All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@caiaq.org>
To: alsa-devel@alsa-project.org
Subject: Re: snd_pcm_hw_params_get_period_size points to	__old_ symbol
Date: Sun, 22 Feb 2009 23:18:54 +0100	[thread overview]
Message-ID: <20090222221854.GD5893@buzzloop.caiaq.de> (raw)
In-Reply-To: <1235340956.27887.547.camel@vega.slimlogic.co.uk>

Hi Liam,

On Sun, Feb 22, 2009 at 10:07:57PM +0000, Liam Girdwood wrote:
> > I'm currently implementing support for a board based on a PXA300 with an
> > I2S codec (CS4270) next to it. Things do work in general, including the
> > setup of the SSP engine and clocks, and when using the OSS compat layer,
> > I can see data on the bus. With the native ALSA API, however, the DMA
> > pointer does not move forward but is stuck at position 8. ALSA's core
> > calls pxa2xx_pcm_pointer() a couple of times and eventually gives up on
> > it. Unfortunately, I don't have a Zylonite board for cross-check; could
> > anyone verify that things are not currently broken in a general way?
> >
> > My code base is up-to-date to sound-2.6.git/for-2.6.30.
>
> Can't test on my zylonite atm, but static DMA pointers usually mean data
> is not being clocked out of the SSP FIFO. Can you check you are
> supplying a BCLK and LRC to the SSP port (if codec is BCLK/LRC master)
> or have enabled the PXA SSP master mode (if codec slave).

All the clocks are there, they're only driven by the Codec, and they look
fine. And thus, the CPU DAI is set to SND_SOC_DAIFMT_CBM_CFM.

What puzzles me is that the whole system works when I cat /dev/urandom
to /dev/dsp (the DMA pointer is moving forward just as expected), only
when using aplay it doesn't do anything.

Thanks,
Daniel

  reply	other threads:[~2009-02-22 22:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-22 21:35 snd_pcm_hw_params_get_period_size points to __old_ symbol Daniel Mack
2009-02-22 22:15 ` Liam Girdwood
2009-02-22 22:18   ` Daniel Mack [this message]
2009-02-22 22:22   ` Daniel Mack
2009-02-22 22:24     ` Liam Girdwood
2009-02-22 22:27       ` Daniel Mack
2009-02-22 22:32         ` Liam Girdwood
2009-02-23 11:52     ` Alan Horstmann
2009-02-23 11:32       ` Daniel Mack
2009-02-23 12:30         ` Alan Horstmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090222221854.GD5893@buzzloop.caiaq.de \
    --to=daniel@caiaq.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.