1

I just purchased a new HP Pavilion 15-ab223cl. I then installed Ubuntu 14.04 (4.2.0-27-generic) in dual-boot with the existing Windows 10. Everything went very smoothly, except that every time I suspend the computer (either using the menu or by closing the lid), and then wake it up and log in, the WIFI is no longer available. I am, however, able to connect to the network via a wired connection.

Here is "rfkill list" output before the suspend:

    0: hci0: Bluetooth  
    Soft blocked: no  
    Hard blocked: no  
1: phy0: Wireless LAN  
    Soft blocked: no  
    Hard blocked: no  

Here it is AFTER suspend/wake:

1: phy0: Wireless LAN  
    Soft blocked: no  
    Hard blocked: yes  

I found MANY suggested workarounds for variations on this problem, and tried all of them to no avail. These include:

  1. sudo rfkill unblock all (no effect - only works on Soft blocks)

  2. Looking up the rfkill event number with "rfkill events" and then unblocking that event number (no effect - a new event is instantly generated with a new event number)

  3. Clicking the WIFI disable key on the keyboard (works before the suspend, but has no effect after the suspend. I also tried disabling WIFI before suspending, but that had the same outcome.)

  4. Downloading later versions of the firmware for the Intel 3160 wireless adapter and copying them into /lib/firmware. Currently used version was iwlwifi3160-12.ucode, I tried iwlwifi3160-13.ucode and iwlwifi3160-16.ucode. I also tried renaming the newer ones as iwlwifi3160-12.ucode (per instructions) and nothing produced any different results after restarts and suspend/wake.

  5. Blacklisting HP drivers by adding "hp-wmi" or "hp_wmi" (found instructions for both spellings) to /etc/modprobe.d/blacklist.conf. Same problem after restart and suspend/wake.

  6. Unloading the WIFI module ("sudo modprobe -r iwlwifi" followed by "sudo modprobe iwlwifi") No effect.

  7. Restarting the network service with "sudo service network-manager restart" (no effect)

  8. Waking network manager with "sudo nmcli nm sleep false" (responds that network manager is already awake, as also evidenced by the fact that wired networking is functioning). No effect.

  9. Contacting Intel linux support. They suggested blacklisting HP drivers (already tried that), and then contacting HP or Ubuntu since "This is likely a bug in the OEM wmi driver and a wifi bug.".

  10. Contacting HP support, who simply say they do not provide support for Ubuntu, but escalated the ticket anyway (waiting for a call back, but not holding my breath on that one).

Tried a few others along the way I think, but lost track.

Since restarting Ubuntu is the ONLY thing so far that removes the hard block, I wonder what is happening during the restart that accomplishes that? Is it possible to duplicate whatever that is with a script that will run with a suspend?

WIFI card details:

  *-network                 
       description: Wireless interface  
       product: Wireless 3165  
       vendor: Intel Corporation  
       physical id: 0  
       bus info: pci@0000:08:00.0  
       logical name: wlan0  
       version: 81  
       serial: e0:94:67:76:90:76  
       width: 64 bits  
       clock: 33MHz  
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless  
       configuration: broadcast=yes driver=iwlwifi driverversion=4.2.0-27-generic firmware=25.30.13.0 ip=10.0.1.56 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn  
       resources: irq:52 memory:c3100000-c3101fff  
  *-network  
       description: Ethernet interface  
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller  
       vendor: Realtek Semiconductor Co., Ltd.  
       physical id: 0  
       bus info: pci@0000:09:00.0  
       logical name: eth0  
       version: 0a  
       serial: dc:4a:3e:e2:24:0f  
       size: 10Mbit/s  
       capacity: 100Mbit/s  
       width: 64 bits  
       clock: 33MHz  
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation  
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8107e-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s  
       resources: irq:48 ioport:3000(size=256) memory:c3004000-c3004fff memory:c3000000-c3003fff  

Here are related syslog lines at the time of waking from suspend. I'm not sure what to make of it.

