You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Sound doesn't work across multiple distros on Asus Zenbook UX482 #3814
Describe the bug
I have been trying to install Linux on my system (Zenbook UX482). Across multiple distro's sound either stops working relatively quickly (between minutes to hours) or doesn't work at all.
To Reproduce
I'm not exactly sure what causes sound to break but it always inevitably occurs. This has occured in EndeavourOS, Fedora, Ubuntu. I am dual-booting with Windows and I think restarting from Windows and booting into Linux causes the sound to be thereafter broken in Linux.
Reproduction Rate
I have installed the previously mentioned distro's probably 12-25 times in the past couple days and audio always breaks on fresh install.
Expected behavior
For sound to work.
Impact
High impact.
Environment
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
Kernel: 5.18.0-arch1-1
SOF: 2.1.1-1
Name of the topology file
Topology: Not sure what this means
Name of the platform(s) on which the bug is observed.
Platform: EndeavousOS, Fedora 36, Ubuntu 22.04
Screenshots or console output
I can produce more information as requested. Forgive me, I am a bit of a Linux newcomer, but I desperately would like to get this sorted out.
@jonah-chen@jimmychm are you able to paste dmesg here when sound fails ? Which endpoints/PCMs are you using when it fails ? What uses cases ?
Btw, does sound work again when the sound servers are restarted (i.e stop all sound servers together for > 5 secs and restart them, there should be no audio users for at least 5 secs).
I was able to fix my issue by flashing the BIOS to an older version. However when I flashed the BIOS back to the latest version, the issue did not resurface. Hence, I believe this issue is likely caused by something else that is now resolved.
The original poster's issue is likely different. Thanks.
Specifically in the case of problems with speakers, there's a chance that the codec driver does not support the speaker amplifiers. Please run with the legacy driver (option snd-intel-dspcfg dsp_driver=1) and check if you have any sound on the speakers. If not, that's a codec driver issue, not a problem with SOF proper.
Specifically in the case of problems with speakers, there's a chance that the codec driver does not support the speaker amplifiers. Please run with the legacy driver (option snd-intel-dspcfg dsp_driver=1) and check if you have any sound on the speakers. If not, that's a codec driver issue, not a problem with SOF proper.
Thanks @plbossart , I tried snd-intel-dspcfg dsp_driver=1 and still no sound. will check the codec driver. Do you happen to have any idea where to start?
Oh that's painful I am afraid @hereblur. You will typically need to find the 'verbs' that are missing and used by Windows to configure those amps. There was a script to reverse-engineer them, I'll add it in reference when I have a moment.
I am having the same problem with a ZenBook Pro Duo UX582ZM (Alder Lake, Arch 5.18.13, realtek ALC294).
The speakers do not appear in alsamixer. The headphones do, and sound is fine through headphones jack. No sound on speakers, although audio plays according to the system (meaning speaker-test -Dhw:0,0 -c2 -r48000 -f S16_LE does not give errors and goes through 2 speakers, but I hear nothing).
I followed the @ryanprescott tutorial to snoop verbs, because for a previous model (UX582XT), there were a series of hda-verbs that do not work with mine. Unfortunately, I managed to compile QEMU and enable the right parameters on the kernel, but apparently I can't get windows 10 or windows 11 to get sound in QEMU, despite installing what I think are the correct drivers. Any other ideas?
Hello, i am having the same issue on an HP 15-ewXXX running Linux Mint 6.1.6-060106-generic #202301141035 SMP PREEMPT_DYNAMIC Sat Jan 14 11:15:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
ASUS bios problem.
Support only refers to windows support. There is a post on reddit about ux3402 in the ASUS topic. Perhaps, if a large number of voters gather, then the asus will solve the problem.
With a high probability, the bios problem also affects other zenbook laptops.
Reacted by Ken Minardo, xhudik, Daniel Šádek and Armen Bakir
Hello everybody...
Does someone have ever been able to make the sound work for a Zenbook UX582?
I just got my distro (Fedora) updated to its latest kernel 6.1.18 and was hopping very much that this would have been solved...
According to that reddit post, it's an issue from Asus and that's very ridiculous.. It's a shame TBH.. (Frustration is speaking sorry)
⚠️ As stated by Cirrus developers, if you try this there is a non-zero (low, I hope) possibility of blowing your speakers. Take into account that this procedure is not just configuring your box, it is hardware-level hacking.
warning As stated by Cirrus developers, if you try this there is a non-zero (low, I hope) possibility of blowing your speakers. Take into account that this procedure is not just configuring your box, it is hardware-level hacking.
Quite a broad range of devices mentioned on this ticket, the original device on the ticket the UX482 I believe does not have a Cirrus device in it. However, most of the other devices mentioned that do should all be supported in mainline now (v6.8+), these include:
If you have a laptop that has a Cirrus device in it and are still having issues I would encourage opening a new ticket, because at least nominally this ticket relates to the UX482 which does not appear to.
Activity
[-][BUG][/-][+][BUG] Sound doesn't work across multiple distros on Asus Zenbook UX482[/+]jonah-chen commentedon May 30, 2022
I have the same issues on the Asus Zenbook UP5401EA with the LTS kernel as well.
lgirdwood commentedon May 30, 2022
@jonah-chen @jimmychm are you able to paste dmesg here when sound fails ? Which endpoints/PCMs are you using when it fails ? What uses cases ?
Btw, does sound work again when the sound servers are restarted (i.e stop all sound servers together for > 5 secs and restart them, there should be no audio users for at least 5 secs).
jonah-chen commentedon Jun 1, 2022
I was able to fix my issue by flashing the BIOS to an older version. However when I flashed the BIOS back to the latest version, the issue did not resurface. Hence, I believe this issue is likely caused by something else that is now resolved.
The original poster's issue is likely different. Thanks.
hereblur commentedon Jun 28, 2022
I have similar problem with my zenbook ux3402.
Sound works perfect on Bluetooth and 3.5mm but no sound on internal speakers.
I tried on fedora 36, ubuntu live-usb (22), even compiled the kernel (5.19.0-rc3).
[
alsa-info.txt
](url)
plbossart commentedon Jun 28, 2022
@hereblur you may want to look at the suggestions here: https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html
Specifically in the case of problems with speakers, there's a chance that the codec driver does not support the speaker amplifiers. Please run with the legacy driver (option snd-intel-dspcfg dsp_driver=1) and check if you have any sound on the speakers. If not, that's a codec driver issue, not a problem with SOF proper.
hereblur commentedon Jun 28, 2022
Thanks @plbossart , I tried
snd-intel-dspcfg dsp_driver=1and still no sound. will check the codec driver. Do you happen to have any idea where to start?plbossart commentedon Jun 28, 2022
Oh that's painful I am afraid @hereblur. You will typically need to find the 'verbs' that are missing and used by Windows to configure those amps. There was a script to reverse-engineer them, I'll add it in reference when I have a moment.
plbossart commentedon Jun 28, 2022
@hereblur Here's the reference from @ryanprescott to snoop verbs
https://github.com/ryanprescott/realtek-verb-tools/wiki/How-to-sniff-verbs-from-a-Windows-sound-driver
aleksfadini commentedon Jul 23, 2022
I am having the same problem with a ZenBook Pro Duo UX582ZM (Alder Lake, Arch 5.18.13, realtek ALC294).
The speakers do not appear in alsamixer. The headphones do, and sound is fine through headphones jack. No sound on speakers, although audio plays according to the system (meaning
speaker-test -Dhw:0,0 -c2 -r48000 -f S16_LEdoes not give errors and goes through 2 speakers, but I hear nothing).I followed the @ryanprescott tutorial to snoop verbs, because for a previous model (UX582XT), there were a series of hda-verbs that do not work with mine. Unfortunately, I managed to compile QEMU and enable the right parameters on the kernel, but apparently I can't get windows 10 or windows 11 to get sound in QEMU, despite installing what I think are the correct drivers. Any other ideas?
lgirdwood commentedon Jul 25, 2022
@bardliao would anyone from Realtek be able to suggest the correct verbs here ?
bardliao commentedon Jul 26, 2022
Kailang kailang@realtek.com and Pshou pshou@realtek.com may help.
m4vci commentedon Aug 10, 2022
@hereblur Have you found a solution for UX3402? I have the same laptop and the same issue.
87 remaining items
wmantly commentedon Jan 16, 2023
Hello, i am having the same issue on an HP 15-ewXXX running Linux Mint 6.1.6-060106-generic #202301141035 SMP PREEMPT_DYNAMIC Sat Jan 14 11:15:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
openarun commentedon Jan 24, 2023
Any updates on the issue please? anyone?
vyacheslav25 commentedon Jan 28, 2023
https://github.com/CirrusLogic/linux-firmware/issues/8#issuecomment-1387128605
ASUS bios problem.
Support only refers to windows support. There is a post on reddit about ux3402 in the ASUS topic. Perhaps, if a large number of voters gather, then the asus will solve the problem.
With a high probability, the bios problem also affects other zenbook laptops.
openarun commentedon Jan 28, 2023
Is this the correct link?
https://www.reddit.com/r/ASUS/comments/10iv09h/zenbook_ux3402_update_bios_to_get_sound_on_linux/
vyacheslav25 commentedon Jan 28, 2023
yep
sanjibukai commentedon Mar 16, 2023
Hello everybody...
Does someone have ever been able to make the sound work for a Zenbook UX582?
I just got my distro (Fedora) updated to its latest kernel 6.1.18 and was hopping very much that this would have been solved...
According to that reddit post, it's an issue from Asus and that's very ridiculous.. It's a shame TBH.. (Frustration is speaking sorry)
kminardo commentedon Apr 4, 2023
Just spreading the word, I have had great success with this ACPI table patch:
https://gist.github.com/lamperez/862763881c0e1c812392b5574727f6ff
Originally found here:
https://www.reddit.com/r/ASUS/comments/10iv09h/zenbook_ux3402_update_bios_to_get_sound_on_linux/jdv0o22/
Use the second patch,
dsdt.dsl.patchNOTdsdt.dsl-old.patchMy system:
fermino commentedon Apr 4, 2023
It works on my UX3402 with Arch Linux! (6.1.22-1-lts)
Comment here about how to make it work with grub2:
https://gist.github.com/lamperez/862763881c0e1c812392b5574727f6ff?permalink_comment_id=4526397#gistcomment-4526397
EmreNOP commentedon Apr 4, 2023
I can confirm that not working for Zenbook UP6502
dsdt.dsl 78034: SPK1, One, Zero, Zero,
Error 6084 - Object does not exist ^ (SPK1)
dsdt.dsl 78035: SPK1, One, Zero, Zero,
Error 6084 - Object does not exist ^ (SPK1)
dsdt.dsl 78038: SPK1, 0x02, Zero, Zero,
Error 6084 - Object does not exist ^ (SPK1)
dsdt.dsl 78039: SPK1, 0x02, Zero, Zero,
Error 6084 - Object does not exist ^ (SPK1)
dsdt.dsl 78058: SPK1, Zero, Zero, Zero // GPIO CS
Error 6084 - Object does not exist ^ (SPK1)
fermino commentedon Apr 4, 2023
@EmreNOP what patch did you try to use?
EmreNOP commentedon Apr 4, 2023
dsdt.dsl.patch. not the old one.
Testing-XYZ commentedon Apr 8, 2023
Can confirm it works. Thanks a lot for sharing!
haakov commentedon Apr 9, 2023
It works (Arch Linux 6.2.10, UX3402ZA, BIOS 310)
Thank you! 😄
charleskeepax commentedon May 7, 2024
Quite a broad range of devices mentioned on this ticket, the original device on the ticket the UX482 I believe does not have a Cirrus device in it. However, most of the other devices mentioned that do should all be supported in mainline now (v6.8+), these include:
UX582ZM, UM3402, UM3402YA, UM3402VA, UX3402ZA, UM5302LA, UM5302TA, UP6502ZA
If you have a laptop that has a Cirrus device in it and are still having issues I would encourage opening a new ticket, because at least nominally this ticket relates to the UX482 which does not appear to.
ujfalusi commentedon Mar 26, 2025
I believe this issue can be closed?