Question regarding HDMI Audio support on i.MX6 with vanilla kernel

Luís Mendes luis.p.mendes at gmail.com
Mon Nov 6 11:46:52 UTC 2017


Hi Russell,

First of all sorry for posting this here, it isn't directly related with
etnaviv, but results from the use of vanilla kernels.

I have been struggling with DW-HDMI to output audio... I've noticed that
the driver is loaded and that alsa shows the audio device, but I am unable
to get sound.
No sound output even if I set the sound output with alsa or pacmd. Alsa
shows no mixer or mute controls for the output.

Does anyone know if HDMI audio is working on i.MX with vanilla kernels?

Regards,
Luís

#lsmod
dw_hdmi_ahb_audio      16384  1
snd_soc_fsl_asoc_card    20480  0
dw_hdmi_imx            16384  0
dw_hdmi                32768  2 dw_hdmi_ahb_audio,dw_hdmi_imx
imxdrm                 28672  2
etnaviv                77824  1
coda                   61440  0
videobuf2_dma_contig    20480  1 coda
imx_vdoa               16384  1 coda
v4l2_mem2mem           24576  1 coda
videobuf2_vmalloc      16384  1 coda
videobuf2_memops       16384  2 videobuf2_dma_contig,videobuf2_vmalloc

#pacmd list-cards
3 card(s) available.
    index: 0
    name: <alsa_card.platform-120000.hdmi>
    driver: <module-alsa-card.c>
    owner module: 6
    properties:
        alsa.card = "2"
        alsa.card_name = "DW-HDMI"
        alsa.long_card_name = "DW-HDMI rev 0x0a, irq 19"
        alsa.driver_name = "dw_hdmi_imx"
        device.bus_path = "platform-120000.hdmi"
        sysfs.path = "/devices/soc0/soc/120000.hdmi/sound/card2"
        device.form_factor = "internal"
        device.string = "2"
        device.description = "Built-in Audio"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    profiles:
        output:analog-stereo: Analog Stereo Output (priority 6000,
available: unknown)
        off: Off (priority 0, available: unknown)
    active profile: <output:analog-stereo>
    sinks:
        alsa_output.platform-120000.hdmi.analog-stereo/#0: Built-in Audio
Analog Stereo
    sources:
        alsa_output.platform-120000.hdmi.analog-stereo.monitor/#0: Monitor
of Built-in Audio Analog Stereo
    ports:
        analog-output: Analog Output (priority 9900, latency offset 0 usec,
available: unknown)
            properties:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/etnaviv/attachments/20171106/5667f274/attachment.html>


More information about the etnaviv mailing list