All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Marc Garnier <marc.garnier@heig-vd.ch>
Cc: Sedji Gaouaou <sedji.gaouaou@atmel.com>, alsa-devel@alsa-project.org
Subject: Re: capturing data from the microphone
Date: Wed, 6 Jan 2010 11:39:16 +0000	[thread overview]
Message-ID: <20100106113916.GA26282@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <4B446974.1090205@heig-vd.ch>

On Wed, Jan 06, 2010 at 11:44:04AM +0100, Marc Garnier wrote:
> OK, well, I work on a custom device platform based on an Atmel
> at91sam9261. I wrote an alsa driver composed of 2 files

CCing in the list and Sedji, who wrote the driver.  Please also try
avoid top posting - Linux lists generally intersperse replies with the
relevant context from the original message since it makes mails much
more legible.

> But when I want to record a pcm stream I have this error:
> # arecord -v -c 1 -t wav -f S16_LE -r 8000 -d 10 input.wav
> arecord: pcm_read:1629: read error: Input/output error

[With an AT91 in slave mode...]
> and actually no interrupt occur and I
> wonder why...

Can you see clocks on the audio interface?  Have you checked that the
pins on the processor are configured to route the signals to the correct
IP block?

  parent reply	other threads:[~2010-01-06 11:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-08 14:46 How to use soc API without codec driver Marc Garnier
2009-12-08 14:51 ` Mark Brown
2009-12-09  6:39   ` Marc Garnier
2009-12-09 10:45     ` Mark Brown
     [not found]       ` <4B44617B.2030002@heig-vd.ch>
     [not found]         ` <20100106103937.GA25344@rakim.wolfsonmicro.main>
     [not found]           ` <4B446974.1090205@heig-vd.ch>
2010-01-06 11:39             ` Mark Brown [this message]
2010-01-06 13:34               ` capturing data from the microphone Riccardo Magliocchetti
  -- strict thread matches above, loose matches on Subject: below --
2010-01-04 17:39 Riccardo Magliocchetti
2010-01-05 15:24 ` Marc Garnier
2010-01-06  1:07   ` Raymond Yau
2010-01-06  7:58     ` Marc Garnier
2010-01-06  8:46       ` Raymond Yau
2010-01-06  9:09         ` Marc Garnier
2010-01-05 16:48 ` pl bossart
2010-01-05 22:12   ` Riccardo Magliocchetti
2010-01-06 23:59     ` Raymond Yau
2010-01-07 18:34       ` Riccardo Magliocchetti
2010-01-11 13:59         ` Riccardo Magliocchetti
2010-01-11 14:03           ` Jaroslav Kysela
2010-01-14  7:49             ` Raymond Yau

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=20100106113916.GA26282@rakim.wolfsonmicro.main \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=marc.garnier@heig-vd.ch \
    --cc=sedji.gaouaou@atmel.com \
    /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.