https://github.com/smallcms/asus_zenbook_ux3405ma
SSDT Patch to fix missing speakers sound in Linux on Asus Zenbook 14 UX3405MA (2024) and latest BIOS
https://github.com/smallcms/asus_zenbook_ux3405ma
asus asus-zenbook cirrus-logic fedora-workstation harman-kardon linux-firmware ux3405ma zenbook
Last synced: 18 days ago
JSON representation
SSDT Patch to fix missing speakers sound in Linux on Asus Zenbook 14 UX3405MA (2024) and latest BIOS
- Host: GitHub
- URL: https://github.com/smallcms/asus_zenbook_ux3405ma
- Owner: smallcms
- Created: 2024-04-15T22:41:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-28T19:54:18.000Z (4 months ago)
- Last Synced: 2025-03-24T11:56:54.284Z (about 1 month ago)
- Topics: asus, asus-zenbook, cirrus-logic, fedora-workstation, harman-kardon, linux-firmware, ux3405ma, zenbook
- Language: ASL
- Homepage:
- Size: 25.4 KB
- Stars: 26
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ASUS Zenbook UX3405MA amplifier
SSDT Patch to fix missing speakers sound on Asus Zenbook 14 UX3405MA (2024) and latest BIOS> [!NOTE]
> Deprecated! ≥ 6.11 Linux Kernel
>
> Added support for **10431A63**
>
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/sound/pci/hda/cs35l41_hda_property.c?h=v6.11
>
> If the maximum volume is still a bit low in kernel 6.11 and later, you can create the following symlinks to load
> a different (newer) firmware. Do so at your own risk!
>
> ```
> cd /lib/firmware/cirrus
> ln -s cs35l41/v6.83.0/halo_cspl_RAM_revB2_29.85.0.wmfw cs35l41-dsp1-spk-prot-10431a63-spkid0-r0.wmfw
> ln -s cs35l41/v6.83.0/halo_cspl_RAM_revB2_29.85.0.wmfw cs35l41-dsp1-spk-prot-10431a63-spkid0-l0.wmfw
> ```
>
> Additionally, your linux-firmware package may be missing [this commit with some tunings](https://github.com/CirrusLogic/linux-firmware/commit/dfadf5687922f239eb8b04df0e1726230098b802), add them:
> ```
> cd /lib/firmware/cirrus
> ln -s cs35l41/bincfgs/cs35l41-dsp1-19_5dB.bincfg cs35l41-dsp1-spk-prot-10431a63-spkid0-r0.bincfg
> ln -s cs35l41/bincfgs/cs35l41-dsp1-19_5dB.bincfg cs35l41-dsp1-spk-prot-10431a63-spkid0-l0.bincfg
> ```**BIOS Configuration**
- **BIOS Version:** Tested on 305
- **Secure Boot:** Disabled
- **Tested OS:** Fedora 39 kernel-6.8.6-200.fc39.x86_64# Patch installation
## Arch based
Install AUR package, created by [tholden92](https://github.com/tholden92):[](https://aur.archlinux.org/packages/zenbook-sound-fix-ux3405ma/)
## Package/repo installation (via OBS)
See instructions to install compiled aml as binary package for ArchLinux, Fedora, Debian, openSUSE, Ubuntu here:[](https://software.opensuse.org//download.html?project=home%3Asmallcms&package=zenbook-sound-fix-ux3405ma)
## Manual installation
### Build the _ssdt-csc3551.dsl_
```
iasl -tc ssdt-csc3551.dsl
```### Copy it to /boot
```
sudo cp -f ssdt-csc3551.aml /boot
```### Copy grub script
```
sudo cp -f 01_acpi /etc/grub.d && sudo chmod +x /etc/grub.d/01_acpi
```### Update grub config
* Update grub config
* Debian / Ubuntu based distributions```sudo update-grub```
* Fedora / RHEL-based distributions
```sudo grub2-mkconfig -o /etc/grub2.cfg```
```sudo grub2-mkconfig -o /etc/grub2-efi.cfg```
* Arch based distributions
```grub-mkconfig -o /boot/grub/grub.cfg```
### Reboot
# Bonus: Fix pop/crack when stop playback, audio cutting out
Copy pipewire and wireplumber config parts to user's home ~/.config
```
cp -r fix_pop_crack_pop/pipewire ~/.config
```
> [!NOTE]
> If you are using wireplumber before 0.5, copy this lua
```
cp -r fix_pop_crack_pop/wireplumber/main.lua.d ~/.config/wireplumber
```
> [!NOTE]
> If you have modern wireplumber 0.5 or higher, copy this conf
```
cp -r fix_pop_crack_pop/wireplumber/wireplumber.conf.d ~/.config/wireplumber
```Restart audio
```
systemctl --user restart wireplumber pipewire pipewire-pulse
```Restart your app (ex. Chrome). Done.
# Alternative: If pop/crack and audio cutting out persists
Copy Pipewire and Wireplumber config parts to /etc/
```
sudo cp -r fix_pop_crack_pop/pipewire /etc/
```
> [!NOTE]
> Wireplumber < 0.5
```
sudo cp -r fix_pop_crack_pop/wireplumber/main.lua.d /etc/wireplumber/
```
> [!NOTE]
> Modern Wireplumber ≥ 0.5
```
sudo cp -r fix_pop_crack_pop/wireplumber/wireplumber.conf.d /etc/wireplumber/
```Restart Audio
```
systemctl --user restart wireplumber pipewire pipewire-pulse
```Restart your app (ex. Chrome). Done.
### Special thanks
| User | Description |
| :-------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [lamperez](https://gist.github.com/lamperez) | For [ACPI DSDT/SSDT patching guides](https://gist.github.com/lamperez/862763881c0e1c812392b5574727f6ff) and [tools](https://gist.github.com/lamperez/d5b385bc0c0c04928211e297a69f32d7) |
| [thor2002ro](https://github.com/thor2002ro) | For [GRUB patch](https://github.com/thor2002ro/asus_zenbook_ux3402za/tree/main/Sound) for similar laptop |