<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello all,<br>
<br>
Any response on this ?<br>
<br>
Regards<br>
Yasir<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF800976"><font color="#000000" size="2" face="Tahoma"><b>From:</b> Khan, Yasir<br>
<b>Sent:</b> Thursday, October 23, 2014 5:45 AM<br>
<b>To:</b> elinux-minnowboard@lists.elinux.org<br>
<b>Subject:</b> alsa-utils: Unable to record audio using arecord<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hello all,<br>
<br>
I am trying to record audio using arecord on minnowboard v1 with latest angstrom images downloaded from official mirror from minnowboard.org. The problem is that I am unable to record anything. I have un-muted the mic and set other settings using alsamixer.
I am able to play a wav file using aplay but arecord doesn't seem to work. Another team reported that they faced the same issue on another board so chances of wrong setup or damaged hardware are minimal. arecord in verbose mode shows input levels to be 0%
at all times. Kindly see my steps below and correct me if I am doing something wrong. Thanks<br>
<br>
Below is the log:<br>
<br>
####### list of modules loaded ###########<br>
root@minnow:~# lsmod<br>
Module Size Used by<br>
emgd 576557 5 <br>
drm_kms_helper 30448 1 emgd<br>
drm 214113 7 emgd,drm_kms_helper<br>
agpgart 26747 1 drm<br>
nf_conntrack_ipv4 13548 2 <br>
nf_defrag_ipv4 1101 1 nf_conntrack_ipv4<br>
xt_connmark 1543 2 <br>
nf_conntrack 65114 2 xt_connmark,nf_conntrack_ipv4<br>
iptable_mangle 1339 1 <br>
iptable_filter 1270 0 <br>
ip_tables 11330 2 iptable_filter,iptable_mangle<br>
x_tables 14702 4 ip_tables,iptable_filter,xt_connmark,iptable_mangle<br>
nfnetlink 3647 1 <br>
snd_hda_codec_realtek 58212 1 <br>
snd_hda_intel 30097 0 <br>
pch_can 10976 0 <br>
snd_hda_codec 92880 2 snd_hda_codec_realtek,snd_hda_intel<br>
can_dev 8085 1 pch_can<br>
snd_pcm 71468 2 snd_hda_codec,snd_hda_intel<br>
snd_page_alloc 7384 2 snd_pcm,snd_hda_intel<br>
snd_timer 16602 1 snd_pcm<br>
snd 45144 5 snd_hda_codec_realtek,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel<br>
pch_phub 8005 0 <br>
soundcore 842 1 snd<br>
pch_gbe 50922 0 <br>
ptp_pch 6620 1 pch_gbe<br>
ptp 7869 1 ptp_pch<br>
pps_core 9432 1 ptp<br>
minnowboard_keys 1370 0 <br>
minnowboard_gpio 1679 0 <br>
iwlwifi 71484 0 <br>
firmware_class 12759 1 iwlwifi<br>
cfg80211 432319 1 iwlwifi<br>
<br>
<br>
####### Recording using arecord ###################<br>
root@minnow:~# arecord -d 5 test.wav -vvv<br>
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono<br>
Plug PCM: Rate conversion PCM (48000, sformat=U8)<br>
Converter: linear-interpolation<br>
Protocol version: 10002<br>
Its setup is:<br>
stream : CAPTURE<br>
access : RW_INTERLEAVED<br>
format : U8<br>
subformat : STD<br>
channels : 1<br>
rate : 8000<br>
exact rate : 8000 (8000/1)<br>
msbits : 8<br>
buffer_size : 2730<br>
period_size : 682<br>
period_time : 85312<br>
tstamp_mode : NONE<br>
period_step : 1<br>
avail_min : 682<br>
period_event : 0<br>
start_threshold : 1<br>
stop_threshold : 2730<br>
silence_threshold: 0<br>
silence_size : 0<br>
boundary : 357826560<br>
Slave: Route conversion PCM (sformat=S16_LE)<br>
Transformation table:<br>
0 <- 0*0.5 + 1*0.5<br>
Its setup is:<br>
stream : CAPTURE<br>
access : MMAP_INTERLEAVED<br>
format : U8<br>
subformat : STD<br>
channels : 1<br>
rate : 48000<br>
exact rate : 48000 (48000/1)<br>
msbits : 8<br>
buffer_size : 16380<br>
period_size : 4095<br>
period_time : 85312<br>
tstamp_mode : NONE<br>
period_step : 1<br>
avail_min : 4095<br>
period_event : 0<br>
start_threshold : 6<br>
stop_threshold : 16380<br>
silence_threshold: 0<br>
silence_size : 0<br>
boundary : 2146959360<br>
Slave: Hardware PCM card 0 'HDA Intel MID' device 0 subdevice 0<br>
Its setup is:<br>
stream : CAPTURE<br>
access : MMAP_INTERLEAVED<br>
format : S16_LE<br>
subformat : STD<br>
channels : 2<br>
rate : 48000<br>
exact rate : 48000 (48000/1)<br>
msbits : 16<br>
buffer_size : 16380<br>
period_size : 4095<br>
period_time : 85312<br>
tstamp_mode : NONE<br>
period_step : 1<br>
avail_min : 4095<br>
period_event : 0<br>
start_threshold : 6<br>
stop_threshold : 16380<br>
silence_threshold: 0<br>
silence_size : 0<br>
boundary : 2146959360<br>
appl_ptr : 0<br>
hw_ptr : 0<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
0%<br>
<br>
</div>
</div>
</div>
</div>
</body>
</html>