← Back to team overview

ubuntu-eee-coders team mailing list archive

[Bug 273094] Re: Conflicting scripts for Fn+F2 WLAN toggling

 

if you have a file in events/ that "listenes" on the same ACPI-event you
may be right about experiencing issues with duplicate handling. I cannot
checck for sure if that script is there in vanilla ubuntu eee 8.04.1
myself because of extensive testing, but it should be safe to remove the
duplicate. A fix for many of the acpi - issues are on the way in a new
config-package.

-- 
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