On 08/10/2024 15:46, Marc Gonzalez wrote: > [ 15.106412] qcom,apr 17300000.remoteproc:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:3 > [ 15.109935] qcom,apr 17300000.remoteproc:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:4 > [ 15.119041] qcom-q6afe aprsvc:apr-service:4:4: YO: q6afe_probe:1759 > [ 15.134672] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: YOA: q6afe_dai_dev_probe > [ 15.137948] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: YOA: of_q6afe_parse_dai_data > [ 15.146461] qcom,apr 17300000.remoteproc:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:7 > [ 15.153563] remoteproc remoteproc0: powering up 4080000.remoteproc > [ 15.166371] remoteproc remoteproc0: Booting fw image mba.mbn, size 234152 > [ 15.169747] q6asm-dai 17300000.remoteproc:glink-edge:apr:apr-service@7:dais: Adding to iommu group 5 > [ 15.170559] qcom,apr 17300000.remoteproc:glink-edge.apr_audio_svc.-1.-1: Adding APR/GPR dev: aprsvc:apr-service:4:8 > [ 15.179732] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: YOA: msm_dai_q6_dai_probe > [ 15.199345] qcom-q6afe aprsvc:apr-service:4:4: YO: q6afe_find_port:860 > [ 15.208834] msm-snd-msm8998 sound: ASoC: registered pcm #0 MultiMedia1 (*) > [ 15.216194] msm-snd-msm8998 sound: snd-soc-dummy-dai <-> MultiMedia1 mapping ok > [ 15.221994] msm-snd-msm8998 sound: ASoC: registered pcm #1 MultiMedia2 (*) > [ 15.229582] msm-snd-msm8998 sound: snd-soc-dummy-dai <-> MultiMedia2 mapping ok > [ 15.236045] msm-snd-msm8998 sound: ASoC: registered pcm #2 (HDMI) > [ 15.243211] msm-snd-msm8998 sound: i2s-hifi <-> HDMI mapping ok > [ 15.285770] input: batfish Headset Jack as /devices/platform/sound/sound/card0/input2 > [ 15.298010] qcom-q6v5-mss 4080000.remoteproc: MBA booted without debug policy, loading mpss > [ 15.542937] remoteproc remoteproc0: remote processor 4080000.remoteproc is now up If I try to play sound on the HDMI link: # tinymix set "HDMI Mixer MultiMedia1" 1 (no logs on the command line or in dmesg) # tinyplay /home/equinox.wav playing '/home/equinox.wav': 2 ch, 48000 hz, 16 bit error playing sample The corresponding kernel logs are: [ 204.324095] msm-snd-msm8998 sound: ASoC: find BE for widget MultiMedia1 Playback [ 204.324280] msm-snd-msm8998 sound: ASoC: try BE : HDMI Playback [ 204.330832] msm-snd-msm8998 sound: ASoC: try BE : I2S Playback [ 204.336452] msm-snd-msm8998 sound: ASoC: find BE for widget MM_DL1 [ 204.342361] msm-snd-msm8998 sound: ASoC: try BE : HDMI Playback [ 204.348471] msm-snd-msm8998 sound: ASoC: try BE : I2S Playback [ 204.354319] msm-snd-msm8998 sound: ASoC: find BE for widget HDMI Mixer [ 204.360152] msm-snd-msm8998 sound: ASoC: try BE : HDMI Playback [ 204.366702] msm-snd-msm8998 sound: ASoC: try BE : I2S Playback [ 204.372545] msm-snd-msm8998 sound: ASoC: find BE for widget HDMI_RX [ 204.378439] msm-snd-msm8998 sound: ASoC: try BE : HDMI Playback [ 204.384520] msm-snd-msm8998 sound: ASoC: try BE : I2S Playback [ 204.390471] msm-snd-msm8998 sound: ASoC: find BE for widget HDMI Playback [ 204.396400] msm-snd-msm8998 sound: ASoC: try BE : HDMI Playback [ 204.403231] MultiMedia1: ASoC: found 2 audio Playback paths [ 204.408912] MultiMedia1: YO: dpcm_add_paths:1595 [ 204.414855] MultiMedia1: YO: dpcm_add_paths:1601 [ 204.419435] MultiMedia1: YO: dpcm_add_paths:1605 widget=MM_DL1 [ 204.424105] MultiMedia1: YO: dpcm_add_paths:1605 widget=HDMI Mixer [ 204.429867] MultiMedia1: YO: dpcm_add_paths:1605 widget=HDMI_RX [ 204.436139] MultiMedia1: YO: dpcm_add_paths:1605 widget=HDMI Playback [ 204.442394] msm-snd-msm8998 sound: ASoC: find BE for widget HDMI Playback [ 204.448691] msm-snd-msm8998 sound: ASoC: try BE : HDMI Playback [ 204.455581] MultiMedia1: YO: dpcm_add_paths:1638 [ 204.461316] MultiMedia1: connected new DPCM Playback path MultiMedia1 -> HDMI [ 204.466220] MultiMedia1: ASoC: found 1 new BE paths [ 204.473232] HDMI: ASoC: open Playback BE HDMI [ 204.478379] MultiMedia1: ASoC: open FE MultiMedia1 [ 204.482911] HDMI: ASoC: hw_params BE HDMI [ 204.487489] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: YOA: q6hdmi_hw_params [ 204.491715] MultiMedia1: ASoC: hw_params FE MultiMedia1 rate 48000 chan 2 fmt 2 [ 204.500814] MultiMedia1: ASoC: prepare FE MultiMedia1 [ 204.508108] HDMI: ASoC: prepare BE HDMI [ 204.512978] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: YOA: q6afe_dai_prepare [ 204.517117] qcom-q6afe aprsvc:apr-service:4:4: YO: q6afe_hdmi_port_prepare:1317 [ 204.525864] qcom-q6afe aprsvc:apr-service:4:4: YO: q6afe_port_start:1511 [ 204.533151] qcom-q6afe aprsvc:apr-service:4:4: YO: q6afe_port_set_param_v2:1050 [ 204.540129] qcom-q6afe aprsvc:apr-service:4:4: YO: afe_apr_send_pkt:947 [ 204.547820] qcom-q6afe aprsvc:apr-service:4:4: YO: q6afe_callback:880 [ 204.553692] qcom-q6afe aprsvc:apr-service:4:4: cmd = 0x100ef returned error = 0x18 [ 204.560292] qcom-q6afe aprsvc:apr-service:4:4: YO: q6afe_find_port:860 [ 204.567937] qcom-q6afe aprsvc:apr-service:4:4: DSP returned error[18] [ 204.574262] qcom-q6afe aprsvc:apr-service:4:4: AFE enable for port 0x100e failed -22 [ 204.583561] qcom-q6afe aprsvc:apr-service:4:4: AFE enable for port 0x100e failed -22 [ 204.591317] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: fail to start AFE port 1 [ 204.599101] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: ASoC: error at snd_soc_pcm_dai_prepare on HDMI: -22 [ 204.608501] MultiMedia1: ASoC: hw_free FE MultiMedia1 [ 204.619781] HDMI: ASoC: hw_free BE HDMI [ 204.624821] q6afe-dai 17300000.remoteproc:glink-edge:apr:apr-service@4:dais: YOA: q6afe_dai_shutdown [ 204.628835] MultiMedia1: ASoC: close FE MultiMedia1 [ 204.637798] HDMI: ASoC: BE HDMI event 2 dir 0 [ 204.642745] MultiMedia1: ASoC: BE Playback disconnect check for HDMI [ 204.646987] MultiMedia1: freed DSP Playback path MultiMedia1 -> HDMI Looks like the audio DSP might not be correctly initialized? Regards