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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux