]> git.alsa-project.org Git - alsa-utils.git/commit
alsa-info: provide DMI system sku
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 30 Sep 2020 16:13:02 +0000 (11:13 -0500)
committerJaroslav Kysela <perex@perex.cz>
Tue, 6 Oct 2020 11:01:57 +0000 (13:01 +0200)
commit20f87c14d973928fa05cf876a5aa7b86ad28ef42
treeab0df0f1d29d4614a6e5ac022659cfe58a730aac
parentdea85a314b05e1e2f33f5bcab670e4d3a775da3c
alsa-info: provide DMI system sku

The system sku is used in SOF machine drivers to set specific quirks,
expose it in alsa-info to help support users. Example on a SoundWire
enabled device:

cat /sys/class/dmi/id/product_sku
0A32
dmidecode -s system-sku-number
0A32

Add a variable and expose the results of both methods.

Note that the dmidecode support is very recent and might not yet be
available in all distros:

http://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=d70d5e686148eabe90c89fbf4cdcf5258db5aa05

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsa-info/alsa-info.sh