|
【Linux】
linux 声卡es8323无法工作
发表于 2018-8-15 15:30:01
浏览:13777
|
回复:7
打印
只看该作者
[复制链接]
楼主
在使用reload的板子的时候,使用kernel时4.4的内核,dts里面默认配置了firefly的es8323的声卡,声卡信息也能够枚举出来,使用这个声卡播放.wav格式文件的时候插上耳机,耳机里面没有声音,你们这边有调试过吗?这个声卡在4.4内核中能够正常工作嘛 若是有调试过麻烦提供一些帮助谢谢!
root@linaro-alip:/home/linaro/work# aplay -l
card 0: rockchipfirefly [rockchip,firefly-codec], device 0: ff890000.i2s-i2s-hifi i2s-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: rockchipfirefly [rockchip,firefly-codec], device 1: ff890000.i2s-ES8323 HiFi ES8323 HiFi-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ROCKCHIPSPDIF [ROCKCHIP,SPDIF], device 0: ff8b0000.sound-dit-hifi dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
音频相关log:
[ 4.380612] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound[0]'
[ 4.380659] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound[0]'
[ 4.509115] asoc-simple-card sound: i2s-hifi <-> ff890000.i2s mapping ok
[ 4.526876] asoc-simple-card sound: ES8323 HiFi <-> ff890000.i2s mapping ok
[ 4.533944] asoc-simple-card sound: ASoC: no sink widget found for MIC1
[ 4.540825] asoc-simple-card sound: ASoC: Failed to add route Microphone Jack -> direct -> MIC1
[ 4.549675] asoc-simple-card sound: ASoC: no sink widget found for MIC2
[ 4.556481] asoc-simple-card sound: ASoC: Failed to add route Microphone Jack -> direct -> MIC2
[ 4.565306] asoc-simple-card sound: ASoC: no source widget found for micbias1
[ 4.572505] asoc-simple-card sound: ASoC: Failed to add route micbias1 -> direct -> Microphone Jack
[ 4.581707] asoc-simple-card sound: ASoC: no source widget found for HPOL
[ 4.588644] asoc-simple-card sound: ASoC: Failed to add route HPOL -> direct -> Headphone Jack
[ 4.597434] asoc-simple-card sound: ASoC: no source widget found for HPOR
[ 4.604365] asoc-simple-card sound: ASoC: Failed to add route HPOR -> direct -> Headphone Jack
[ 4.617837] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/spdif-sound[0]'
[ 4.617848] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/spdif-sound[0]'
[ 4.618745] asoc-simple-card spdif-sound: dit-hifi <-> ff8b0000.sound mapping ok
|
|