]> git.alsa-project.org Git - alsa-utils.git/commit
alsa-info.sh: log SoundWire devices reported in ACPI
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 15 Apr 2024 15:17:39 +0000 (10:17 -0500)
committerJaroslav Kysela <perex@perex.cz>
Mon, 22 Apr 2024 08:03:28 +0000 (10:03 +0200)
commitcc0bcef81389dab05ca9f150694a2969fae93656
tree8f5e23446bbf9a7b749c6144a22a69b9df58df22
parent9cdcbe0e932b97fac88a6195f87647159a6c7194
alsa-info.sh: log SoundWire devices reported in ACPI

Track SoundWire devices reported in ACPI, this will help detect
missing or invalid configurations.

For now we only filter information from Realtek, Cirrus Logic and TI,
based on the manufacturer ID of their devices.

Example log for the classic RT711/RT1316x2/RT714 configuration.

!!ACPI SoundWire Device Status Information
!!---------------

Realtek 0x000030025d071101
Realtek 0x000331025d131601
Realtek 0x000230025d131601
Realtek 0x000130025d071401

As noted by reviewers, the script reports everything exposed in
ACPI. In practice some of the devices listed may not be physically
populated in hardware, or be listed as attached on a link that's
disabled by the manager. The drivers can cope with this case, it's not
technically an error.

Closes: https://github.com/alsa-project/alsa-utils/pull/264
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