← Back to team overview

ubuntu-eee-coders team mailing list archive

[Bug 261141] Re: Eee 1000 - Disabling Wireless Crashes System

 

I found another bug and fix in eeepc-wifi-toggle.sh when used on a eee
901.

The bug manifested when you disable wireless and shutdown, on next boot
the wireless wouldn't come back online. It just restarts three times.

Fix is to apply the same fix as Ernie Dunbar suggests but also in the function 
enable_ralink_wireless. First I had to uncomment the lines that where commented. (I am not dead sure that this was necessary, but the following is). 

Then add sleep 10 right after echo 1> ... Apparently the wireless needs
some time to come back online.

Here's my enable_ralink_wireless:

enable_ralink_wireless () {
# Restarting pciehp on rt2860 hardware results in wierd error messages.
# Users have reported that it shouldn't be necessary.
# http://forum.eeeuser.com/viewtopic.php?pid=403637#p403637

	${MODPROBE} -r pciehp
	sleep 1
	${MODPROBE} pciehp pciehp_force=1 pciehp_poll_mode=1
	sleep 1
	${MODPROBE} rt2860sta
	sleep 1

	echo 1 > ${WLAN_PROC}
	sleep 10

	# validate that it came back up
	${IFCONFIG} ra0 > /dev/null 2> /dev/null

	return $?
} 

Also I had no "wierd error messages".
NotaPenny

-- 
Eee 1000 - Disabling Wireless Crashes System
https://bugs.launchpad.net/bugs/261141
You received this bug notification because you are a member of Ubuntu
Eee Coders, which is subscribed to Ubuntu Eee.

Status in Ubuntu Eee: Incomplete

Bug description:
Wireless is setup correctly, however when using the hotkey (FN&F2), the disable wireless icon appears - but the system then crashes.  Only responds to a hard shutdown.



References