[alsa-devel] [PATCH 0/7] WM8580 updates
Seungwhan Youn
claude.youn at gmail.com
Thu Aug 19 13:37:45 CEST 2010
On Mon, Aug 16, 2010 at 11:49 PM, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> On Mon, Aug 16, 2010 at 06:44:28PM +0900, Seungwhan Youn wrote:
>> On Sun, Aug 15, 2010 at 8:10 PM, Mark Brown
>
>> - CPU board Rev. 1.0
>> - Base board Rev. 1.0 (2008.07.23)
>
>> Board switch settings
>
>> - Base board
>> - CFG1 - 0000 (all off)
>> - CFG2 - 1000 (only 1 pin is on, others off)
>
> Hrm, I have CFG2 all on. Why would I want a mixed configuration?
>
>> - CFG5 - set I2SMULTI_CDCLK (pin 1-2 connected)
>
> I have pins 2 and 3 connected (which was the board default as shipped)
> but this does sound like it might be relevant. Unfortunately I don't
> have a schematic for the R1.0 base board so I can't comment on this
> configuration. If you could supply me with an updated schematic that'd
> be great.
>
>> [root at Samsung ~]# arecord -Dhw:0,1 -d5 -fS16_LE -r48000 -c2 >
>
> -f dat might be easier here FWIW. Once the S3C CPU has started
> reporting errors it tends not to recover terribly well so any further
> tests you've done without a reboot are a bit suspect.
>
Hi,
I setup my SMDK6410 as you note before. and, test again. I'm concerned
about my test process is right, because capture is still not working
on my test. Is there any problem with my test? or should I have to
write some more information about this test?
Details are following... :-
Board environment
- CPU board setting
- CFG6 - 1111 (all on)
- Base board settings
- CFG1 - 0000 (all off)
- CFG2 - 1111 (all on)
- CFG5 - connect pin 2 and 3
Kernel
- repos ; git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git
- branch ; for-2.6.37
- based on ; commit id - b6905d0b1652efddb96cefdb3c8552cac8d98ed2
- config ; Add I2S driver and ALSA as a static into kernel(not a
module), remove AC97, and remove 'Secure Digital Host Controller
Interface support' on SDMMC, because of compile error.
(http://www.spinics.net/lists/arm-kernel/msg95847.html)
Test Process and Log capture...
(removed lot's of "WARNING: at fs/inode.c:692
unlock_new_inode+0x20/0x3c()" warnings)
--
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36-rc1-90955-gb6905d0 (claude at starstone) (gcc
version 4.4.1 (Sourcery G++ Lite 2009q3-67) )0
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SMDK6410
Ignoring unrecognised tag 0x41001099
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
...
asoc: wm8580-hifi-playback <-> s3c64xx-iis-v4 mapping ok
asoc: wm8580-hifi-capture <-> s3c64xx-iis-v4 mapping ok
ALSA device list:
#0: smdk64xx
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
s3c-rtc s3c64xx-rtc: hctosys: invalid date/time
RAMDISK: cramfs filesystem found at block 0
...
Samsung SMDK Board on a armv6l
Samsung login: root
login[981]: root login on 'ttySAC0'
[root at Samsung ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: smdk64xx [smdk64xx], device 0: Playback wm8580-hifi-playback-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
[root at Samsung ~]# speaker-test -tsine
speaker-test 1.0.15
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 32768
Period size range from 1024 to 2048
Using max buffer size 32768
Periods = 4
was set period_size = 2048
was set buffer_size = 32768
0 - Front Left
Time per period = 2.583049
0 - Front Left
Time per period = 2.986436
0 - Front Left
Time per period = 2.986436
0 - Front Left
--> I pushed 'ctrl+c', because I can hear clear sine sound.
[root at Samsung ~]# arecord -Dhw:0,1 -d5 -c2 -fS16_LE > /tmp/tmp.wav
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
--> record finished about 3sec later, not 5sec.
[root at Samsung ~]# aplay /tmp/tmp.wav
Playing WAVE '/tmp/tmp.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
--> When I start to play captured file, I heard a noise sound but
finished without error.
[root at Samsung ~]#
--
Best Regards,
Claude.
More information about the Alsa-devel
mailing list