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

407 Posts

03-06-2021

Germany

227 Signins

2420 Page Views

  • Posts: 407
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2420
  • Message 21 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 14:04 PM

@ equaliser wrote:

Holy moly. Yes, this works. I remembered encountered the failed -517 when booting into arch using usb-stick. After modifying kernel cdm, now I have digital surround and also pro audio. Thanks a ton.

 

Good :)

 

While we have a workaround, that is a real problem and need to be fixed upstream,

and/or firmware too.

 

 

Reply
Options

407 Posts

03-06-2021

Germany

227 Signins

2420 Page Views

  • Posts: 407
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2420
  • Message 22 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 16:00 PM

@equaliser 

 

could you do a:

 

```

cat /sys/devices/virtual/dmi/id/board_name

 

```

 

and post me the result?

 

Also, how is your model exactly called?

 

@MarkRHPearson , looked at the code and they have a blacklist already,

so far only Lenovo products there =). Can you check with firmware teams

if that is a firmware issue or HW limitation on these machines?.

 

I see from commits logs, those machines do not have the internal digital microphone

connected to the AMD's ACP bridge, but the BIOS itself seems to announce that.

 

Either way, we can fix it in kernel & firmware maybe too.

 

Gabriel

Reply
Options

6 Posts

05-25-2021

Netherlands

7 Signins

60 Page Views

  • Posts: 6
  • Registered: ‎05-25-2021
  • Location: Netherlands
  • Views: 60
  • Message 23 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 16:55 PM
This is the output of the command: ``` 20UJS00K00 ``` The model name is: Lenovo Thinkpad T14s Gen1 20UJS00K00 Campus. It is from the campus program provided by Lenovo via lapstars/campuspoint/... in Germany.
Reply
Options

407 Posts

03-06-2021

Germany

227 Signins

2420 Page Views

  • Posts: 407
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2420
  • Message 24 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 17:09 PM

@ equaliser wrote:

This is the output of the command:```20UJS00K00```The model name is: Lenovo Thinkpad T14s Gen1 20UJS00K00 Campus. It is from the campus program provided by Lenovo via lapstars/campuspoint/... in Germany.

 

Thank you, let me prepare a kernel patch for your and my model :)

Reply
Options

407 Posts

03-06-2021

Germany

227 Signins

2420 Page Views

  • Posts: 407
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2420
  • Message 25 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 17:29 PM

@ osnix wrote:

@ equaliser wrote:

This is the output of the command:```20UJS00K00```The model name is: Lenovo Thinkpad T14s Gen1 20UJS00K00 Campus. It is from the campus program provided by Lenovo via lapstars/campuspoint/... in Germany.

 

Thank you, let me prepare a kernel patch for your and my model :)

 

Ok done. 

 

The patch is there:

 

https://crazy.dev.frugalware.org/Lenovo/rn-pci-acp3x.c_blacklist_dmic_for_P14s_T14s_Campus.patch

 

@MarkRHPearson , care to send upstream, or do you want me to do that?

Maybe you can check what other devices are broken and extend that list.

Reply
Options

29 Posts

03-06-2021

Greece

28 Signins

260 Page Views

  • Posts: 29
  • Registered: ‎03-06-2021
  • Location: Greece
  • Views: 260
  • Message 26 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 19:38 PM

As you can imagine (same board, after all), X13 has the same issue, I just never happened to notice since I use USB DECT headset:

 

[   14.562519] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517

 

Model is 20UF000NMH (X13, 4750U)

Reply
Options

407 Posts

03-06-2021

Germany

227 Signins

2420 Page Views

  • Posts: 407
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2420
  • Message 27 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 20:34 PM

@ schristoforou wrote:

As you can imagine (same board, after all), X13 has the same issue, I just never happened to notice since I use USB DECT headset:

 

[   14.562519] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517

 

Model is 20UF000NMH (X13, 4750U)

 

Is 20UF000NMH set as board_name too?

 

Reply
Options

29 Posts

03-06-2021

Greece

28 Signins

260 Page Views

  • Posts: 29
  • Registered: ‎03-06-2021
  • Location: Greece
  • Views: 260
  • Message 28 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 20:45 PM
Yup
Reply
Options

407 Posts

03-06-2021

Germany

227 Signins

2420 Page Views

  • Posts: 407
  • Registered: ‎03-06-2021
  • Location: Germany
  • Views: 2420
  • Message 29 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 20:48 PM

@ schristoforou wrote:

Yup

 

Ok, an updated patch there:

 

https://crazy.dev.frugalware.org/Lenovo/0001-ASoC-AMD-Renoir-add-DMI-entry-for-Lenovo-ThinkPad-P1.patch

 

Is now a git patch, for people having git trees git am should do it.

Also, it should work without problems on 5.12 stable kernels.

Reply
Options

29 Posts

03-06-2021

Greece

28 Signins

260 Page Views

  • Posts: 29
  • Registered: ‎03-06-2021
  • Location: Greece
  • Views: 260
  • Message 30 of 74

Re:T14s AMD no HDMI audio on Linux

2021-05-26, 20:53 PM

Although I admire your determination in putting more boards to the blacklist (thanks for that), I really think Lenovo should send a list of them so that it can be fed to the kernel as an array, since it is very likely most boards of the X13/T14s/P14s variant will have the same issue.

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