Created
February 16, 2023 10:13
-
-
Save RevoluPowered/2958db9f1d00f074e813aeacd3816d05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fix sony XM4's disconnecting and wifi dying on Intel AX210 cards on Linux | |
# run as root | |
echo -1 > /sys/module/usbcore/parameters/autosuspend | |
echo N | tee /sys/module/snd_hda_intel/parameters/power_save_controller | |
echo 0 | tee /sys/module/snd_hda_intel/parameters/power_save | |
# you prob need to modify this to your wifi card name run iwconfig and add it properly replacing wlp5s0 | |
iwconfig wlp5s0 power off |
This was the only way I got WiFI to behave and Bluetooth to reliably auto connect when I started my headphones.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On your router side if running a draytek WiFI router make sure to disable the following advanced option to make the WiFi card behave too and not randomly disconnect:
Wireless Lan -> Advanced Setting

Disable it for BOTH networks the 5 and the 2.4 ghz, hey and if you are like me and have the 6 ghz band, disable it there too.