<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">If firmware is downloaded,<br>1. Have you seen wlan0 using "iwconfig -a"?<br>2. If wlan0 is created, can you scan?<br><br>--- On <b>Wed, 4/18/12, Leif Zars <i><leif@leifzars.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Leif Zars <leif@leifzars.com><br>Subject: RE: Turn WiFi Off and On - Gumstix<br>To: "'hong zhang'" <henryzhang62@yahoo.com><br>Date: Wednesday, April 18, 2012, 10:10 AM<br><br><div id="yiv1491172177"><style><!--
#yiv1491172177
_filtered #yiv1491172177 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
_filtered #yiv1491172177 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered #yiv1491172177 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
_filtered #yiv1491172177 {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;}
#yiv1491172177
#yiv1491172177 p.yiv1491172177MsoNormal, #yiv1491172177 li.yiv1491172177MsoNormal, #yiv1491172177 div.yiv1491172177MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv1491172177 a:link, #yiv1491172177 span.yiv1491172177MsoHyperlink
{color:blue;text-decoration:underline;}
#yiv1491172177 a:visited, #yiv1491172177 span.yiv1491172177MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
#yiv1491172177 p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"serif";}
#yiv1491172177 pre
{margin:0in;margin-bottom:.0001pt;font-size:10.0pt;font-family:"Courier New";}
#yiv1491172177 p.yiv1491172177MsoAcetate, #yiv1491172177 li.yiv1491172177MsoAcetate, #yiv1491172177 div.yiv1491172177MsoAcetate
{margin:0in;margin-bottom:.0001pt;font-size:8.0pt;font-family:"sans-serif";}
#yiv1491172177 span.yiv1491172177HTMLPreformattedChar
{font-family:Consolas;}
#yiv1491172177 p.yiv1491172177msoacetate, #yiv1491172177 li.yiv1491172177msoacetate, #yiv1491172177 div.yiv1491172177msoacetate
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"serif";}
#yiv1491172177 p.yiv1491172177msonormal, #yiv1491172177 li.yiv1491172177msonormal, #yiv1491172177 div.yiv1491172177msonormal
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"serif";}
#yiv1491172177 span.yiv1491172177msohyperlink
{}
#yiv1491172177 span.yiv1491172177msohyperlinkfollowed
{}
#yiv1491172177 span.yiv1491172177htmlpreformattedchar
{}
#yiv1491172177 span.yiv1491172177emailstyle20
{}
#yiv1491172177 span.yiv1491172177balloontextchar
{}
#yiv1491172177 p.yiv1491172177msonormal1, #yiv1491172177 li.yiv1491172177msonormal1, #yiv1491172177 div.yiv1491172177msonormal1
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv1491172177 span.yiv1491172177msohyperlink1
{color:blue;text-decoration:underline;}
#yiv1491172177 span.yiv1491172177msohyperlinkfollowed1
{color:purple;text-decoration:underline;}
#yiv1491172177 p.yiv1491172177msoacetate1, #yiv1491172177 li.yiv1491172177msoacetate1, #yiv1491172177 div.yiv1491172177msoacetate1
{margin:0in;margin-bottom:.0001pt;font-size:8.0pt;font-family:"sans-serif";}
#yiv1491172177 span.yiv1491172177htmlpreformattedchar1
{font-family:Consolas;}
#yiv1491172177 span.yiv1491172177emailstyle201
{font-family:"sans-serif";color:#1F497D;}
#yiv1491172177 span.yiv1491172177balloontextchar1
{font-family:"sans-serif";}
#yiv1491172177 span.yiv1491172177EmailStyle34
{font-family:"sans-serif";color:#1F497D;}
#yiv1491172177 span.yiv1491172177BalloonTextChar
{font-family:"sans-serif";}
#yiv1491172177 .yiv1491172177MsoChpDefault
{}
_filtered #yiv1491172177 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1491172177 div.yiv1491172177WordSection1
{}
--></style><div><div class="yiv1491172177WordSection1"><p class="yiv1491172177MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Hey the firmware does load just fine. SDIO works just fine.</span></p><p class="yiv1491172177MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">I am unable to put the device in an sleep state, or very low power state, and bring it back.</span></p><p class="yiv1491172177MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></p><p class="yiv1491172177MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Leif </span></p><p class="yiv1491172177MsoNormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></p><p class="yiv1491172177MsoNormal"><span
style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;"><p class="yiv1491172177MsoNormal"><b><span style="font-size:10.0pt;font-family:"sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"sans-serif";"> hong zhang [mailto:henryzhang62@yahoo.com] <br><b>Sent:</b> Tuesday, April 17, 2012 2:34 PM<br><b>To:</b> libertas-dev@lists.infradead.org; Leif Zars<br><b>Subject:</b> RE: Turn WiFi Off and On - Gumstix</span></p></div><p class="yiv1491172177MsoNormal"> </p><table class="yiv1491172177MsoNormalTable" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="padding:0in 0in 0in 0in;" valign="top"><p class="yiv1491172177MsoNormal">Leif,<br><br>Can you see firmware is loaded when power is on?<br>This is first step you want to see if SDIO functions well.<br><br>--- On <b>Mon, 4/16/12,
Leif Zars <i><leif@leifzars.com></i></b> wrote:</p><p class="yiv1491172177MsoNormal" style="margin-bottom:12.0pt;"><br>From: Leif Zars <leif@leifzars.com><br>Subject: RE: Turn WiFi Off and On - Gumstix<br>To: libertas-dev@lists.infradead.org<br>Date: Monday, April 16, 2012, 11:46 AM</p><div id="yiv1491172177"><div><div><p class="yiv1491172177msonormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">I would like to second this request for guidance.</span></p><p class="yiv1491172177msonormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></p><p class="yiv1491172177msonormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;">Leif Zars </span></p><p class="yiv1491172177msonormal"><span style="font-size:11.0pt;font-family:"sans-serif";color:#1F497D;"> </span></p><div style="border:none;border-top:solid windowtext
1.0pt;padding:3.0pt 0in 0in 0in;"><p class="yiv1491172177msonormal"><b><span style="font-size:10.0pt;font-family:"sans-serif";">From:</span></b><span style="font-size:10.0pt;font-family:"sans-serif";"> libertas-dev-bounces@lists.infradead.org [mailto:libertas-dev-bounces@lists.infradead.org] <b>On Behalf Of </b>Samuel Rasmussen<br><b>Sent:</b> Tuesday, April 03, 2012 7:35 PM<br><b>To:</b> libertas-dev@lists.infradead.org<br><b>Subject:</b> Turn WiFi Off and On - Gumstix</span></p></div><p class="yiv1491172177msonormal"> </p><p class="yiv1491172177msonormal"><span style="color:#1F497D;">Hi,<br><br>I'm having a problem with wifi, and I was hoping someone on the list would have a suggestion of how to fix it.<br><br>In Short:<br>I'm working on an embedded device that doesn't always have enough power to turn on the wifi at boot up. I need to be able to able to turn on wifi after the device has already been on for a while.
The libertas driver works great for initializing wifi at boot up. When wifi is disabled on boot up, the libertas driver is unable to initialize wifi once it's finally turned on.</span><br><span style="color:#1F497D;"><br>Details:<br>We’re using Gumstix hardware with a TI OMAP730 processor running a Linux OS. The Gumstix has a W2CBW003 wifi module.</span></p><p class="yiv1491172177msonormal"><span style="color:#1F497D;"> </span></p><p class="yiv1491172177msonormal"><span style="color:#1F497D;">Our goal is to power up our device with wifi disabled and be able to turn it on whenever we want in the future. It is simple to keep wifi from coming up at boot time by not enabling the GPIO that powers the wifi module. The problem is trying to turn it on afterwards. After the Gumstix is up and running, I turn on the GPIO to enable wfi. When this occurs, the Gumstix only consumes a little more power (not nearly as much as
when wifi is fully up and running). Next I modprobe the libertas_sdio driver, but the wifi never starts working. I’ve tried adding some debug to the Libertas code but haven’t yet found out what’s going wrong. It looks like mmc_attach_sdio() and mmc_sdio_init_card are two of the first functions that get called for initializing wfi.</span> </p><p class="yiv1491172177msonormal"> </p><p class="yiv1491172177msonormal"><span style="color:#1F497D;">Does anyone have a suggestion for how to duplicate the initialization process that occurs on boot up so wifi can be initialized at a later time?</span></p><p class="yiv1491172177msonormal"> </p><p class="yiv1491172177msonormal"><span style="color:#1F497D;">Thanks for taking time to read this,</span></p><p class="yiv1491172177msonormal">Samuel</p></div></div></div><p class="yiv1491172177MsoNormal" style="margin-bottom:12.0pt;"><br>-----Inline Attachment Follows-----</p><div><p
class="yiv1491172177MsoNormal">_______________________________________________<br>libertas-dev mailing list<br><a rel="nofollow">libertas-dev@lists.infradead.org</a><br><a rel="nofollow" target="_blank" href="http://lists.infradead.org/mailman/listinfo/libertas-dev">http://lists.infradead.org/mailman/listinfo/libertas-dev</a></p></div></td></tr></tbody></table><p class="yiv1491172177MsoNormal"><span style="font-size:10.0pt;font-family:"sans-serif";"> </span></p></div></div></div></blockquote></td></tr></table>