[alsa-devel] [PATCH v2 1/2] ASoC: core: Add API to use DMI name in sound card long name

Mengdong Lin mengdong.lin at linux.intel.com
Fri Jan 6 07:07:19 CET 2017



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?

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.

Thanks
Mengdong


More information about the Alsa-devel mailing list