Turn WiFi Off and On - Gumstix

hong zhang henryzhang62 at yahoo.com
Tue Apr 17 16:33:43 EDT 2012


Can you see firmware is loaded when power is on?
This is first step you want to see if SDIO functions well.

--- On Mon, 4/16/12, Leif Zars <leif at leifzars.com> wrote:

From: Leif Zars <leif at leifzars.com>
Subject: RE: Turn WiFi Off and On - Gumstix
To: libertas-dev at lists.infradead.org
Date: Monday, April 16, 2012, 11:46 AM

I would like to second this request for guidance.  Leif Zars   From: libertas-dev-bounces at lists.infradead.org [mailto:libertas-dev-bounces at lists.infradead.org] On Behalf Of Samuel Rasmussen
Sent: Tuesday, April 03, 2012 7:35 PM
To: libertas-dev at lists.infradead.org
Subject: Turn WiFi Off and On - Gumstix  Hi,

I'm having a problem with wifi, and I was hoping someone on the list would have a suggestion of how to fix it.

In Short:
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.

We’re using Gumstix hardware with a TI OMAP730 processor running a Linux OS.  The Gumstix has a W2CBW003 wifi module. 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.   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?  Thanks for taking time to read this,Samuel
-----Inline Attachment Follows-----

libertas-dev mailing list
libertas-dev at lists.infradead.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libertas-dev/attachments/20120417/e58741fa/attachment-0001.html>

More information about the libertas-dev mailing list