What is the proper way to turn wlan on/off? Other wlan questions.

Andy Green andy at openmoko.com
Thu Dec 18 22:08:57 CET 2008

Hash: SHA1

Somebody in the thread at some point said:
| Andy Green wrote:
|> But I'm not willing to cede all decisions about our product to
|> each upstream sort of mindlessly like you are there.
| You may be surprised to find that I actually did ask myself to what
| extent we care about upstream in this case.

I am surprised given what you've said in the past :-)

| I took it as a hint that, given that we have already have six
| interfaces that affect WLAN power in one way or another and still
| can't give a simple answer to what seems to be a simple question,
| "do it just because we can" doesn't seem to be an efficient policy
| when it comes to actually providing a solution in this case.
| For those who haven't kept count, here are the options:
| 3) sysfs power_on
| 4) global suspend/resume
| 5) module load/unload
| 6) bind/unbind
| 7) rfkill

With rfkill we can retire the sysfs one entirely (since we found out in
the meanwhile it doesn't do anything useful), the IOCTL one and the
wmiblah applet aren't needed by mortal users then either.

suspend / module / bind-unbind can be said of almost anything anyway.

So... rfkill will bring healing and sanity to WLAN power interface...
let's do it :-)

- -Andy
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


More information about the openmoko-kernel mailing list