LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   WiFi is hardware blocked every time after suspend on HP Pavilion (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/wifi-is-hardware-blocked-every-time-after-suspend-on-hp-pavilion-4175625486/)

jag2 03-13-2018 08:23 AM

WiFi is hardware blocked every time after suspend on HP Pavilion
 
I'm dual booting Ubuntu 16.04 alongside Windows 10. Every time my laptop resumes after suspending it, the Wifi is "hardware disabled". It works fine the first time it boots up.

The only switch on my laptop that disables the wifi is the airplane mode key (F12) which will turn it off on windows but doesn't do anything on Linux.

I've tried rfkill and blacklisting the hp_wmi module but that didn't work.
This is a problem happens on other Linux distros as well.

dave@burn-it.co.uk 03-13-2018 10:51 AM

It will behave like that by design.
When you suspend, the devices are powered off to save power. WIFI is very power hungry. It takes a reboot to re-enable it.

jag2 03-13-2018 12:53 PM

Quote:

Originally Posted by dave@burn-it.co.uk (Post 5830530)
It will behave like that by design.
When you suspend, the devices are powered off to save power. WIFI is very power hungry. It takes a reboot to re-enable it.

Is there a way to re-enable it without having to reboot? It's just annoying when I'm doing something, then close the laptop over for a break and have to restart just to get the wifi to work.

sundialsvcs 03-13-2018 01:11 PM

Quote:

Originally Posted by dave@burn-it.co.uk (Post 5830530)
It will behave like that by design.
When you suspend, the devices are powered off to save power. WIFI is very power hungry. It takes a reboot to re-enable it.

That seems very odd to me. Also, this AskUbuntu.com post seems to address it.

aragorn2101 03-15-2018 04:07 AM

Thank you very much for your post jag2. I have this problem as well on my HP Pavilion. I actually run Slackware 14.1. I also tested Slackware 14.2 and the problem is always there. I have tried the classic commands like rfkill. I also thought reloading the module might do something. But problem persists. I also tried Linux Mint and Fedora, and the same problem arise. It seems that it is a HP-based issue.

Quote:

Originally Posted by dave@burn-it.co.uk (Post 5830530)
It will behave like that by design.

When you suspend, the devices are powered off to save power. WIFI is very power hungry. It takes a reboot to re-enable it.

But, Windows seems to be able to wake it up fine. I would like to do the same on Linux. There must be a way. So, I hope someone out there can help.

dave@burn-it.co.uk 03-15-2018 05:55 AM

Detach and re-attach the device - just logically.

fatmac 03-15-2018 06:19 AM

I've got an HP-G62 & this problem is similar to what I'm experiencing just recently.
(I'm on a Debian based distro.)

I believe that something has changed in wicd, as now it doesn't automatically come up when I switch on, but I can enable it through the wicd GUI once booted up. But it won't come up automatically, whatever I try. I can't even get ceni to activate it, & that has always worked better than wicd for me.

Edit: There's a thread here about a bug in wicd, might be part of the problem.

jag2 03-16-2018 07:31 PM

Quote:

Originally Posted by sundialsvcs (Post 5830602)
That seems very odd to me. Also, this AskUbuntu.com post seems to address it.

I tried the method shown in the link but it still doesn't change anything. Airplane mode is still blocking the wifi and can't be turned off.

fatmac 03-17-2018 10:16 AM

I just put Raspbian desktop on my HP-G62, Debian 9 based, & I have no problem now, wifi starts up, as it used to before, on each boot up. :)

N.B. This distro uses systemd, whereas my regular distro doesn't, so maybe another systemd bug. ;)


All times are GMT -5. The time now is 10:00 AM.