LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-13-2018, 08:23 AM   #1
jag2
LQ Newbie
 
Registered: Feb 2018
Posts: 3

Rep: Reputation: Disabled
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.

Last edited by jag2; 03-13-2018 at 08:26 AM.
 
Old 03-13-2018, 10:51 AM   #2
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
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.
 
Old 03-13-2018, 12:53 PM   #3
jag2
LQ Newbie
 
Registered: Feb 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dave@burn-it.co.uk View Post
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.
 
Old 03-13-2018, 01:11 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
Quote:
Originally Posted by dave@burn-it.co.uk View Post
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.
 
Old 03-15-2018, 04:07 AM   #5
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
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 View Post
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.
 
Old 03-15-2018, 05:55 AM   #6
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
Detach and re-attach the device - just logically.
 
Old 03-15-2018, 06:19 AM   #7
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,442

Rep: Reputation: Disabled
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.

Last edited by fatmac; 03-15-2018 at 06:23 AM.
 
Old 03-16-2018, 07:31 PM   #8
jag2
LQ Newbie
 
Registered: Feb 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
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.
 
Old 03-17-2018, 10:16 AM   #9
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan with some Tiny Core, Fatdog, Haiku, & BSD thrown in.
Posts: 5,442

Rep: Reputation: Disabled
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.

Last edited by fatmac; 03-17-2018 at 10:17 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] hardware wifi switch on HP Pavilion dv6 in Fedora 21 mshlinux Fedora 2 12-12-2014 09:49 PM
[SOLVED] Wifi blocked. amboxer21 Ubuntu 9 05-23-2012 08:25 PM
hp pavilion w/ WiFi merlin1012 DamnSmallLinux 2 01-08-2011 11:10 AM
bluetooth not working after resume from suspend on hp pavilion dv3000 TDMBG Linux - Laptop and Netbook 2 01-06-2011 01:10 PM
Suspend Issues on Ubuntu 8.04, 2.6.24-19 realtime kernel, HP Pavilion dv8210us orethrius Linux - Laptop and Netbook 1 04-26-2009 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration