Skip to content

[BUG][BYT][I2S] Nothing can be recorded when used "arecord -Dhw:0,0 -r48000 -c2 -fs16_le s30.wav -vvv -i" to record #1423

Description

@Liviali155

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

  1. sudo reboot
  2. 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: fe321d6https://github.com/thesofproject/sof/commits/master
Kernel: c265f25https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-byt-rt5682.tplg same as firmware

dmesg.log
logger.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    BYTApplies to Baytrail platformbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions