]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: 90-alsa-restore.rules - add support for AMD ACP digital microphone
authorJaroslav Kysela <perex@perex.cz>
Mon, 11 Nov 2024 14:44:38 +0000 (15:44 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 11 Nov 2024 15:27:40 +0000 (16:27 +0100)
commit8116639e560958c48e367e0e1dea923f247cbb76
tree21e16824e5c8161a7ada5d6a81a8e77cc17f3e7e
parent0c780e1fa02b9d4900fb6cc79b748628fe33bd48
alsactl: 90-alsa-restore.rules - add support for AMD ACP digital microphone

The UCM configuration for AMD ACP digital microphones combines HDA analog card
with ASoC AMD ACP digital microphone card. When the ACP microphone card
is detected later than HDA analog card, the UCM initialization for HDA
analog card should be executed again.

Additional changes:

Added --with-alsactl-udev-extra-test argument to handle the tests for
directories. The default value was kept.

Added --alsactl-udev-args argument to pass extra arguments to alsactl
in the udev rule.

Note: The autoconf does not handle correctly spaces so configure
call like 'configure --alsactl-udev-args="-E ENV=abcd"' is not allowed.
Substitue '__' string as ' ' for this reason.

Example:

   configure --with-alsactl-udev-args="-E__ENV=abcd" \
             --with-alsactl-udev-extra-test='TEST=="/abcd",__TEST=="/xyz",'

Closes: https://github.com/alsa-project/alsa-utils/issues/278
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/90-alsa-restore.rules.in
alsactl/Makefile.am
configure.ac