No sound on ASUS Zenbook UM5302TA AMD Ryzen 6800U model

Bug #1999968 reported by Vishal Rao
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Invalid
Medium
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

No sound on ASUS Zenbook laptop model UM5302TA based on AMD Ryzen 6800U CPU platform.

Also tried latest mainline kernel build 6.1-rc5 with no luck.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-43-generic 5.15.0-43.46
ProcVersionSignature: Ubuntu 5.15.0-43.46-generic 5.15.39
Uname: Linux 5.15.0-43-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 5843 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 5843 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CasperVersion: 1.470
CurrentDesktop: ubuntu:GNOME
Date: Sat Dec 17 09:56:41 2022
LiveMediaBuild: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: ASUSTeK COMPUTER INC. Zenbook UM5302TA_UM5302TA
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/username.seed maybe-ubiquity quiet splash ---
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-43-generic N/A
 linux-backports-modules-5.15.0-43-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.3
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/10/2022
dmi.bios.release: 5.24
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: UM5302TA.310
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UM5302TA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.ec.firmware.release: 3.10
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrUM5302TA.310:bd08/10/2022:br5.24:efr3.10:svnASUSTeKCOMPUTERINC.:pnZenbookUM5302TA_UM5302TA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUM5302TA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:
dmi.product.family: Zenbook
dmi.product.name: Zenbook UM5302TA_UM5302TA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Vishal Rao (vishalrao) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Vishal Rao (vishalrao) wrote :

Came across this page: https://zentalk.asus.com/en/discussion/63549/linux-on-zenbook-s-13-oled

It talks about a small community patch that apparently resolves audio issue but not accepted to the kernel due to not being proper. I am now trying it out against kernel v6.1 from git and will report back if I make useful progress.

Revision history for this message
In , vishalrao (vishalrao-linux-kernel-bugs) wrote :

No sound on ASUS Zenbook laptop model UM5302TA based on AMD Ryzen 6800U CPU platform.

Also tried latest mainline kernel build 6.1-rc5 with no luck.

Came across this page: https://zentalk.asus.com/en/discussion/63549/linux-on-zenbook-s-13-oled

It talks about a small community patch that apparently resolves audio issue but not accepted to the kernel due to not being proper

I've also submitted a bug report to Ubuntu here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1999968

It has attachments to various logs.

Revision history for this message
Vishal Rao (vishalrao) wrote :

This patch against kernel 6.1 gets the audio to work. Although I have tested only against the xanmod kernel ppa.

What will it take to get this laptop to work with jammy LTS kernels properly?

See https://aur.archlinux.org/cgit/aur.git/plain/cs35l42-hda-no-acpi-dsd-csc3551.patch?h=linux-mainline-um5302ta

tags: added: patch
Revision history for this message
In , mario.limonciello (mario.limonciello-linux-kernel-bugs) wrote :

Can you please attach your kernel log with mainline 6.1 kernel? I expect that there is going to be something like this case/message coming up.

https://github.com/torvalds/linux/blob/v6.1/sound/pci/hda/cs35l41_hda.c#L1240

In that case it's the same bug as bug 216194.
If the _DSD information is missing from the DSDT then you'll need to report it to ASUS to get fixed in a BIOS upgrade.

Changed in linux:
importance: Unknown → Medium
status: Unknown → Incomplete
Revision history for this message
In , vishalrao (vishalrao-linux-kernel-bugs) wrote :

(In reply to Mario Limonciello (AMD) from comment #1)
> Can you please attach your kernel log with mainline 6.1 kernel? I expect
> that there is going to be something like this case/message coming up.
>
> https://github.com/torvalds/linux/blob/v6.1/sound/pci/hda/cs35l41_hda.c#L1240
>
> In that case it's the same bug as bug 216194.
> If the _DSD information is missing from the DSDT then you'll need to report
> it to ASUS to get fixed in a BIOS upgrade.

Yes, looks like that's the case - attaching my dmesg snippet. Would you know how/where to report this to ASUS for them to work on updating the BIOS? I will also look around their website/forums to post this request. Thanks!

Revision history for this message
In , vishalrao (vishalrao-linux-kernel-bugs) wrote :

Created attachment 303433
dmesg snippet confirming missing ACPI _DSD info in BIOS

Revision history for this message
Vishal Rao (vishalrao) wrote :

Yes, looks like that's the case - attaching my dmesg snippet. Would you know how/where to report this to ASUS for them to work on updating the BIOS? I will also look around their website/forums to post this request. Thanks!

Revision history for this message
In , mario.limonciello (mario.limonciello-linux-kernel-bugs) wrote :

Yup, so it's a duplicate. The thing about the CSC3551 is that it can be configured a bunch of different ways. Without information from ASUS about how the design is wired up it's not possible to safely quirk it. That's why it's best to get ASUS to issue a BIOS update to specify the _DSD values to fix it.

Guessing at how the amplifier should be configured without proper reference (to schematics or what Windows is doing) is a recipe for disaster.

Revision history for this message
In , mario.limonciello (mario.limonciello-linux-kernel-bugs) wrote :

BTW: want to make sure you've seen this on the topic (from Cirrus):
https://<email address hidden>/T/#me1286693b86126713b547986f1245b22fe24c6ed

Changed in linux:
status: Incomplete → Invalid
Revision history for this message
In , tanure (tanure-linux-kernel-bugs) wrote :

Hi Guys,

I don't work for Cirrus anymore, so I can't help.
My advice is to report issues to: <email address hidden>

Also, the only way to propper configures the CSC3551 is to read the memory value from I2C or SPI in a Windows setup during a playback.
If you manage to read the content of the memory of CSC3551 during playback from windows, it should be easy to configure it properly for Linux.
The DSD part of BIOS is very important, but if the vendor is unwilling to help, that info could somehow make it to the source code.

Thanks
Lucas

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.