I have Ubuntu 14.04 running on a Compaq CQ60 laptop. Ever since I installed Ubuntu (back on 12.04), the "toggle wireless" button next to the power button hard locks the WiFi adapter, causing me to have to run the sudo rfkill unlock wifi
command in Terminal.
Issue is, other people use the computer and press the button by accident when I'm not around to fix it, causing the laptop to be (basically) useless. I'm looking for a way to change the button's action or disable it entirely. I've seen a lot of questions on here having to do with the power button, but not the wireless toggle button.
About all I know about it is it's a ACPI button and it worked properly when Windows ran on the computer. (Ew) Does anyone know how to change its' ACPI action and/or where its' ACPI action script is located on the filesystem?
Thanks for reading!
hp_wmi
. When I ran that command, suddenly the button works as it should. If you press it again, it will re-enable the WiFi as expected. But for future reference, why don't you post that and how to disable it entirely as an answer to this question.