Ubuntu – Wifi Hard Blocked After Suspend in Ubuntu on GS65


While GS65's wifi module, Killer 1550i(which is roughly Intel 9560), doesn't supported in \~4.17 kernels, I managed to get the wifi working by compiling latest iwlwifi kernel module and including them.

But when I recover from the suspend, the wifi module is hard blocked(I could confirm this by sudo rfkill list all).

After the hard block, the airplane mode cannot be turned off by sudo rfkill unblock all or sudo modprobe iwlwifi. Googling suggests to use hardware airplane mode key, which is Fn+F10 on GS65, doesn't work in all situation(before/after hard block).

It's really frustrating since whenever I suspend my laptop for battery I have to reset it. Any help will be great. Thanks in advance!

Best Answer

I have found another work-around for this, although it's not perfect. Whilst airplane mode still will turn itself on and stay on after a suspend, at least this enables the hardware key fn+F10 to allow you to get it back working again. Upon resume just double tap that key combo as quick as you like and you're back online.

To enable fn+F10 add this line to your grub config in /etc/default/grub:

GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=! acpi_osi='Windows 2009' quiet splash"

To take effect, the grub configuration must be re-baked. You can achieve this by running the following command:

sudo update-grub

(Updated after reading the comments below)