libertas_sdio doesn't work after reloading
Matt Reimer
mreimer at sdgsystems.com
Mon Feb 2 17:13:52 EST 2009
On Mon, Feb 2, 2009 at 1:58 PM, Andrey Yurovsky <andrey at cozybit.com> wrote:
> Hi Matt. Is this on an embedded system or on a desktop PC with some
> host controller? If so, which one? I'm curious because module reload
> seems to work fine with my Ricoh host controller.
This is on an embedded system, using the SD controller on a pxa320.
Matt
> On Mon, Feb 2, 2009 at 1:31 PM, Matt Reimer <mreimer at sdgsystems.com> wrote:
>> For some reason the libertas_sdio driver works the first time it is
>> loaded, but not after subsequent reloads. What is the proper fix for
>> this problem?
>>
>> I experimented with trying to send CMD_802_11_RESET but to no effect.
>> For now I'm using a nasty hack that simulates a card insertion/removal
>> on load/unload, but at least it works.
>>
>> Perhaps when the card resets, it also resets the SDIO communication
>> parameters (probably back to 1-bit, etc.) but the stack is still
>> running the clock fast, in wide mode? I see there's a function
>> sdio_reset_comm(), but it's unused.
>>
>> Here's a previous discussion on this problem:
>> "rmmod libertas_sdio and reinsert causes problems with firmware upload"
>> http://lists.infradead.org/pipermail/libertas-dev/2008-September/001928.html
>>
>> What would be the best way to proceed?
>>
>> Matt
>>
>> _______________________________________________
>> libertas-dev mailing list
>> libertas-dev at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/libertas-dev
>>
>
> _______________________________________________
> 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