[Sound-open-firmware] HDMI audio not working on Up^2

Liao, Bard bard.liao at intel.com
Sat Mar 23 13:37:28 CET 2019


> -----Original Message-----
> From: Sound-open-firmware [mailto:sound-open-firmware-bounces at alsa-
> project.org] On Behalf Of Ranjani Sridharan
> Sent: Saturday, March 23, 2019 4:39 AM
> To: Liam Girdwood <liam.r.girdwood at linux.intel.com>; Pierre-Louis Bossart
> <pierre-louis.bossart at linux.intel.com>; Guennadi Liakhovetski
> <guennadi.liakhovetski at linux.intel.com>; sound-open-firmware at alsa-
> project.org
> Subject: Re: [Sound-open-firmware] HDMI audio not working on Up^2
> 
> On Fri, 2019-03-22 at 15:04 +0000, Liam Girdwood wrote:
> > On Fri, 2019-03-22 at 09:49 -0500, Pierre-Louis Bossart wrote:
> > > > I tried to test HDMI audio on Up^2 and hdac_hdmi_set_hw_params()
> > > > is failing with -ENODEV because no port is assigned. Some very
> > > > light analysis and debugging showed, that hdac_hdmi_pcm_open()
> > > > hasn't been called, but it might wrong. Are there any non-trivial
> > > > requirements to use HDMI audio on Up^2? Can it be, that my monitor
> > > > or my cable aren't good enough?
> > >
> > > You need to set the PortN-PinM mixers, otherwise the hw_params will
> > > fail. It's super painful and I don't know why it's needed but that's
> > > what it is for now.
> > > I typically look for the dmesg, find out which port is not
> > > disconnected, and usually set Port6Pin0 to 1, then use hw:0,1 to get
> > > things to play.
> > > I don't have the hardware with me so can't provide better advice.
> > > Also please use the dapm graph tool to make use everything is setup
> > > correctly.
> >
> > Guennadi, could you document this on sof-docs with a paragraph and
> > your example config / changes. Nothing long needed, just enough to
> > point others in the correct direction.
> Guennadi,
> 
> here're my pin/port settings:
> Pin5-Port0/1/2 to cvt2
> Pin6-Port0/1/2 to cvt3
> Pin7-Port0/1/2 to cvt4

Usually, I set all pin and ports to the same cvt eg cvt2.
So I can open the same device eg -Dhw:0,2 no matter what pin/port
does the HDMI actually connect to.

> 
> And as Liam mentioned SOF master has a regression that still causes a failure.
> But you could try the cml-003-drop-stable branch for now and it should work.
> 
> Thanks,
> Ranjani
> 
> >
> > Thanks
> >
> > Liam
> >
> > _______________________________________________
> > Sound-open-firmware mailing list
> > Sound-open-firmware at alsa-project.org
> > https://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware
> 
> _______________________________________________
> Sound-open-firmware mailing list
> Sound-open-firmware at alsa-project.org
> https://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware


More information about the Sound-open-firmware mailing list