Wireless button in HP Folio 9470m

The HP Folio 9470m has two physical buttons that allow to turn on/off the wireless communications and to mute/unmute the speakers. The button to mute/unmute the speakers works out of the box in Ubuntu 14.04 LTS, but the button to turn on/off the wireless communication does not. Despite the same effect can be achieved by software, e.g. through the control panel, it is much more convenient to use the physical button. After researching a bit, I found out that there is an easy hack that enables the on/off wireless button.

First, edit the /etc/default/grub file using your favorite editor, e.g. nano. Remember that you will need root privileges for that. Once there, modify the GRUB_CMDLINE_LINUX line as shown next:

GRUB_CMDLINE_LINUX=”acpi_osi=’!Windows 2012′”

Save the file and update the GRUB configuration by issuing:

sudo update-grub

After that, reboot your computer and enjoy!