[PATCH] ALSA: core: sysfs: show components string

Mark Brown broonie at kernel.org
Mon Mar 23 20:41:42 CET 2020


On Mon, Mar 23, 2020 at 02:36:23PM -0500, Pierre-Louis Bossart wrote:
> Add attribute and show the components string. This is useful to see
> what is provided to userspace and e.g. used by UCM to understand the
> card configuration:
> 
> root at plb:~# more /sys/class/sound/card0/components
> HDA:8086280b,80860101,00100000 cfg-spk:2 hs:rt711 spk:rt1308 mic:rt715

Sysfs is supposed to be one value per file so this should be a directory
with a file for each component I guess.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200323/3978191b/attachment.sig>


More information about the Alsa-devel mailing list