wm8962 始终不能得到声音输出,只是刚开始播放的时候“啪”一声,内核和uboot里的引脚也改了
打印信息如下:
wm8962 0-001a: customer id 0 revision D
input: WM8962 Beep Generator as /devices/platform/imx-i2c.0/i2c-0/0-001a/input/input3
asoc: wm8962 <-> imx-ssi.1 mapping ok
input: wm8962-audio DMIC as /devices/platform/soc-audio.5/sound/card0/input4
input: wm8962-audio Ext Spk as /devices/platform/soc-audio.5/sound/card0/input5
ALSA device list:
#0: wm8962-audio
root@freescale /dev/snd$ ls -l
crw-rw---- 1 root root 116, 0 Jan 1 00:00 controlC0
crw-rw---- 1 root root 116, 24 Jan 1 00:00 pcmC0D0c
crw-rw---- 1 root root 116, 16 Jan 1 00:00 pcmC0D0p
crw-rw---- 1 root root 116, 33 Jan 1 00:00 timer
root@freescale ~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: wm8962audio [wm8962-audio], device 0: HiFi wm8962-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
root@freescale ~$
root@freescale ~$ aplay BuzzingBee.wav
Playing WAVE 'BuzzingBee.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
root@freescale ~$ arecord -r 44100 -c 2 -f S16_LE -t wav -d 30 test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo |