SDIO Marvel 8686 card
Shawn Rutledge
shawn.t.rutledge at gmail.com
Fri Jan 23 18:32:24 EST 2009
On Fri, Jan 23, 2009 at 3:52 PM, Andrey Yurovsky <andrey at cozybit.com> wrote:
> To download the '8686 firmware, download Marvell's driver from their
> site. Click "drivers", select "Fedora / 2.6 kernel" from the OS list,
> and download the '8686 SYSKIT driver. The firmware lives in its own
> directory in the .zip file. Dan Williams also recently posted a note
> saying that the firmware for these cards is coming to the
> linux-firmware tree (that should include the '8385 FW).
Thanks that was too easy. :-)
Earlier I was getting an error that it did not recognize the type of
card, so I modified if_sdio.c like this:
static int if_sdio_probe(struct sdio_func *func,
const struct sdio_device_id *id)
{
struct if_sdio_card *card;
struct lbs_private *priv;
int ret, i;
unsigned int model;
struct if_sdio_packet *packet;
lbs_deb_enter(LBS_DEB_SDIO);
for (i = 0;i < func->card->num_info;i++) {
lbs_pr_err("looking at func->card->info[%d]: %s\n", i,
func->card->info[i]);
if (sscanf(func->card->info[i],
"802.11 SDIO ID: %x", &model) == 1)
break;
if (sscanf(func->card->info[i],
"ID: %x", &model) == 1)
break;
if (!strcmp(func->card->info[i], "Kodak WiFi card 3F8508")) {
lbs_pr_err("Identified Kodak card\n");
model = 4;
break;
}
if (!strcmp(func->card->info[i], "IBIS Wireless SDIO Card")) {
model = 4;
break;
}
}
I installed the firmware from the Marvell tarball (renamed the files):
[acer][04:02:56 PM] ll /lib/firmware/
....
-rw-r--r-- 1 root root 2516 2009-01-23 16:00 sd8385_helper.bin
-rw-r--r-- 1 root root 122916 2009-01-23 16:00 sd8686.bin
....
and I think udev's firmware.sh script finds it, but I have messages like this:
Jan 23 16:01:28 [kernel] libertas: looking at func->card->info[0]:
Eastman Kodak Company
Jan 23 16:01:28 [kernel] libertas: looking at func->card->info[1]:
Kodak WiFi card 3F8508
Jan 23 16:01:28 [kernel] libertas: failed to load helper firmware
Jan 23 16:01:28 [kernel] libertas_sdio: probe of mmc0:0001:1 failed
with error -84
I'm using Gentoo's version of kernel 2.6.27 on an Acer laptop that has
an SD slot.
More information about the libertas-dev
mailing list