Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

31 Posts

01-27-2021

Netherlands

18 Signins

140 Page Views

  • Posts: 31
  • Registered: ‎01-27-2021
  • Location: Netherlands
  • Views: 140
  • Message 1 of 10

AMD T14 kernel error about acp_pdm_mach

2021-02-16, 22:14 PM

On my AMD T14, the kernel (currently 5.10.16) gives the following error message:

 

acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517

 

Is anyone else seeing this (in their dmesg output)? Does anyone know what this is about?

Reply
Options

79 Posts

12-26-2020

Austria

45 Signins

615 Page Views

  • Posts: 79
  • Registered: ‎12-26-2020
  • Location: Austria
  • Views: 615
  • Message 2 of 10

AMD T14 kernel error about acp_pdm_mach

2021-02-16, 23:48 PM
Same on X13/P14s.
Reply
Options

208 Posts

03-06-2021

Germany

90 Signins

1290 Page Views

  • Posts: 208
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 1290
  • Message 3 of 10

Re:AMD T14 kernel error about acp_pdm_mach

2021-03-15, 13:22 PM

@ E.Q, wrote:

On my AMD T14, the kernel (currently 5.10.16) gives the following error message:

 

acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517

 

Is anyone else seeing this (in their dmesg output)? Does anyone know what this is about?

 

Not much but this is a kernel bug/feature :). It is the same on a P14s AMD.

I plan to report some of the things I believe are kernel bugs to LKML soon.

 

On kernels >5.10.5 you can add the following to your kernel command line:

 

snd_rn_pci_acp3x.dmic_acpi_check=1

 

and see if helps.

 

Best Regards

Reply
Options

31 Posts

01-27-2021

Netherlands

18 Signins

140 Page Views

  • Posts: 31
  • Registered: ‎01-27-2021
  • Location: Netherlands
  • Views: 140
  • Message 4 of 10

Re:AMD T14 kernel error about acp_pdm_mach

2021-03-15, 21:41 PM

FYI: Bug report at https://gitlab.freedesktop.org/drm/amd/-/issues/1529

Reply
Options

208 Posts

03-06-2021

Germany

90 Signins

1290 Page Views

  • Posts: 208
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 1290
  • Message 5 of 10

Re:AMD T14 kernel error about acp_pdm_mach

2021-05-26, 20:59 PM

@ E.Q, wrote:

On my AMD T14, the kernel (currently 5.10.16) gives the following error message:

 

acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517

 

Is anyone else seeing this (in their dmesg output)? Does anyone know what this is about?

 

@E.Q, and others with this problem.

 

Please see:

 

https://forums.lenovo.com/topic/findpost/27/5081195/5339269

 

Post  your DMI entry for your board_name & exact model so I can extend the patch,

and get it upstream.

 

To fix that for now without patch use :

 

```

snd_rn_pci_acp3x.dmic_acpi_check=0

 

```

 

To sum up, the problem is caused by a BIOS bug.

The internal MIC is connected to the HDA codec, not to ACP,

however, the BIOS still announce 'ACP MIC' support on the bridge.

 

 

Best regards,

 

Gabriel 

 

 

Reply
Options

31 Posts

01-27-2021

Netherlands

18 Signins

140 Page Views

  • Posts: 31
  • Registered: ‎01-27-2021
  • Location: Netherlands
  • Views: 140
  • Message 6 of 10

Re:AMD T14 kernel error about acp_pdm_mach

2021-05-27, 7:14 AM

$ cat /sys/devices/virtual/dmi/id/board_name
20UDS0DK00
$ uname -a
Linux <hostname> 5.10.27-gentoo #1 SMP Wed Mar 31 22:25:27 CEST 2021 x86_64 AMD Ryzen 7 PRO 4750U with Radeon Graphics AuthenticAMD GNU/Linux

