2009-03-10 16:06:03

by SARDAR SHARIFF

[permalink] [raw]
Subject: libertas sdio wlan not working.

Hi,

I am using Linux 2.6.28. Im using marvell SD8686 wlan chip.

I downloaded the firmwares from marvell site.

I do the following:


# insmod libertas.ko libertas_debug=0x5063a7
# libertas_sdio helper_name=helper_sd.bin fw_name=sd8686.bin
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
libertas_sdio mmc0:0001:1: firmware: requesting helper_sd.bin

libertas: can't load helper firmware
libertas: failed to load helper firmware
libertas_sdio: probe of mmc0:0001:1 failed with error -2

When i do dmesg, i get the following:

libertas enter: lbs_init_module()
libertas leave: lbs_init_module()
libertas enter: if_sdio_init_module()
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
libertas enter: if_sdio_probe()
libertas sdio: overriding helper firmware: helper_sd.bin
libertas sdio: overriding firmware: sd8686.bin
libertas sdio: class = 0x7, vendor = 0x2DF, device = 0x9103, model =
0xB, ioport = 0x10000
libertas enter: if_sdio_prog_firmware()
libertas enter: if_sdio_prog_helper()
libertas_sdio mmc0:0001:1: firmware: requesting helper_sd.bin
libertas: can't load helper firmware
libertas: failed to load helper firmware
libertas leave: if_sdio_prog_helper(), ret -2
libertas leave: if_sdio_prog_firmware(), ret -2
libertas leave: if_sdio_probe(), ret -2
libertas_sdio: probe of mmc0:0001:1 failed with error -2
libertas leave: if_sdio_init_module(), ret 0

What could be wrong?.

I also tried copying the firware files to /lib/firmware. but it didnot help.

Please advice �


2009-03-10 16:10:26

by Daniel Mack

[permalink] [raw]
Subject: Re: libertas sdio wlan not working.

On Tue, Mar 10, 2009 at 09:34:53PM +0530, SARDAR SHARIFF wrote:
> I am using Linux 2.6.28. Im using marvell SD8686 wlan chip.
>
> I downloaded the firmwares from marvell site.
>
> I do the following:
>
>
> # insmod libertas.ko libertas_debug=0x5063a7
> # libertas_sdio helper_name=helper_sd.bin fw_name=sd8686.bin
> libertas_sdio: Libertas SDIO driver
> libertas_sdio: Copyright Pierre Ossman
> libertas_sdio mmc0:0001:1: firmware: requesting helper_sd.bin
>
> libertas: can't load helper firmware
> libertas: failed to load helper firmware
> libertas_sdio: probe of mmc0:0001:1 failed with error -2

You need to have a userspace daemon running that serves the firmware to
the driver. This is typically done by udev, see

http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html

And note that there is a dedicated mailing list for that devices:

http://lists.infradead.org/mailman/listinfo/libertas-dev

Daniel