[HP ProBook 450 G1 Notebook PC] Wireless switch not working

Bug #1313196 reported by Mauro
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

This system has a button to enable and disable the WLAN interface. This button has a LED on it: it's white when the WLAN is enabled, orange when it is not. Pressing this button, however, does not have any effect on both Ubuntu 13.10 and Mint 16 KDE (which is also based on Ubuntu 13.10). When I press this button, the following output is produced in dmesg:
[ 1536.228861] atkbd serio0: Unknown key pressed (translated set 2, code 0xf8 on isa0060/serio0).
[ 1536.228872] atkbd serio0: Use 'setkeycodes e078 <keycode>' to make it known.
[ 1536.308669] atkbd serio0: Unknown key released (translated set 2, code 0xf8 on isa0060/serio0).
[ 1536.308680] atkbd serio0: Use 'setkeycodes e078 <keycode>' to make it known.

There's just a minor difference in behavior between Ubuntu and Mint: while in Mint the led correctly turns white when the WLAN interface is enabled (and the outcome of "rfkill block/unblock" is correctly reflected by the button led color), in Ubuntu this led seems to always stay orange, even if the WLAN interface is active (and connection is correctly established). Please note that I only tried to run Ubuntu from a USB stick (no installation at all, no update performed).

WORKAROUND: I can use rfkill block/unblock to enable/disable the WLAN interface.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image-3.11.0-12-generic 3.11.0-12.19
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 2907 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 2907 F.... pulseaudio
CasperVersion: 1.336ubuntu1
Date: Sat Apr 26 20:39:42 2014
LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: Hewlett-Packard HP ProBook 450 G1
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/username.seed boot=casper quiet splash --
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-12-generic N/A
 linux-backports-modules-3.11.0-12-generic N/A
 linux-firmware 1.116
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/13/2014
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: L74 Ver. 01.08
dmi.board.name: 1942
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 89.10
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrL74Ver.01.08:bd02/13/2014:svnHewlett-Packard:pnHPProBook450G1:pvrA3009DD10303:rvnHewlett-Packard:rn1942:rvrKBCVersion89.10:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP ProBook 450 G1
dmi.product.version: A3009DD10303
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Mauro (mauromol) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
penalvch (penalvch)
description: updated
tags: added: latest-bios-1.08
description: updated
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
summary: - Wireless switch not working on HP ProBook 450 G1
+ [HP ProBook 450 G1 Notebook PC] Wireless switch not working
Revision history for this message
Mauro (mauromol) wrote :

Hi Christopher, thanks for your support. I just tried the AMD64 ISO image of the daily snapshot of 14.04 from the links you provided. The behaviour is the exact same one of 13.10 (i.e.: button not working, same message in dmesg, orange led even when WiFi is enabled).

penalvch (penalvch)
tags: added: trusty
Revision history for this message
penalvch (penalvch) wrote :

Mauro, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-3.15-rc2

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Revision history for this message
Mauro (mauromol) wrote :

