From: Mark Brown <broonie@kernel.org>
To: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Mark Brown <broonie@kernel.og>,
ksummit-discuss@lists.linuxfoundation.org
Subject: Re: [Ksummit-discuss] Draft agenda for the kernel summit
Date: Tue, 20 Oct 2015 14:13:30 +0100 [thread overview]
Message-ID: <20151020131330.GY32054@sirena.org.uk> (raw)
In-Reply-To: <20151019173419.042d5e8b@recife.lan>
[-- Attachment #1: Type: text/plain, Size: 2129 bytes --]
On Mon, Oct 19, 2015 at 05:34:19PM -0200, Mauro Carvalho Chehab wrote:
> Liam Girdwood <liam.r.girdwood@linux.intel.com> escreveu:
> > Having a simple mechanism for dumping topology data is important as we
> > will need to be able to easily dump this data on Android and Chrome
> > alongside regular Linux for development and debug purposes. i.e.
> > cat /sys/some/dump/file > audio_topology
> Well, it is not hard to get the topology using the media controller.
> I wrote a testing program using it at:
> http://git.linuxtv.org/cgit.cgi/mchehab/experimental-v4l-utils.git/tree/contrib/test/mc_nextgen_test.c
> The only library optional dependency is libudev, used to get the
> device node names. The code falls back to use /sys/dev/char/ and
> /dev to find the device names when compiled without libudev.
> So, it should be easy to provide a cat-like program that would be
> dumping the audio topology on some file.
It's still a program that has to be built for and installed on the
device under test which is the big bar for a lot of users (consider the
case where an audio expert is doing system tuning on a device using a
firmware image supplied from elsewhere, it may be difficult for them to
build new programs for the image or request that they be included in the
image).
> > What I'd like to propose is that we support both mechanisms for dumping
> > the audio topology data. :-
> > 1) Simple file dump using same format that topology is loaded. Used by
> > kernel/firmware developers only when media controller userspace not
> > available. Enabled by kernel Kconfig debug option.
> Yeah, it sounds reasonable to have a mechanism like that just for
> debug purposes.
> > 2) Media controller API used by everyone else.
> Makes sense to me.
My main concern here is ending up with two different machine parsable
formats for exporting the topology information to userspace - it's
potentially a bit confusing for people to know which one to pick and
might end up needing multiple tools and libraries to parse depending on
the situation. It would be much nicer if we could get a consistent
format between the two.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2015-10-20 13:13 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 19:01 Theodore Ts'o
2015-10-13 4:00 ` Josh Triplett
2015-10-13 13:31 ` Linus Walleij
2015-10-16 0:41 ` Rob Herring
2015-10-16 6:52 ` Johannes Berg
2015-10-16 7:55 ` Arnd Bergmann
2015-10-16 8:00 ` Marcel Holtmann
2015-10-16 8:37 ` Arnd Bergmann
2015-10-16 9:21 ` Linus Walleij
2015-10-16 8:00 ` Johannes Berg
2015-10-16 7:57 ` Samuel Ortiz
2015-10-16 8:45 ` Geert Uytterhoeven
2015-10-16 13:09 ` Rob Herring
2015-10-16 9:03 ` Mark Brown
2015-10-16 8:04 ` Christian Borntraeger
2015-10-19 12:33 ` Mauro Carvalho Chehab
2015-10-19 13:53 ` Mark Brown
2015-10-19 16:27 ` Liam Girdwood
2015-10-19 19:34 ` Mauro Carvalho Chehab
2015-10-19 20:46 ` Shuah Khan
2015-10-20 11:55 ` Liam Girdwood
2015-10-20 13:22 ` Mark Brown
2015-10-20 15:34 ` Mauro Carvalho Chehab
2015-10-22 8:34 ` Sakari Ailus
2015-10-22 8:49 ` Sakari Ailus
2015-10-20 15:18 ` Mauro Carvalho Chehab
2015-10-20 15:47 ` Takashi Iwai
2015-10-20 16:11 ` Mauro Carvalho Chehab
2015-10-20 23:39 ` Shuah Khan
2015-10-20 13:13 ` Mark Brown [this message]
2015-10-20 15:29 ` Mauro Carvalho Chehab
2015-10-20 15:56 ` Mark Brown
2015-10-21 0:04 ` Laurent Pinchart
2015-10-21 10:24 ` Liam Girdwood
2015-10-21 10:24 ` Mark Brown
2015-10-21 8:59 ` Geert Uytterhoeven
2015-10-19 18:48 ` Jonathan Cameron
-- strict thread matches above, loose matches on Subject: below --
2017-10-13 0:15 [Ksummit-discuss] Draft Agenda for the Kernel Summit Theodore Ts'o
2017-10-13 18:28 ` Konstantin Ryabitsev
2017-10-20 0:30 ` Theodore Ts'o
2017-10-16 6:35 ` James Morris
2017-10-19 11:35 ` Mauro Carvalho Chehab
2017-10-20 0:32 ` Theodore Ts'o
2017-10-20 0:53 ` Rafael J. Wysocki
2017-10-20 19:46 ` Theodore Ts'o
2017-10-21 1:02 ` Rafael J. Wysocki
2017-10-20 2:18 ` Theodore Ts'o
2017-10-20 3:32 ` Thorsten Leemhuis
2017-10-20 11:19 ` Rafael J. Wysocki
2017-10-20 2:19 ` Theodore Ts'o
2017-10-20 14:31 ` Shuah Khan
2017-10-20 15:27 ` James Bottomley
2017-10-20 19:16 ` Shuah Khan
2017-10-20 6:04 ` Steven Rostedt
2017-10-20 15:57 ` Joe Perches
2017-10-20 19:50 ` Theodore Ts'o
2017-10-31 5:10 ` Joe Perches
2017-10-31 18:16 ` Jonathan Corbet
[not found] <1445272350.2481.40.camel@loki>
2015-10-19 18:52 ` [Ksummit-discuss] Draft agenda for the kernel summit Mark Brown
2014-08-11 22:45 Theodore Ts'o
[not found] ` <alpine.DEB.2.10.1408152014100.2503@hadrien>
2014-08-15 22:35 ` Theodore Ts'o
2014-08-16 0:27 ` Darren Vincent Hart
2014-08-16 2:17 ` Theodore Ts'o
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=20151020131330.GY32054@sirena.org.uk \
--to=broonie@kernel.org \
--cc=broonie@kernel.og \
--cc=ksummit-discuss@lists.linuxfoundation.org \
--cc=lars@metafoo.de \
--cc=liam.r.girdwood@linux.intel.com \
--cc=mchehab@osg.samsung.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