turning wifi off

2009-01-12 Thread Michał Brzozowski
Hello, I think this applies to all distros. It's still a big mistery for me how to turn off wifi after you used it so it doesn't drain power. Or even better turn it off when the phone is suspended and then turn it on again. I tried 'iwconfig eth0 essid none', 'ifconfig eth0 down', but the p

Re: turning wifi off

2009-01-12 Thread Robin Paulson
2009/1/13 Michał Brzozowski : > I think this applies to all distros. It's still a big mistery for me > how to turn off wifi after you used it so it doesn't drain power. Or > even better turn it off when the phone is suspended and then turn it on > again. I tried 'iwconfig eth0 essid none', 'ifco

Re: turning wifi off

2009-01-12 Thread Michał Brzozowski
Robin Paulson wrote: > 2009/1/13 Michał Brzozowski : > >> I think this applies to all distros. It's still a big mistery for me >> how to turn off wifi after you used it so it doesn't drain power. Or >> even better turn it off when the phone is suspended and then turn it on >> again. I tried '

Re: turning wifi off

2009-01-12 Thread Peter Strapp
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 http://git.free

Re: turning wifi off

2009-01-12 Thread Marco Trevisan (Treviño)
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.Power

Re: turning wifi off

2009-01-13 Thread jidanni
MT(> BTW the 2.6.28 kernel should have also another way to disable the wlan BTW not all components can be turned off: http://lists.openmoko.org/pipermail/openmoko-kernel/2008-December/007317.html : > Yes the AR6001 is wired up so it has the "always on" 3.3V power __