Repository navigation
Closed
Labels
BYTApplies to Baytrail platformApplies to Baytrail platformbugSomething isn't workingSomething isn't working
Description
Describe the bug
Nothing can be recorded when used "arecord -Dhw:0,0 -r48000 -c2 -fs16_le s30.wav -vvv -i" to record
To Reproduce
- sudo reboot
- arecord -Dhw:0,0 -r48000 -c2 -fs16_le s30.wav -vvv -i -d 10
ubuntu@cd-byt-mb-rt5682-07:~$ arecord -Dhw:0,0 -r48000 -c2 -fs16_le s30.wav -vvv -i
Recording WAVE 's30.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Hardware PCM card 0 'sof-rt5682' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 16320
period_size : 4080
period_time : 85000
tstamp_mode : NONE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 4080
period_event : 0
start_threshold : 1
stop_threshold : 16320
silence_threshold: 0
silence_size : 0
boundary : 9187343239835811840
appl_ptr : 0
hw_ptr : 0
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
Max peak (8160 samples): 0x00000000 # 0%
^CAborted by signal Interrupt...
Max peak (96 samples): 0x00000000 # 0%
Reproduction Rate
100%
Expected behavior
It can record audio
Impact
It can record nothing
Environment
platform: BYT MinnowBoard with I2S RT5682
Firmware: fe321d6 https://github.com/thesofproject/sof/commits/master
Kernel: c265f25 https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-byt-rt5682.tplg same as firmware
Metadata
Metadata
Assignees
Labels
BYTApplies to Baytrail platformApplies to Baytrail platformbugSomething isn't workingSomething isn't working
Activity
plbossart commentedon Nov 4, 2019
@dengyangchao have you used the relevant mixer settings, seems to me that your configuration is incomplete on the codec side?
@bardliao can you try to reproduce?
bardliao commentedon Nov 5, 2019
@Liviali155 @plbossart I believe that is a mixer setting issue. @Liviali155 Could you try
rt5682.txt first?
ClarexZhou commentedon Nov 5, 2019
Close. Error not seen after change to below amixer setting:
numid=14,iface=MIXER,name='Stereo1 ADC L1 Mux'
; type=ENUMERATED,access=rw------,values=1,items=2
; Item #0 'DAC MIX'
; Item #1 'ADC'
: values=1
net: pktgen: fix code style (WARNING: Prefer strscpy over strcpy)