Hi Christopher, I will surely try as soon as I have some spare time. Anyway, may I ask you if I can install a mainline kernel build on the USB I created with the daily snapshot of Trusty (said that I've reserved 1 GB space for persistent data when I have created the USB stick with the usb-creator)? Or must I try this on an *installed* instance of Ubuntu? In the latter case, I think I'll have to do it on my Mint 16 installation, since I do not have an installed instance of Ubuntu (and I don't have a spare hard drive to prepare one).

Revision history for this message
Steffen (steffen-weber) wrote :

Kernel parameter to workaround this bug on an HP EliteBook 840 G1: acpi_osi='!Windows 2012'

Revision history for this message
Steffen (steffen-weber) wrote :

Alternative solution that worked for me on Linux 3.14.4, too: CONFIG_HP_WIRELESS=y

Related bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1303420

Revision history for this message
penalvch (penalvch) wrote :

Steffen, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Revision history for this message
Steffen (steffen-weber) wrote :

Sorry, I'm not an Ubuntu user. Just wanted to let you know about possible solutions.

Revision history for this message
Mauro (mauromol) wrote :

I confirm acpi_osi='!Windows 2012' kernel boot parameter works for me, too (on an HP ProBook 450 G1), with Linux Mint 16 KDE (based on Ubuntu 13.10). I notice that there's a difference in "rfkill list" output with and without this kernel boot parameter:

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

- with it:
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hp-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
2: hp-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
4: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

So, there are two new entries, hp-wifi and hp-bluetooth. When I press the switch to deactivate the wifi, the "hard blocked" for phy0 and hp-wifi turns to "yes" (I can't remember if it turns to yes even for the other two bluetooth entries).

Which other side effects may I have by using this kernel boot parameter?

Steffen, where should I put CONFIG_HP_WIRELESS=y? Is it meant to be a kernel boot parameter too? It seems to be more specific compared to acpi_osi...

Cristopher: I didn't forget your request. I'm going to try a newer kernel as soon as I have some spare time.

Revision history for this message
Steffen (steffen-weber) wrote :

CONFIG_HP_WIRELESS=y is a Linux kernel configuration option that is available since Linux 3.14. You have to compile a new kernel unless Ubuntu decides to backport this feature (IIRC Ubuntu 14.04 uses Linux 3.13).

Revision history for this message
Mauro (mauromol) wrote :

I see, thanks Steffen for your explanation.

I did some better tests. With acpi_osi='!Windows 2012' and the default 3.11.0-12-generic kernel, when I deactivate wifi using the switch button I get the following output:

0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hp-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
2: hp-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: yes

That is: the phy0 entry is not blocked (sorry for the wrong information i gave previously), but the hp-bluetooh entry appears as hard blocked, while the hci0 has gone completely.

This said, I tested the following mainline kernel versions (without using acpi_osi='!Windows 2012') as suggested by Christopher. I did these tests directly on my Linux Mint 16 KDE installation, because installing a mainline kernel version on the live USB stick of Ubuntu 14.04 did not work. Here are the results:
- with 3.12-rc7-saucy (the latest one built specifically for Saucy, which Mint 16 is based on) the problem is still present (the wireless witch button does not work)
- with 3.15-rc2-trusty (the latest one built specifically for Trusty) the problem is fixed (the wireless switch button does work)

However, with 3.15-rc2 without the acpi_osi='!Windows 2012' boot parameter, the output of "rfkill list" is:
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
and when the wifi is disabled it is:
0: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no

That is: the hp-wifi and hp-bluetooth entries are missing and the switch causes a soft-block rather than a hard block. I would say the most correct behaviour is the one I have with acpi_osi='!Windows 2012' (i.e.: the system sees the hp-* entries and the button performs a hard block), but I'm not an expert. After all, the final result from a user point of view is the same (the button works and the led on it reflects the current enabling state of the wifi card).

I still don't know what acpi_osi='!Windows 2012' is really meant to be and whether there may be any other side effects when using it.

tags: added: kernel-bug-exists-upstream-3.12-rc7 kernel-fixed-upstream kernel-fixed-upstream-3.15-rc2
Mauro (mauromol)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Mauro (mauromol) wrote :

Hi Christopher,
I switched the bug status to Confirmed because you had told me to do that. Why Incomplete again, then? What should I do now?

Revision history for this message
penalvch (penalvch) wrote :

Mauro, the next step would be to fully reverse commit bisect in order to identify the fix commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection#How_do_I_reverse_bisect_the_upstream_kernel.3F ?

tags: added: needs-reverse-bisect
Revision history for this message
Mauro (mauromol) wrote :

Hi Christopher, I will try to do my best.

First of all, what about my considerations on the acpi_osi kernel boot parameter?

Secondly, I did a "binary search" of the first mainline kernel version which works. The result is not so linear. I'll explain.

Version 3.11.2 (package name mentions 3.13.11-03131102.201405081435) still has the problem

From 3.14-rc1 onwards, the problem is fixed. However... with 3.14-rc1, 3.14-rc2 and 3.14-rc3 if I type:
sudo rfkill list
I see an output which is similar to what I get if I specify the acpi_osi boot parameter with 3.11 kernel, that is I get the hp-wifi and hp-bluetooth entries and the switch applies a hard block rather than a soft block. The only difference is that the hci0 does not disappear when the wifi card is disabled.
From 3.14-rc4 onwards, the problem is still fixed, but if I type rfkill list, I see the output that I get with 3.15-rc2, that is without the hp-* entries. Also, the wifi switch button produces a soft block instead of a hard block.

This makes me think that there are at least two commits (one for 3.14-rc1 and one for 3.14-rc4) that in some way have effects on this.
Any suggestion?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

bug 1303737 should be fixed by commit 15d75fcebdf78d316a980487eddcac8e4f1574c8, which is in Trusty as of Ubuntu-3.13.0-28.51. This commit is a cherry pick of upstream 54290fa6.

Can you test the 3.13.0-28.51 kernel and confirm if it fixes this bug or not? It can be downloaded from:
https://launchpad.net/~canonical-kernel-team/+archive/ppa/+files/linux-image-3.13.0-28-generic_3.13.0-28.51_amd64.deb

Revision history for this message
Mauro (mauromol) wrote :

Hi Joseph,
unfortunately with that kernel image I can't boot: after choosing it in the GRUB boot menu, the screen stays blank and the password prompt for dm-crypt does not show. If I choose the corresponding "recovery mode" entry, I get to a screen with messy and corrupted graphics. I can't do anything than ctrl+alt+canc and choose another boot entry.

penalvch (penalvch)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Mauro (mauromol) wrote :

After installing also https://launchpad.net/~canonical-kernel-team/+archive/ppa/+files/linux-image-extra-3.13.0-28-generic_3.13.0-28.51_amd64.deb (as suggested by Jonathan here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1303420/comments/21) I can boot with this kernel image. The wifi switch works just like in 3.14-rc4+ (i.e.: it performs a soft block, rfkill list shows no hp-* entries).

penalvch (penalvch)
tags: added: cherry-pick
removed: needs-reverse-bisect
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
hyper_ch (bugs-launchpad-net-roleplayer) wrote :

Had that issue also. Just installed the Linux subi 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux kernel from the 14.04 repos and now the buttons works.

In Kubuntu when I press the button it turns "yellowish" and KDE Network Manager shows Wifi as disabled. When I press it again, Wifi becomes enabled again (the card).

Revision history for this message
Mauro (mauromol) wrote :

As stated here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1303737/comments/12
I verified this is fixed in Linux Mint KDE 16 and Ubuntu 13.10 by installing the kernel package version 3.11.0-24.41.
Thanks!

AzzazAkl (azzaz-akl-93)
Changed in linux (Ubuntu):
status: Triaged → New
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Mauro (mauromol) wrote :

The wireless switch worked perfectly in Linux Mint 16 KDE (based on Ubuntu 13.10) with kernel version 3.11.0-24.41: toggling the wifi on/off worked and the led on the button was correctly white when on and orange when off.

However, in Linux Mint 17 KDE (based on Ubuntu 14.04) with kernel version 3.13.0-36.63 it has a little problem: toggling wifi on and off works, but the led on the button always stays orange, even when the wifi is active.

So, there's a little regression here.

penalvch (penalvch)
tags: added: reverse-bisect-done
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Mauro (mauromol) wrote :

Today I tried http://cdimage.ubuntu.com/daily-live/current/vivid-desktop-amd64.iso.
A regression with the wireless switch state is there too.
With that image, the wireless switch is always white, disregarding the wireless card activation state (enabled or disabled).
Toggling works, however (it always produces a soft block).

In summary:
- with 13.10 and kernel version 3.11.0-24.41 the button works perfectly (toggling works, white led colour for enabled, orange for disabled), apart from the fact that it causes a soft block rather than a hard block (but maybe this is the desired behaviour)
- with 14.04 and kernel version 3.13.0-36.63 wifi toggling works, but most of the times the led says orange even when wifi is enabled (it doesn't happen always, but often... I still haven't understood when it happens, it seems randomly)
- with 15.04 from the daily live wifi toggling works, but the led stays always white, even when the wifi is disabled

Revision history for this message
Mauro (mauromol) wrote :

Still, with kernel version 4.4.0-47-generic #68~14.04.1-Ubuntu, the wireless switch does enable and disable the wifi card (with a soft block), but the led remains white in any case (while it should turn orange when the wifi card is disabled).

I don't know if it's relevant, but even if I add "acpi_osi=Linux" kernel boot parameter (necessary to make resume from hibernate work, see bug #1701081), the behaviour of the wifi switch is the same.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Mauro,

Try latest mainline kernel here http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12-rc7/

Revision history for this message
Mauro (mauromol) wrote :

Sorry, I must correct myself! With kernel 4.4.0-47-generic #68~14.04.1-Ubuntu the wireless switch button correctly turns orange when the wifi card is disabled, so this bug is completely fixed.

When I tested this in June I was cheated by the fact that the led turns orange after some seconds, rather than immediately.

So, from my point of view, this bug is completely fixed with recent kernel versions. I also verified it's fixed with 4.13-rc1 mainline kernel.

I think this can be closed :-)

Revision history for this message
Shomz (shomz) wrote :

Writing this from a WiFi network... and my LED is orange. (4.10.0-28-generic)

Changed in linux (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.