Sugar Control Panel
Doesn't the Sugar Control Panel command-line application already do this? The control panel article (and code in the repository) makes it look as easy as typing "sugar-control-panel radio on" or "sugar-control-panel radio off" at the prompt. (I don't have an XO myself, so I can't test this.) —Joe 17:36, 14 December 2007 (EST)
Yes, "sugar-control-panel -s radio on/off" works on my B4 with Build650/Q2D07. But my test shows that XO always start with radio on even if radio was turned off by both method before reboot. so for now XO can't be used in airplane at least in our country (Japan). --Korakurider 09:58, 17 December 2007 (EST)
- That wasn't documented on the wiki, and no one told me about it when I was asking in #olpc. I will update the page to include both methods. is for Insects 13:12, 17 December 2007 (EST)
- "sugar-control-panel -g radio" doesn't work after "rmmod". So I would suggest to use only "sugar-control-panel". --Korakurider 22:39, 17 December 2007 (EST)
- Just receieved a ship.2 /656 XO, "sugar-control-panel -g radio" provides some dbus and NM errors, and -s radio off doesn't disable the radio (su; /sbin/iwconfig eth0 txpower off does, and happily turns off dasblinkenlight to make picky airline steward/esses happy (though the ! light stays on?). Griffjon 13:07, 24 March 2008 (EDT)
- The "rmmod" method doesn't seem to be working on my system. Wait a few seconds, and it'll be re-loaded. --184.108.40.206 01:50, 13 January 2008 (EST)
- Well, the command of Method 1 sure doesn't work on my XO box. I found some references to another command, but that fails because of no power management? --Shanen 01:50, 9 April 2008 (EDT)
make it easy to turn on/off networking
The path of least surprise might have been to detect whether the XO's antenna "ears" are open. If open, radio on. If closed, radio off. But I suppose that would have required an extra 2$ switch, adding to price. --Glew January 17, 2008
- Switching off on ears closed was my first thought as well, but that won't work if I want to use the headphones. -- 220.127.116.11 19:02, 17 January 2008 (EST)
- I thought if ear(s) down at BOOT UP TIME, networking off, or if the ears were removable, ear disconnected networking off. Although any of the preceding would be semi-intuitive, a game-key hold down at boot up (cheat code) (I may put the link in later when I am not using the xo) or dipswitches should be considered. BobUgh 20:01, 24 June 2008 (UTC)
Any data (anecdotal or otherwise) on how long an idling XO lasts with wifi turned off?
- With wifi enabled, my XO only lasts a few hours when suspended. If I rename the firmware file and reboot the machine, the power light for the radio does not light, and it draws almost no power when suspended. I have yet to leave it longer than overnight this way, but I have not had it die.