Thanks for your response.  I had a busy weekend so I couldn't get back to it until now.  Comments below:


On Thu, Mar 27, 2008 at 4:38 PM, Pavel Roskin <proski@gnu.org> wrote:
On Thu, 2008-03-27 at 01:28 -0400, Nate Hausrath wrote:
> Hello everyone,
>
> I've been struggling for quite some time to get my D-Link AR5418
> express card to work.  I've read quite a few posts and emails about
> this card, but nothing seems to work for me.  Particularly, I've been
> attempting to get the latest trunk to work by following the
> instructions found here:
>
> http://www.thinkwiki.org/wiki/How_to_checkout_and_install_madwifi_experimental_driver_for_ar5008
>
> I'm running Ubuntu 7.10 on an HP dv9000.

It would also be useful if you said if your distro is 64-bit.

My distro is 32-bit.



>   I do have the integrated card installed and running and I'm not sure
> if that would cause problems (I wanted to have both capable of running
> simultaneously).  Anyway, here is some output:
>
> lspci -v:
>
> 04:00.0 Network controller: Atheros Communications, Inc. AR5418
> 802.11a/b/g/n Wireless PCI Express Adapter (rev 01)
>         Subsystem: D-Link System Inc Unknown device 3a6f

This looks like D-Link DWA-643 (expresscard).

Correct.
 


Try running "ath_info bc000000" as root - it will show the exact
components used in your card.

sudo setpci -s 04:00.0 command=0x41f cache_line_size=0x10
sudo ./ath_info bc000000

gives me the following error:

Unable to read EEPROM Magic value !



>         Flags: fast devsel, IRQ 17
>         Memory at bc000000 (64-bit, non-prefetchable) [disabled]
> [size=64K]

I'm a bit concerned about "disabled" here.  I'm not seeing it on my PCIe
card.

I had assumed this was because the drivers didn't load properly.  If not, any ideas on how to enable it?



> [  728.000000] ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
> [  728.012000] wlan: svn r3406
> [  728.016000] ath_pci: svn r3406
> [  728.016000] ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 17
> [  728.028000] MadWifi: unable to attach hardware: 'Hardware didn't respond as expected' (HAL status 3)

HAL is indeed the latest, and it cannot work with that card.

> I think that's about it on information.  I know the card works because
> I've tested it in Windows (blah), but I'm desperate for help so I can
> get it to work in Linux (I'm probably just missing something obvious)!
> Thanks in advance for any ideas!

I don't see anything obviously wrong.  I would suggest that you test the
card with the Window drivers from http://www.atheros.cz/ and
ndiswrapper.  That would allow to test whether Linux support for
expresscards is correct.

I'll try this out later and report back if it doesn't work.


You could also test the card with the Atheros provided HAL from
https://madwifi.org/ticket/1679 (32-bit only).

It seems I just have back luck with getting this card to work.  This didn't work for me either.  I tried the patch on 2756 as well as 3366 and neither of them worked.  Here is the dmesg after modprobe:

[ 8014.124000] ath_hal: 0.10.2.2-ATHEROS (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425)
[ 8014.144000] wlan: trunk
[ 8014.152000] ath_pci: trunk
[ 8014.156000] ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 17
[ 8014.168000] MadWifi: unable to attach hardware: 'Hardware didn't respond as expected' (HAL status 3)
[ 8014.168000] ACPI: PCI interrupt for device 0000:04:00.0 disabled

The last line there leads me to believe that the card is disabled for some reason and this is causing problems.  I could be interpreting it wrong though.

More suggestions are always welcome!  Thanks for your help so far!

-Nate