Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril GERMAINE <c.germaine@elno.fr>
To: alsa-devel@alsa-project.org
Subject: Support request for codec WM8731 porting
Date: Fri, 30 Nov 2012 17:41:15 +0100	[thread overview]
Message-ID: <50B8E1AB.6000006@elno.fr> (raw)

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

Hello,

I work on a board based from DM365EVM baseboard, but with the WM8731 
codec instead of the TLV320AIC3x.
I tried with several linux kernels (one is the 3.6.6 release). Now the 
playback works but not the capture, and I'm not able to debug this 
issue. I have many "0" frames in the captured data, although data and 
rate on I2S bus is OK. 22 null frames, then 2 non null frames. I tried 
to capture a sinusoidal wave.

Version of kernel : 3.6.6-dirty
Version of alsa lib : 1.0.25

Here are the attached files:
- dmesg.txt : dmesg log after kernel init
- .config
- all the files of the kernel I modified/added for my board
- capture_alsalib_traces.txt : some traces I put in the alsa lib during 
capture
- dmesg_capture.txt : some traces I put in the kernel during capture
- capture_test.wav.hexdump : the result of the capture (arecord -f S16_LE)

I modified the wm8731.c file because I wasn't able to activate the 
required functions of the codec with alsamixer, and I don't undestand 
how dapm works...

Maybe I missed something in the board or platform dependant files? About 
the DMA? I don't undestand why the playback works but not the capture.
I also worked with the kernel provided with the DM365EVM board (from 
Montavista, linux_2.6.18_pro500, DaVinciLSP_02_10_00_08), the results 
are better, I "only" have one null frame for 2 frames, even with a 
stereo input signal (on the left and right input line).

Thanks for your help.


[-- Attachment #2: files_attached.tar.gz --]
[-- Type: application/x-gzip, Size: 31320 bytes --]

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2012-11-30 16:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-30 16:41 Cyril GERMAINE [this message]
2012-11-30 17:17 ` Support request for codec WM8731 porting Daniel Mack
2012-12-04 13:54   ` Cyril GERMAINE

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=50B8E1AB.6000006@elno.fr \
    --to=c.germaine@elno.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox