Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RevoluPowered/2958db9f1d00f074e813aeacd3816d05 to your computer and use it in GitHub Desktop.
Save RevoluPowered/2958db9f1d00f074e813aeacd3816d05 to your computer and use it in GitHub Desktop.
# 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
@RevoluPowered
Copy link
Author

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
image

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.

@RevoluPowered
Copy link
Author

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