Sound interface problem SC20

Hello!

I am working in a project that use the mic and the speaker interfaces of the SC20. I am running Linux over the SC20. To do some test I tried to use “aplay” and “arecord” but I got this errors:

root@msm8909:~# arecord -t wav -d 5 test.wav
Recording WAVE ‘test.wav’ : Unsigned 8 bit, Rate 8000 Hz, Mono
[105259.246447] MSM8952 Media1: ASoC: no backend DAIs enabled for MSM8952 Media1
arecord: set_params:1382: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: [105259.261155] q6asm_callback: cmd = 0x10bcd returned error = 0x1
U8
SUBFORMAT: STD
SAMPLE_BITS: 8
FRAME_BITS: 8
[105259.266828] __q6asm_cmd: DSP returned error[ADSP_EFAILED] opcode 68557

RATE: 8000
PERIOD_TIME: 126000
PERIOD_SIZE: 1008
PERIOD_BYTES: 1008
PERIODS: 4
BUFFER_TIME: 504000
BUFFER_SIZE: 4032
BUFFER_BYTES: 4032
TICK_TIME: 0

and for “aplay” I got the same

root@msm8909:~# aplay -d 3 test.wav
Playing WAVE ‘test.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
[105340.357483] MSM8952 Media1: ASoC: no backend DAIs enabled for MSM8952 Media1
aplay: set_params:1382: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: [105340.369850] q6asm_callback: cmd = 0x10bcd returned error = 0x1
S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNE[105340.378365] __q6asm_cmd: DSP returned error[ADSP_EFAILED] opcode 68557
LS: 2
RATE: 44100
PERIOD_TIME: (124988 124989)
PERIOD_SIZE: 5512
PERIOD_BYTES: 22048
PERIODS: 4
BUFFER_TIME: (499954 499955)
BUFFER_SIZE: 22048
BUFFER_BYTES: 88192
TICK_TIME: 0

When I try to execute “alsamixer” i get the following:

root@msm8909:~# alsamixer
[105641.789747] msm_pcm_volume_ctl_get substream runtime not found
[105641.794904] msm_pcm_volume_ctl_get substream runtime not found
[105641.804630] msm_pcm_volume_ctl_get substream runtime not found
[105641.809756] msm_pcm_volume_ctl_get substream runtime not found
[105641.815935] msm_pcm_volume_ctl_get substream runtime not found
[105641.821602] msm_pcm_volume_ctl_get substream runtime not found
[105641.827500] msm_pcm_volume_ctl_get substream runtime not found
[105641.833592] msm_pcm_volume_ctl_get substream runtime not found
[105641.839846] msm_pcm_volume_ctl_get substream runtime not found
[105641.845392] msm_pcm_volume_ctl_get substream runtime not found
[105641.851718] msm_pcm_volume_ctl_get substream or runtime not found
cannot load mixer controls: No such device

I don’t known if its a driver problem. Someone can help me with this?

please do a test with official image.
it seems that is initial issue of the sound card.

1 Like