$ sudo dmesg | grep -i lenovo
[    0.000000] efi: EFI v2.70 by Lenovo
[    0.000000] DMI: LENOVO 20UDS0DK00/20UDS0DK00, BIOS R1BET60W(1.29 ) 11/30/2020
[    0.000755] ACPI: RSDP 0x00000000CC3FD014 000024 (v02 LENOVO)
[    0.000757] ACPI: XSDT 0x00000000CC3FB188 000104 (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000761] ACPI: FACP 0x00000000BE499000 000114 (v06 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000765] ACPI: DSDT 0x00000000BE485000 00E955 (v01 LENOVO TP-R1B   00001290 INTL 20180313)
[    0.000768] ACPI: SSDT 0x00000000BF751000 0000A2 (v01 LENOVO PID0Ssdt 00000001 INTL 20180313)
[    0.000770] ACPI: SSDT 0x00000000BF750000 000CCC (v01 LENOVO UsbCTabl 00000001 INTL 20180313)
[    0.000772] ACPI: SSDT 0x00000000BF743000 007216 (v02 LENOVO TP-R1B   00000002 MSFT 04000000)
[    0.000774] ACPI: IVRS 0x00000000BF742000 0001A4 (v02 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000775] ACPI: SSDT 0x00000000BF704000 000266 (v01 LENOVO STD3     00000001 INTL 20180313)
[    0.000777] ACPI: SSDT 0x00000000BF6F0000 000632 (v02 LENOVO Tpm2Tabl 00001000 INTL 20180313)
[    0.000779] ACPI: TPM2 0x00000000BF6EF000 000034 (v03 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000781] ACPI: SSDT 0x00000000BF6EE000 000924 (v01 LENOVO WmiTable 00000001 INTL 20180313)
[    0.000783] ACPI: MSDM 0x00000000BF6B5000 000055 (v03 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000784] ACPI: BATB 0x00000000BF6A0000 00004A (v02 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000786] ACPI: HPET 0x00000000BE498000 000038 (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000788] ACPI: APIC 0x00000000BE497000 000138 (v02 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000789] ACPI: MCFG 0x00000000BE496000 00003C (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000791] ACPI: SBST 0x00000000BE495000 000030 (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000793] ACPI: WSMT 0x00000000BE494000 000028 (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000795] ACPI: VFCT 0x00000000BE477000 00D484 (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000796] ACPI: SSDT 0x00000000BE473000 0039F4 (v01 LENOVO TP-R1B   00000001 AMD  00000001)
[    0.000798] ACPI: CRAT 0x00000000BE472000 000F00 (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000800] ACPI: CDIT 0x00000000BE471000 000029 (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000802] ACPI: FPDT 0x00000000BF6C7000 000034 (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000803] ACPI: SSDT 0x00000000BE46F000 0013CF (v01 LENOVO TP-R1B   00000001 INTL 20180313)
[    0.000805] ACPI: SSDT 0x00000000BE46D000 001576 (v01 LENOVO TP-R1B   00000001 INTL 20180313)
[    0.000807] ACPI: SSDT 0x00000000BE468000 00353C (v01 LENOVO TP-R1B   00000001 INTL 20180313)
[    0.000808] ACPI: BGRT 0x00000000BE467000 000038 (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000810] ACPI: UEFI 0x00000000CC217000 00013E (v01 LENOVO TP-R1B   00001290 PTEC 00000002)
[    0.000812] ACPI: SSDT 0x00000000BF74F000 000090 (v01 LENOVO TP-R1B   00000001 INTL 20180313)
[    0.000813] ACPI: SSDT 0x00000000BF74E000 0009AD (v01 LENOVO TP-R1B   00000001 INTL 20180313)
[    0.519542] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    2.600509] thinkpad_acpi: Lenovo ThinkPad T14 Gen 1, model 20UDS0DK00
[    5.166731] usb 4-1.3.3: Manufacturer: Lenovo
[    6.198017] usb 4-1.3.3.2: Manufacturer: Lenovo
[    7.219876] input: Lenovo ThinkPad USB-C Dock Gen2 USB Audio as /devices/pci0000:00/0000:00:08.1/0000:07:00.3/usb4/4-1/4-1.3/4-1.3.3/4-1.3.3.2/4-1.3.3.2:1.3/0003:17EF:A396.0002/input/input19
[    7.272318] hid-generic 0003:17EF:A396.0002: input,hidraw1: USB HID v1.11 Device [Lenovo ThinkPad USB-C Dock Gen2 USB Audio] on usb-0000:07:00.3-1.3.3.2/input3

Reply
Options

208 Posts

03-06-2021

Germany

90 Signins

1290 Page Views

  • Posts: 208
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 1290
  • Message 7 of 10

Re:AMD T14 kernel error about acp_pdm_mach

2021-05-27, 9:17 AM
Added your machine to the list :)
Reply
Options

31 Posts

01-27-2021

Netherlands

18 Signins

140 Page Views

  • Posts: 31
  • Registered: ‎01-27-2021
  • Location: Netherlands
  • Views: 140
  • Message 8 of 10

Re:AMD T14 kernel error about acp_pdm_mach

2021-06-08, 16:12 PM

@ osnix wrote:

To sum up, the problem is caused by a BIOS bug.

The internal MIC is connected to the HDA codec, not to ACP,

however, the BIOS still announce ' MIC' support on the bridge.

 

My system seems to use the ACP mic: “Multichannel input (Raven/Raven2/FireFlight/Renoir Audio Processor Multichannel)”. I have not tested what happens if I connect an external microphone in the audio jack.

 

Is this issue related to the following external reports/patches?

 

Reply
Options

31 Posts

01-27-2021

Netherlands

18 Signins

140 Page Views

  • Posts: 31
  • Registered: ‎01-27-2021
  • Location: Netherlands
  • Views: 140
  • Message 9 of 10

Re:AMD T14 kernel error about acp_pdm_mach

2021-06-22, 7:06 AM

Apparently, this is harmless: https://gitlab.freedesktop.org/drm/amd/-/issues/1529#note_966920

 

My feeling is that osnix's patch is not for this issue. Perhaps it does not apply to my T14?

Reply
Options

208 Posts

03-06-2021

Germany

90 Signins

1290 Page Views

  • Posts: 208
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 1290
  • Message 10 of 10

Re:AMD T14 kernel error about acp_pdm_mach

2021-06-22, 8:47 AM

@ E.Q, wrote:

Apparently, this is harmless: https://gitlab.freedesktop.org/drm/amd/-/issues/1529#note_966920

 

My feeling is that osnix' patch is not for this issue. Perhaps it does not apply to my T14?

 

Well, it is for the original issue but ... It looks like there are machines with DMIC really not connected to ACP,

and some are just looking to be not connected but they are and the module loading breaks them regardless.

 

IOW, on some boxes that breaks the HDMI sound on some the DMIC =).

 

Now the weirdest thing was after booting this box with Windoze 10 option, stuff still breaks but I can manually unblock/unmute

sound/dmic on P14s, while a user with the same machine cannot :).

 

Also blacklisting the module then late loading it, seems to help on some boxes too.

 

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms

Most Liked Authors

(Last 7 days)

View All