alsactl: 90-alsa-restore.rules - fix AMD acp-pdm-mach link name acp-dmic-codec

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

 



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



[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