From: Jyri Sarha <jsarha@ti.com>
To: Joachim Eastwood <manabian@gmail.com>
Cc: alsa-devel@alsa-project.org, linux-fbdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-omap@vger.kernel.org,
liam.r.girdwood@linux.intel.com, detheridge@ti.com,
broonie@kernel.org, peter.ujfalusi@ti.com,
Tomi Valkeinen <tomi.valkeinen@ti.com>,
Benoit Cousson <bcousson@baylibre.com>
Subject: Re: [alsa-devel] [PATCH 00/19] Rework OMAP4+ HDMI audio support
Date: Mon, 19 May 2014 17:44:09 +0300 [thread overview]
Message-ID: <537A18B9.3040504@ti.com> (raw)
In-Reply-To: <CAGhQ9VyxKWZ9KSWoYkhf8KeUJnMKJO=b0kG=upC7uojNLHVObw@mail.gmail.com>
On 05/17/2014 12:16 PM, Joachim Eastwood wrote:
> On 17 May 2014 10:51, Joachim Eastwood <manabian@gmail.com> wrote:
>> On 14 May 2014 18:25, Joachim Eastwood <manabian@gmail.com> wrote:
...
>>
>> I did some more testing over here.
>>
>> My HTPC (nVidia ION2 based) works good with speaker-test and all
>> channels are where they are suppose to be.
>>
>> On the OMAP4 board I tried doing: "while true; do speaker-test -c 4 -s
>> 1; done" and this had an interesting effect.
>> Most of the time FL (Front Left) is swapped with BL (Back Left) but
>> about every 10th time the sound comes out in the FL speaker... So
>> there something weird going on here. Same story for the right channel.
>>
>> I also noticed that HDMI doesn't always work on boot up, it sometimes fail with:
>> [ 193.985565] omapdss_hdmi 58006000.encoder: audio not supported
>> [ 193.985565] omapdss_hdmi 58006000.encoder: ASoC: can't open
>> interface 58006000.encoder: -19
>>
>> But after replugging the HDMI connector a couple of times it starts to work.
>>
That is weird I can not reproduce this problem. I rebooted my panda
several times and the audio device was always there. Could it be that
the connector is in DVI mode or something?
>> I'll see if I can try with an old TI OMAP4 kernel (3.4) and see how that works.
>
> On the 3.4 Variscite kernel:
> Linux version 3.4.0-1489-omap4 (uri@pluto) (gcc version 4.6.3
> (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #27 SMP PREEMPT Sun Apr 7 13:27:10
> IDT 2013
> git://dev.omapzoom.org/pub/scm/integration/kernel-ubuntu.git +
> Variscite vendor patches
>
> Both speaker-test -c 4 and -c 8 works. All channels are where they are
> suppose to be.
>
> Hot plugging is broken, though. So the HDMI must be connected on boot,
> but that might be the Variscite board setup.
>
I checked the ubuntu branch implementation and found that it is quite
different in many places, but the one place that affects the i2s channel
mapping to HDMI looks exactly the same. So there must be a bug some
where else and there is no point trying to fix it by changing the
mapping (it would be impossible anyway). I'll compare the
implementations further when I have time.
Thanks for your testing. Now I at least now where the bug is not.
Best regards,
Jyri
prev parent reply other threads:[~2014-05-19 14:44 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 9:12 [PATCH 00/19] Rework OMAP4+ HDMI audio support Jyri Sarha
2014-05-12 9:12 ` [PATCH 01/19] ASoC: omap-pcm: Move omap-pcm under include/sound Jyri Sarha
2014-05-12 9:12 ` [PATCH 02/19] OMAPDSS: hdmi-common: Add hdmi_dss_audio_from_hw_params() Jyri Sarha
2014-05-12 9:12 ` [PATCH 03/19] OMAPDSS: hdmi4: Remove callbacks for an external ASoC DAI driver Jyri Sarha
2014-05-12 9:12 ` [PATCH 04/19] OMAPDSS: hdmi4: Integrated ASoC DAI component driver implementation Jyri Sarha
2014-05-12 9:12 ` [PATCH 06/19] OMAPDSS: hdmi.h: Add HDMI_AUDIO_LAYOUT_6CH enum value Jyri Sarha
[not found] ` <cover.1399884780.git.jsarha-l0cyMroinI0@public.gmane.org>
2014-05-12 9:12 ` [PATCH 05/19] OMAPDSS: Kconfig: Add depencies and help section to OMAP4_DSS_HDMI_AUDIO Jyri Sarha
2014-05-16 10:52 ` Tomi Valkeinen
2014-05-16 11:56 ` Jyri Sarha
2014-05-12 9:12 ` [PATCH 07/19] OMAPDSS: hdmi5_core: Fix compilation with OMAP5_DSS_HDMI_AUDIO Jyri Sarha
2014-05-16 10:31 ` Tomi Valkeinen
2014-05-12 9:12 ` [PATCH 13/19] ARM: omap4.dtsi: Add audio related parametes to hdmi node Jyri Sarha
2014-05-12 9:12 ` [PATCH 08/19] OMAPDSS: hdmi5: Remove callbacks for an external ASoC DAI driver Jyri Sarha
2014-05-12 9:12 ` [PATCH 09/19] OMAPDSS: hdmi5: Integrated ASoC DAI component driver implementation Jyri Sarha
2014-05-12 9:12 ` [PATCH 10/19] OMAPDSS: Kconfig: Add depencies and help section to OMAP5_DSS_HDMI_AUDIO Jyri Sarha
2014-05-12 9:12 ` [PATCH 11/19] ASoC: omap: Remove obsolete HDMI audio code and Kconfig options Jyri Sarha
2014-05-12 17:22 ` Mark Brown
2014-05-12 9:12 ` [PATCH 12/19] OMAPDSS: Remove obsolete audio code Jyri Sarha
2014-05-12 9:12 ` [PATCH 14/19] ARM: omap4-panda-common.dtsi: Add HDMI audio nodes Jyri Sarha
2014-05-16 11:04 ` Tomi Valkeinen
2014-05-16 11:08 ` Mark Brown
2014-05-12 9:12 ` [PATCH 15/19] ARM: omap5.dtsi: Add audio related parameters to hdmi node Jyri Sarha
2014-05-12 9:12 ` [PATCH 16/19] ARM: omap5-uevm.dts: Add hdmi audio related nodes Jyri Sarha
2014-05-12 9:12 ` [PATCH 17/19] ARM: omap2plus_defconfig: Build DSS HDMI support for OMAP4 in kernel Jyri Sarha
2014-05-12 9:12 ` [PATCH 18/19] ARM: omap2plus_defconfig: Enable OMAP5 HDMI support Jyri Sarha
2014-05-12 9:12 ` [PATCH 19/19] ARM: omap2plus_defconfig: Enable OMAP4+ HDMI audio support Jyri Sarha
2014-05-12 15:06 ` [PATCH 00/19] Rework " Tony Lindgren
2014-05-23 11:02 ` Tomi Valkeinen
2014-05-23 14:46 ` Tony Lindgren
2014-05-12 21:13 ` [alsa-devel] " Joachim Eastwood
2014-05-14 10:02 ` Jyri Sarha
2014-05-14 16:25 ` Joachim Eastwood
2014-05-17 8:51 ` Joachim Eastwood
2014-05-17 9:16 ` Joachim Eastwood
2014-05-19 14:44 ` Jyri Sarha [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=537A18B9.3040504@ti.com \
--to=jsarha@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=bcousson@baylibre.com \
--cc=broonie@kernel.org \
--cc=detheridge@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=manabian@gmail.com \
--cc=peter.ujfalusi@ti.com \
--cc=tomi.valkeinen@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).