Feb 22 17:48:26 HP-Pavilion-Notebook NetworkManager[906]: WiFi now disabled by radio killswitch
Feb 22 17:48:26 HP-Pavilion-Notebook bluetoothd[781]: Adapter /org/bluez/781/hci0 has been disabled
Feb 22 17:48:26 HP-Pavilion-Notebook bluetoothd[781]: Unregister path: /org/bluez/781/hci0
Feb 22 17:48:26 HP-Pavilion-Notebook bluetoothd[781]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSink
Feb 22 17:48:26 HP-Pavilion-Notebook bluetoothd[781]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/A2DPSource
Feb 22 17:48:26 HP-Pavilion-Notebook bluetoothd[781]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/HFPAG
Feb 22 17:48:26 HP-Pavilion-Notebook bluetoothd[781]: Endpoint unregistered: sender=:1.58 path=/MediaEndpoint/HFPHS
Feb 22 17:48:28 HP-Pavilion-Notebook NetworkManager[906]: wake requested (sleeping: yes enabled: yes)
Feb 22 17:48:28 HP-Pavilion-Notebook NetworkManager[906]: waking up and re-enabling...
Feb 22 17:48:28 HP-Pavilion-Notebook NetworkManager[906]: >WWAN now enabled by management service
Feb 22 17:48:28 HP-Pavilion-Notebook NetworkManager[906]: (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Feb 22 17:48:28 HP-Pavilion-Notebook NetworkManager[906]: (wlan0): bringing up device.
Feb 22 17:48:28 HP-Pavilion-Notebook NetworkManager[906]: (wlan0): deactivating device (reason 'managed') [2]

  • Have you tried to unload the iwlwifi module before suspend and then load it after? – Jeremy31 Feb 22 '16 at 22:51
  • Yes - that did not work. – Jegalink Feb 22 '16 at 23:12
  • Any BIOS updates available? – Jeremy31 Feb 22 '16 at 23:37
  • Upgraded to latest BIOS from HP (F.77). Same behavior still persists. – Jegalink Feb 23 '16 at 1:02
1

I had the same issue with an HP Pavilion 17-g161us and tried running a solution marathon similar to your list. In my case, I switched from a Broadcom B43943142 wireless\bluetooth card to an Intel Dual Band Wireless-AC 7265 card and my problem was solved. The card was cheap (about $20) and provided a quick solution to my problem. The HP website has PDF manuals containing lists of compatible hardware. There's no guarantee it will work (and in your case, you’re having trouble with an Intel card), but if you have some spare pocket change switching up the hardware might by worth a try.

  • Might also suggest usb wifi. tenda is compatible with linux. – chaskes May 8 '16 at 2:51
0

Most likely you can unblock wifi with:

nmcli nm wifi on

This is triggering the hardware switch to enable.

  • That had no result. WIFI is still hard blocked, and the Disable WIFI key (w/ airplane icon) does not turn WIFI on/off like it does before suspend. I do appreciate the quick response though! – Jegalink Feb 22 '16 at 22:29
  • To bad it is'nt working. Maybe the system log can provide some information what is happening when you try to enable wifi. – Underscore Feb 22 '16 at 22:37
  • added syslog entries at time of wake from suspend in case that helps. – Jegalink Feb 22 '16 at 23:16
  • There were no new log entries generated when I attempted to re-enable wifi following suspend/wake using nmcli – Jegalink Feb 22 '16 at 23:29
  • Did you try to change this to unmanaged? Feb 22 17:48:28 HP-Pavilion-Notebook NetworkManager[906]: (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2] – Underscore Feb 22 '16 at 23:48
0

I face the same problem all the time. But this command works for me most of the time:

sudo iwconfig wlo1 txpower auto

Please note that I said most cause sometimes it just doesn't work and even I don't understand why. I'm sort of a beginner in Linux world. Hope this helps. Also, since this post is really old, if you have found some solution, please do mention.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.