23 Mar
2020
23 Mar
'20
9:23 p.m.
On Mon, 23 Mar 2020 20:41:42 +0100, Mark Brown wrote:
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@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.
Well, the actual representation of components itself is CSV, so this can be OK, IMO.
Takashi