[alsa-devel] [PATCH v2 1/2] ASoC: core: Add API to use DMI name in sound card long name
Liam Girdwood
liam.r.girdwood at linux.intel.com
Mon Jan 9 12:13:54 CET 2017
On Fri, 2017-01-06 at 14:07 +0800, Mengdong Lin wrote:
>
> On 01/05/2017 05:47 AM, Liam Girdwood wrote:
> > On Wed, 2017-01-04 at 15:03 +0800, Mengdong Lin wrote:
> >>
> >> On 01/04/2017 04:09 AM, Pierre-Louis Bossart wrote:
>
> >> So we'll keep the manufacturer name.
> >>
> >> And let's put the "Product version" as well if available, Liam?
> >
> > Yes, lets keep the manufacturer name. I agree with Pierre in that we
> > dont want meaningless directories names.
>
> Okay. Thanks for your confirmation!
>
> > Creating a directory structures
> > like
> >
> > 1) manufacturer/product/board OR
> > 2) manufacturer/product OR
> > 3) manufacturer/board
> >
> > (2 or 3 if board or product is NULL)
> >
> > are fine by me and make finding the correct card simpler. You could even
> > replace the . with / in your longname to save the string conversion
> > later on.
> >
> > Liam
>
> May we keep the flat directory structure for UCM files?
This may lead to really long file names and a very crowded master
directory.
>
> For the same manufacturer, its DMI vendor name could change, e.g. "Intel
> Inc." or "Intel Corporation". In addition, there may be changes caused
> by using upper case or low case characters. Since we don't want to
> maintain a mapping table and just do verbatim copy of DMI info, it's
> hard to group all the products/boards of one manufacturer into one UCM
> directory. So I feel it may be better to keep the simple flat directory
> structure.
This wont matter if we have > 1 directory for Intel or Dell etc, as it's
obvious in the naming. No mapping needed.
Liam
>
> Thanks
> Mengdong
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
More information about the Alsa-devel
mailing list