On Tue, 10 Jan 2017 07:42:49 +0100, mengdong.lin@xxxxxxxxxxxxxxx wrote: > > +/** > + * snd_soc_set_dmi_name() - Register DMI names to card > + * @card: The card to register DMI names > + * @flavour: The flavour "differentiator" for the card amongst its peers. > + * > + * An Intel machine driver may be used by many different devices but are > + * difficult for userspace to differentiate, since machine drivers ususally > + * use their own name as the card name (short name) and leave the card long > + * name blank. To differentiate such devices and fix bugs due to lack of > + * device-specific configurations, this function allows DMI info to be used > + * as the sound card long name, in the format of > + * "vendor.product.version.board" > + * (Character '.' are used to separate different DMI fields here). > + * This will help the userspace to load the correct UCM (Use Case Manager) > + * configuration. > + * > + * Possible card long names may be: > + * DellInc..XPS139343.01.0310JH > + * ASUSTeKCOMPUTERINC..T100TA.1.0.T100TA > + * Circuitco.MinnowboardMaxD0PLATFORM.D0.MinnowBoardMAX > + * (Please note DMI can also include '.' like"Inc." so you may see double '. ' > + * sometimes) Looking at the examples above, I wonder whether the dot is the best choice as the separator. Might other letters (e.g. ":" or "=") would be clearer? The colon might be bad if it were combined with the alsa-lib plugin syntax, but I guess it won't happen? thanks, Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel