libertas adding and removing modules

Kalkere, Giridhara(IE10) Giridhara.Kalkere at Honeywell.com
Mon Jan 3 00:46:17 EST 2011


Steve,
Thanks for your immediate response. 

All these things I am doing to save power in the system. 
Is there any other mechanism to achieve this? 

If there any power save advantage if I do just ifdown and ifup?

Any one point out some thing in this regard.

Thanks and regards
Giri

-----Original Message-----
From: Steve deRosier [mailto:steve at cozybit.com] 
Sent: Saturday, January 01, 2011 12:03 AM
To: Kalkere, Giridhara(IE10)
Cc: libertas-dev at lists.infradead.org
Subject: Re: libertas adding and removing modules

Giri,

The sd8686 doesn't like it when it already has firmware running and
you try to re-download the firmware.  There are some recent patches to
the libertas sdio driver that attempt to detect a running firmware and
avoid the download, you'll likely want to try those.

You're looking for commit 731b2034999bbfe86c9074f1b0d611940bf7c323
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
t;h=731b2034999bbfe86c9074f1b0d611940bf7c323

- Steve


On Thu, Dec 16, 2010 at 10:37 PM, Kalkere, Giridhara(IE10)
<Giridhara.Kalkere at honeywell.com> wrote:
> Hello All,
>
>
>
> I used ARM11 hardware with linux 2.6.28 BSP. I use sd8686 for wireless
> interface. I have written scripts to load the modules when rebooted,
but
> when I remove the modules and insert again its throwing an error
>
>
>
> ibertas: failed to load helper firmware
>
> libertas_sdio: probe of mmc1:0001:1 failed with error -110
>
>
>
> adding script:
>
> --------------------
>
> insmod libertas.ko
>
> insmod libertas_sdio.ko helper_name=sd8686_helper.bin
fw_name=sd8686.bin
>
> ifconfig eth1 up
>
> iwconfig eth1 essid "6280testonly"
>
> /usr/local/sbin/wpa_supplicant -i eth1 -c/etc/wpa_supplicant.conf -B
>
> udhcpc -i eth1 -t 2 -b
>
>
>
> Remove script
>
> -----------------------
>
> ifconfig eth1 down
>
> rmmod libertas_sdio
>
> rmmod libertas
>
>
>
>
>
> if I run Adding script once again it throws the above mentioned error.
>
>
>
>
>
> Please help me in solving this issue. I will have a button in my UI
> application to "Turn On" and to "Turn Off". On that button actions
will
> write some script to insert modules, enabling the eth1 and remove the
> modules and disable the eth1.
>
>
>
> Thanks and regards
>
> Giri
>
>
>
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev
>
>



More information about the libertas-dev mailing list