плата kontron, проц A9, поддержка alsa включенна при попытке проиграть файл на устройстве выпадает ошибку:
aplay 01.wav
Playing WAVE '01.wav' : Signed 16 bit Little Endian, Ratasoc: platform imx-pcm-audio.0 hw params failed
e 44100 Hz, Stereo
aplay: set_params:1166: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (92879 92880)
PERIOD_SIZE: 4096
PERIOD_BYTES: 16384
PERIODS: 4
BUFFER_TIME: (371519 371520)
BUFFER_SIZE: 16384
BUFFER_BYTES: 65536
TICK_TIME: 0
[root@buildroot sound]# dmesg | grep -i soc
print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
RPC: Registered named UNIX socket transport module.
mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
asoc: wm8903-hifi <-> imx-ssi.0 mapping ok
asoc: mxc-spdif <-> imx-spdif-dai.0 mapping ok
imx-hdmi-soc-dai: probe of imx-hdmi-soc-dai.0 failed with error -12
Initializing XFRM netlink socket
asoc: platform imx-pcm-audio.0 hw params failed
cat /etc/asound.conf
pcm.!default {
type hw
card wm8903audio
}
ctl.!default {
type hw
card wm8903audio
}
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: wm8903audio [wm8903-audio], device 0: HiFi wm8903-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: imxspdif [imx-spdif], device 0: IMX SPDIF mxc-spdif-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
ogg123 01.ogg
Audio Device: Advanced Linux Sound Architecture (ALSA) output
Playing: 01.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ao_alsa WARNING: Unable to opeasoc: platform imx-pcm-audio.0 hw params failed
n surround playback. Trying default device...
ao_alsa ERROR: Unable to open ALSA device 'default' for playback => Invalid argument
ERROR: Cannot open device alsa.
ls /dev/snd
by-path/ controlC1 pcmC0D0p pcmC1D0p timer
controlC0 pcmC0D0c pcmC1D0c seq