[MinnowBoard] alsa-utils: Unable to record audio using arecord
Khan, Yasir
Yasir_Khan at mentor.com
Thu Oct 23 00:45:03 UTC 2014
Hello all,
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
Below is the log:
####### list of modules loaded ###########
root at minnow:~# lsmod
Module Size Used by
emgd 576557 5
drm_kms_helper 30448 1 emgd
drm 214113 7 emgd,drm_kms_helper
agpgart 26747 1 drm
nf_conntrack_ipv4 13548 2
nf_defrag_ipv4 1101 1 nf_conntrack_ipv4
xt_connmark 1543 2
nf_conntrack 65114 2 xt_connmark,nf_conntrack_ipv4
iptable_mangle 1339 1
iptable_filter 1270 0
ip_tables 11330 2 iptable_filter,iptable_mangle
x_tables 14702 4 ip_tables,iptable_filter,xt_connmark,iptable_mangle
nfnetlink 3647 1
snd_hda_codec_realtek 58212 1
snd_hda_intel 30097 0
pch_can 10976 0
snd_hda_codec 92880 2 snd_hda_codec_realtek,snd_hda_intel
can_dev 8085 1 pch_can
snd_pcm 71468 2 snd_hda_codec,snd_hda_intel
snd_page_alloc 7384 2 snd_pcm,snd_hda_intel
snd_timer 16602 1 snd_pcm
snd 45144 5 snd_hda_codec_realtek,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
pch_phub 8005 0
soundcore 842 1 snd
pch_gbe 50922 0
ptp_pch 6620 1 pch_gbe
ptp 7869 1 ptp_pch
pps_core 9432 1 ptp
minnowboard_keys 1370 0
minnowboard_gpio 1679 0
iwlwifi 71484 0
firmware_class 12759 1 iwlwifi
cfg80211 432319 1 iwlwifi
####### Recording using arecord ###################
root at minnow:~# arecord -d 5 test.wav -vvv
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Converter: linear-interpolation
Protocol version: 10002
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : U8
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 8
buffer_size : 2730
period_size : 682
period_time : 85312
tstamp_mode : NONE
period_step : 1
avail_min : 682
period_event : 0
start_threshold : 1
stop_threshold : 2730
silence_threshold: 0
silence_size : 0
boundary : 357826560
Slave: Route conversion PCM (sformat=S16_LE)
Transformation table:
0 <- 0*0.5 + 1*0.5
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : U8
subformat : STD
channels : 1
rate : 48000
exact rate : 48000 (48000/1)
msbits : 8
buffer_size : 16380
period_size : 4095
period_time : 85312
tstamp_mode : NONE
period_step : 1
avail_min : 4095
period_event : 0
start_threshold : 6
stop_threshold : 16380
silence_threshold: 0
silence_size : 0
boundary : 2146959360
Slave: Hardware PCM card 0 'HDA Intel MID' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 16380
period_size : 4095
period_time : 85312
tstamp_mode : NONE
period_step : 1
avail_min : 4095
period_event : 0
start_threshold : 6
stop_threshold : 16380
silence_threshold: 0
silence_size : 0
boundary : 2146959360
appl_ptr : 0
hw_ptr : 0
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20141023/e9c1a2ca/attachment.html>
More information about the elinux-MinnowBoard
mailing list