Porting AR6000 drivers to a netbook?

Robert Bruce rbruce at phidgets.com
Fri Mar 12 21:03:14 CET 2010


I have an AR6001 SDIO WIFI card with 2.0.1 firmware that I'm attempting to
get work on an Acer Aspire One laptop running Ubuntu Netbook Remix 9.10,
2.6.30-6 kernel.

I downloaded the latest version of the drivers from the andy-tracking
branch, added the Atheros 6001 device descriptors into the SDIO stack. The
modules were compiled and installed, and the machine rebooted.

The ar6000 module gets loaded when I insert the card

lsmod gives me this:
rob at GoGrapefruit:/usr/src/linux-source-2.6.31/drivers$ lsmod | grep ar6000
ar6000                113484  0


dmesg shows this relevant information (Note that the laptop has two SD
slots, and the wifi module is plugged into slot 0):

Mar 12 10:54:09 GoGrapefruit kernel: [   25.070074] sdhci-pci 0000:01:00.0:
SDHCI controller found [197b:2382] (rev 0)
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070118] sdhci-pci 0000:01:00.0:
PCI INT A -> GSI 16 (level, low) -> IRQ 16
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070296] Registered led device:
mmc0::
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070399] mmc0: SDHCI controller
on PCI [0000:01:00.0] using ADMA
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070428] sdhci-pci 0000:01:00.2:
SDHCI controller found [197b:2381] (rev 0)
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070462] sdhci-pci 0000:01:00.2:
PCI INT A -> GSI 16 (level, low) -> IRQ 16
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070477] sdhci-pci 0000:01:00.2:
Refusing to bind to secondary interface.
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070494] sdhci-pci 0000:01:00.2:
PCI INT A disabled
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070528] sdhci-pci 0000:04:00.0:
SDHCI controller found [197b:2382] (rev 0)
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070561] sdhci-pci 0000:04:00.0:
PCI INT A -> GSI 19 (level, low) -> IRQ 19
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070706] Registered led device:
mmc1::
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070781] mmc1: SDHCI controller
on PCI [0000:04:00.0] using ADMA
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070809] sdhci-pci 0000:04:00.2:
SDHCI controller found [197b:2381] (rev 0)
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070844] sdhci-pci 0000:04:00.2:
PCI INT A -> GSI 19 (level, low) -> IRQ 19
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070860] sdhci-pci 0000:04:00.2:
Refusing to bind to secondary interface.
Mar 12 10:54:09 GoGrapefruit kernel: [   25.070877] sdhci-pci 0000:04:00.2:
PCI INT A disabled
Mar 12 10:54:09 GoGrapefruit kernel: [   25.095874] jmb38x_ms 0000:01:00.3:
PCI INT A -> GSI 16 (level, low) -> IRQ 16
Mar 12 10:54:09 GoGrapefruit kernel: [   25.096185] jmb38x_ms 0000:04:00.3:
PCI INT A -> GSI 19 (level, low) -> IRQ 19
Mar 12 10:54:09 GoGrapefruit kernel: [   25.173392] mmc0: new SDIO card at
address 0001

looking in /sys/bus/sdio/drivers/sdio_ar6000, I can see that it's bound to
slot 0 when the card is inserted, so I would assume that the driver is
properly recognizing the card. Beyond that, the system does nothing. I
understand that this is not a typical application for the openmoko ar6000
drivers, so I have a feeling that something else is missing. My
understanding is that the ar6000 driver usually handles bringing up a new
network interface for the card right? I'm getting no output indicating that
the ar6000 driver is doing anything.

Does anybody have a thought
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20100312/fdb2b694/attachment.htm 


More information about the openmoko-kernel mailing list