Peter Strapp wrote: > It looks like wifi can be turned on and off using the framework now. It > uses wmiconfig as below: > > wmiconfig -i eth0 --wlan enable > wmiconfig -i eth0 --wlan disable > > See: > http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Device.PowerControl.html;hb=HEAD
Nice... Shouldn't it use also "wmiconfig -i eth0 --setreassocmode 0" to allow scanning and connecting again? BTW the 2.6.28 kernel should have also another way to disable the wlan by using a /sys node (if I don't remember wrong, it should do something like a "rmmod wifi-module", "insmod wifi-module"). -- Treviño's World - Life and Linux http://www.3v1n0.net/ _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community