Turn WiFi Off and On - Gumstix
hong zhang
henryzhang62 at yahoo.com
Thu Apr 19 11:00:22 EDT 2012
If firmware is downloaded,
1. Have you seen wlan0 using "iwconfig -a"?
2. If wlan0 is created, can you scan?
--- On Wed, 4/18/12, Leif Zars <leif at leifzars.com> wrote:
From: Leif Zars <leif at leifzars.com>
Subject: RE: Turn WiFi Off and On - Gumstix
To: "'hong zhang'" <henryzhang62 at yahoo.com>
Date: Wednesday, April 18, 2012, 10:10 AM
Hey the firmware does load just fine. SDIO works just fine.I am unable to put the device in an sleep state, or very low power state, and bring it back. Leif From: hong zhang [mailto:henryzhang62 at yahoo.com]
Sent: Tuesday, April 17, 2012 2:34 PM
To: libertas-dev at lists.infradead.org; Leif Zars
Subject: RE: Turn WiFi Off and On - Gumstix Leif,
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 AMI 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.
Details:
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
http://lists.infradead.org/mailman/listinfo/libertas-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libertas-dev/attachments/20120419/629c61a2/attachment-0001.html>
More information about the libertas-dev
mailing list