imx8qm-mek no sound

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8qm-mek no sound

2,354 Views
wanbenzhou
Contributor II

I.MX8QM开发板上用  gst-play 播放mp4或MP3时,耳机接口没有声音,

请问是什么原因:开机启动的时候,dmesg 有如下信息,

root@imx8qmmek:~# dmesg |grep wm89
[ 7.043043] imx-wm8960 sound: wm8960-hifi <-> 59050000.sai mapping ok
[ 7.049536] imx-wm8960 sound: ASoC: no source widget found for ASRC-Playback
[ 7.056602] imx-wm8960 sound: ASoC: Failed to add route ASRC-Playback -> direct -> CPU-Playback
[ 7.065312] imx-wm8960 sound: ASoC: no sink widget found for ASRC-Capture
[ 7.072114] imx-wm8960 sound: ASoC: Failed to add route CPU-Capture -> direct -> ASRC-Capture
[ 7.080654] imx-wm8960 sound: ASoC: no DMI vendor name!
[ 7.428504] #0: wm8960-audio
root@imx8qmmek:~#

Tags (3)
0 Kudos
Reply
4 Replies

2,240 Views
wanbenzhou
Contributor II

The same Image and dtb. 

in  " NXP i.MX Release Distro 5.4-zeus imx8qmmek ttyLP0"   file system print following message  two channel sound.

root@imx8qmmek:~# gst-play-1.0 McTaiM1.mp3
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/root/McTaiM1.mp3
Prerolling...
====== BEEP: 4.5.3 build on Feb 26 2020 11:41:10. ======
Core: MP3 decoder Wrapper build on Jan 11 2018 10:20:25
file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm_elinux.so.3
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.01_ARMV8 build on Jan 11 2018 10:05:45.

===!!! Current pulsesink device is alsa_output.platform-sound.stereo-fallback !!!===

Redistribute latency...
0:01:55.5 / 0:01:55.5
Reached end of play list.

But in  " NXP i.MX Release Distro 4.14-sumo imx8qmmek ttyLP0" file system, only one channel working

root@imx8qmmek:~# gst-play-1.0 McTaiM1.mp3
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/root/McTaiM1.mp3
Prerolling...
====== BEEP: 4.4.5 build on Oct 13 2020 08:53:41. ======
Core: MP3 decoder Wrapper build on Jan 11 2018 10:20:25
file: /usr/lib/imx-mm/audio-codec/wrap/lib_mp3d_wrap_arm_elinux.so.3
CODEC: BLN_MAD-MMCODECS_MP3D_ARM_02.13.01_ARMV8 build on Jan 11 2018 10:05:45.

===!!! Current pulsesink device is alsa_output.platform-sound.analog-mono !!!===

Redistribute latency...
0:01:55.5 / 0:01:55.5
Reached end of play list.

 

 

 

 

0 Kudos
Reply

2,261 Views
igorpadykov
NXP Employee
NXP Employee

Hi wanben

what bsp used in the case, one can try Demo Image

Linux Biary Demo Files - i.MX 8QMax MEK

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

2,242 Views
wanbenzhou
Contributor II

I try the  image   with   5.4.y   ,  it is working  left and right all have sound.

where the patch file for it  ?

0 Kudos
Reply

2,246 Views
wanbenzhou
Contributor II

sound is only in right,    no sound with left.

my bsp  :   imx_4.14.98_2.3.0 

0 Kudos
Reply