ubuntu-eee-coders team mailing list archive
-
ubuntu-eee-coders team
-
Mailing list archive
-
Message #00953
[Bug 273094] Re: Conflicting scripts for Fn+F2 WLAN toggling
I edited the eee-wifi-on and eee-wifi-off files as a super-user. Using
the gedit editor, I typed the following in the terminal:
sudo gedit /etc/acpi/events/eee-wifi-on
In the editor, I commented out the two last lines by placing a # at the
beginning of each line:
#FILE: /etc/acpi/events/eee-wifi-on
# This is called when the user presses the wifi on/off button (and wifi was on)
# event=hotkey ATKD 00000011
# action=/etc/acpi/eee-wifi-on-off.sh off
I saved the file and exited the editor. Then I did the same thing with
the eee-wifi-off file.
I did this as a precaution, in case I would later need these files. But
apparently these event handlers are deprecated, and then it is probably
OK to remove them completely. To delete them, simply open the Terminal
and write:
sudo rm /etc/acpi/events/eee-wifi-*
--
Conflicting scripts for Fn+F2 WLAN toggling
https://bugs.launchpad.net/bugs/273094
You received this bug notification because you are a member of Ubuntu
Eee Coders, which is subscribed to Ubuntu Eee.
Status in Ubuntu Eee: Fix Committed
Bug description:
I have had problems with the Fn+F2 WLAN toggling after installing Ubuntu Eee 8.04.1 on my Eee PC 900. None of the posts in the bug list appear to address exactly the same problem, so I thought it best to report this.
When logging on after the new installation, the wireless LAN LED is lit, and I can list and connect to wireless networks through the network manager in the task bar. However, when I press Fn+F2 to switch the wireless off, the LED remains lit but I can no longer list or connect to the wireless networks. It also does not help to press Fn+F2 again, I have to restart the computer.
After some searching, I found that there are two competing scripts for toggling the wireless on and off that appear to conflict with each other: in /etc/acpi there is both the eeepc-wireless-toggle.sh shell script and the eee-wifi-on-off.sh shell script. These scripts are controlled by events in the /etc/acpi/events directory (eeepc-hotkey for eeepc-wireless-toggle.sh and eee-wifi-on or eee-wifi-off for eee-wifi-on-off.sh). Since I was already familiar with the eeepc-wireless-toggle.sh script from my previous Ubuntu Eee installation I decided to stick with this script, and disable the eee-wifi-on and eee-wifi-off events instead.
To disable the event handling of eee-wifi-on and eee-wifi-off, I simply edited these files as a super-user: I commented out the 'events' and 'action' lines in both files. After rebooting, wireless toggling with Fn+F2 worked without any further problems.
I do not know if both wireless toggling scripts are installed regardless of Eee model. However, it would be reasonable that only one of the scripts is installed when installing Ubuntu Eee 8.04.1.
Finally, I want to say a big THANK YOU to all those who have been involved in creating Ubuntu Eee. Great work everyone, I am very pleased with the distro and my Eee.
References