Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: GitHub pull_request - opened <github@alsa-project.org>
To: alsa-devel@alsa-project.org
Subject: alsactl: 90-alsa-restore.rules - fix AMD acp-pdm-mach link name acp-dmic-codec
Date: Wed, 20 Nov 2024 09:20:20 +0100 (CET)	[thread overview]
Message-ID: <20241120082020.99DF5F8026D@alsa1.perex.cz> (raw)
In-Reply-To: <1732090818219266653-webhooks-bot@alsa-project.org>

alsa-project/alsa-utils pull request #281 was opened from pma1:

The link name of AMD ACP digital microphones driver acp-pdm-mach is acp-dmic-codec.
fix it to make UCM initialize it again.

Fixes: 8116639 ("alsactl: 90-alsa-restore.rules - add support for AMD ACP digital microphone")

# arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: acppdmmach [acp-pdm-mach], device 0: (null) dmic-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

# ls -la /sys/class/sound/controlC2/device/
total 0
drwxr-xr-x 5 root root    0 Nov 20 15:50 .
drwxr-xr-x 3 root root    0 Nov 20 15:50 ..
drwxr-xr-x 3 root root    0 Nov 20 15:47 controlC2
lrwxrwxrwx 1 root root    0 Nov 20 15:47 device -> ../../../acp-pdm-mach
-rw-r--r-- 1 root root 4096 Nov 20 15:50 id
-r--r--r-- 1 root root 4096 Nov 20 15:47 number
drwxr-xr-x 3 root root    0 Nov 20 15:47 pcmC2D0c
drwxr-xr-x 2 root root    0 Nov 20 15:50 power
lrwxrwxrwx 1 root root    0 Nov 20 15:47 subsystem -> ../../../../../../../../class/sound
-rw-r--r-- 1 root root 4096 Nov 20 15:47 uevent

# ls -la /sys/class/sound/controlC2/device/device/
total 0
drwxr-xr-x 5 root root    0 Nov 20 15:50 .
drwxr-xr-x 4 root root    0 Nov 20 15:50 ..
drwxr-xr-x 3 root root    0 Nov 20 15:50 acp-dmic-codec
lrwxrwxrwx 1 root root    0 Nov 20 15:47 driver -> ../../../../../../bus/platform/drivers/acp_mach
-rw-r--r-- 1 root root 4096 Nov 20 15:50 driver_override
-r--r--r-- 1 root root 4096 Nov 20 15:50 modalias
drwxr-xr-x 2 root root    0 Nov 20 15:50 power
drwxr-xr-x 3 root root    0 Nov 20 15:50 sound
lrwxrwxrwx 1 root root    0 Nov 20 15:47 subsystem -> ../../../../../../bus/platform
-rw-r--r-- 1 root root 4096 Nov 20 15:50 uevent

After the change of link name acp-dmic-codec,
the micmute led can work on ThinkPad T14s Gen 6.

Request URL   : https://github.com/alsa-project/alsa-utils/pull/281
Patch URL     : https://github.com/alsa-project/alsa-utils/pull/281.patch
Repository URL: https://github.com/alsa-project/alsa-utils

       reply	other threads:[~2024-11-20  8:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1732090818219266653-webhooks-bot@alsa-project.org>
2024-11-20  8:20 ` GitHub pull_request - opened [this message]
     [not found] <1732092083066355228-webhooks-bot@alsa-project.org>
2024-11-20  8:41 ` alsactl: 90-alsa-restore.rules - fix AMD acp-pdm-mach link name acp-dmic-codec GitHub pull_request - edited

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241120082020.99DF5F8026D@alsa1.perex.cz \
    --to=github@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox