A script to fix the audio problems on Legion Pro 7 16IRX8H on Linux. This is a combination of solutions from this thread, with an automatic installer to eliminate manual steps.
- Apply a fix to the TAS2781 chip when pipewire is activated
- Apply the fix when awaking from suspend
Tested on Arch Linux, kernel 6.11, KDE Plasma 6.
jq and i2c-tools must be installed before applying the fix. Both are supported by mainstream package managers.
To install, simply run the following command:
curl -s https://raw.githubusercontent.com/DanielWeiner/tas2781-fix-16IRX8H/refs/heads/main/install.sh | bash -s --
Then make sure to reboot your system.
To uninstall, run:
/usr/local/bin/tas2781-fix --uninstall
To restart the service and re-trigger the fix, run:
systemctl --user restart tas2781-fix.service