Stretch - Laptop Lid Opening Disables WiFI

If none of the more specific forums is the right place to ask

Stretch - Laptop Lid Opening Disables WiFI

Postby DebJess » 2017-07-16 13:08

Hi, this is my first time posting anything to the forum, so please ask me anything if I'm not thorough enough!

I'm running Debian Stretch, on a HP Stream 11 laptop. Whenever I close and open the lid, the WiFi disables. But it's the opening that disables the WiFi. I know this because I've got an addon installed on my browser that makes a sound whenever a download is done, and the addon sounds after the lid has closed, but whenever I open it to check the downloaded file, a notification immediately appears stating that the "network has been disconnected". So, the connection is still going on while closed, hence the download sound, but it disconnects when I open it.

I've searched the net for answers, but everyone seems to have trouble with the lid closing, not opening. I've got my Stretch configured to do nothing when the lid closes, by the way.

I had Jessie installed before, and this never happened. Maybe I have to tweak something? Or maybe it's a bug?
DebJess
 
Posts: 3
Joined: 2017-07-16 12:22

Re: Stretch - Laptop Lid Opening Disables WiFI

Postby orythem27 » 2017-07-16 13:44

Try blacklisting the "hp_wmi" module. Note that it has side effects.
User avatar
orythem27
 
Posts: 245
Joined: 2017-05-11 07:59
Location: P.R. China

Re: Stretch - Laptop Lid Opening Disables WiFI

Postby DebJess » 2017-07-16 15:13

Hi! Thank you for the quick response!

What exactly does blacklisting the "hp_wmi" module mean? How do I do it? What are it's side effects?
DebJess
 
Posts: 3
Joined: 2017-07-16 12:22

Re: Stretch - Laptop Lid Opening Disables WiFI

Postby orythem27 » 2017-07-16 15:20

Add a line "blacklist hp_wmi" into any file under /etc/modprobe.d/ . Reboot.

"hp_wmi" is the HP laptop WMI hotkeys driver. Sometimes it interferes with the hardware radio killswitch. If after opening the lid you got "hard blocked: yes" from `rfkill list all`, then this module is probably the culprit. Blacklisting this module sometimes helps, but the "WMI hotkeys" might be left without a driver and stop working.
User avatar
orythem27
 
Posts: 245
Joined: 2017-05-11 07:59
Location: P.R. China

Re: Stretch - Laptop Lid Opening Disables WiFI

Postby DebJess » 2017-07-16 15:49

The output from "rfkill list all" before closing the lid is:
Code: Select all
1: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no


After closing/opening the lid:
Code: Select all
1: phy0: Wireless LAN
   Soft blocked: yes
   Hard blocked: no


So that means the hp_wmi driver is not the problem? Could the fact that it says "Soft blocked: yes" in the last output mean something?
DebJess
 
Posts: 3
Joined: 2017-07-16 12:22


Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable