diff --git a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup index 42533709..7320900d 100755 --- a/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/libexec/bazzite-hardware-setup @@ -242,8 +242,8 @@ if [[ ":Framework:" =~ ":$VEN_ID:" ]]; then if [[ $SYS_ID == "Laptop ("* ]]; then if [[ ! -f /etc/modprobe.d/alsa.conf ]]; then echo 'Fixing 3.5mm jack' - sudo tee /etc/modprobe.d/alsa.conf <<< "options snd-hda-intel index=1,0 model=auto,dell-headset-multi" - echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_save + echo "options snd-hda-intel index=1,0 model=auto,dell-headset-multi" > /etc/modprobe.d/alsa.conf + echo 0 > /sys/module/snd_hda_intel/parameters/power_save fi if [[ ! -f /etc/udev/rules.d/20-suspend-fixes.rules ]]; then echo 'Fixing suspend issue' @@ -253,13 +253,6 @@ if [[ ":Framework:" =~ ":$VEN_ID:" ]]; then fi fi -# ALLY POWER SAVE FIX -if [[ ":ROG Ally X RC72LA:" =~ ":$SYS_ID:" ]]; then - # Disable amd_pmf until patched upstream - modprobe -r amd_pmf - echo "blacklist amd_pmf" | sudo tee /etc/modprobe.d/hhd-blacklist.conf -fi - # WAYDROID FIX if [[ -f "/var/lib/waydroid/lxc/waydroid/config" ]]; then echo "Removing unneeded apparmor entry from Waydroid LXC"