All of lore.kernel.org
 help / color / mirror / Atom feed
* Support request for codec WM8731 porting
@ 2012-11-30 16:41 Cyril GERMAINE
  2012-11-30 17:17 ` Daniel Mack
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril GERMAINE @ 2012-11-30 16:41 UTC (permalink / raw)
  To: alsa-devel

[-- 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 --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-04 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30 16:41 Support request for codec WM8731 porting Cyril GERMAINE
2012-11-30 17:17 ` Daniel Mack
2012-12-04 13:54   ` Cyril GERMAINE

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.