linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: eshe168 <eshe168@gmail.com>
To: timur <timur@tabi.org>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	zhphsearch <zhphsearch@163.com>
Subject: P1022 audio driver help!
Date: Fri, 30 May 2014 14:03:53 +0800	[thread overview]
Message-ID: <2014053014034907812079@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 907 bytes --]

@timur

hi,

Audio card (wm8776) cannot work in full duplex, CPU is FSL P1022.
The PCB design about audio card reference FSL P1022 development board, and palying or recording is OK separately.

My question is whether P1022 audio driver cannot support full duplex?

The following is my test method.
test script:
#!/bin/sh
echo "start plarying"  
aplay /nor-disk/audiosrv/Success.wav & 
sleep 1
echo "start recording" 
arecord -d 5 -t wav -D "plug:SLAVE='hw:0,1'" -r 19886 test.wav

when start "record", "aplay" just suspend, and I cannot listen voice. when record is over, I found aplay still suspend.
according to "ps -aux":
root 1499 0.2 0.1 4012 1500 pts/0 S 08:25 0:00 aplay /nor-disk/audiosrv/Success.wav

But, I run this script in a PC linux, I can listen the voice, the audio card can record my voice simultaneous.

Looking forward your response!

Thanks! 




B.R.
YXS

[-- Attachment #2: Type: text/html, Size: 2887 bytes --]

             reply	other threads:[~2014-05-30  6:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30  6:03 eshe168 [this message]
2014-05-30 15:48 ` P1022 audio driver help! Timur Tabi
2014-06-02 14:05   ` eshe168
2014-06-02 15:52     ` Timur Tabi

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=2014053014034907812079@gmail.com \
    --to=eshe168@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=timur@tabi.org \
    --cc=zhphsearch@163.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).