Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1912 (new defect)

Opened 14 years ago

Last modified 10 years ago

Atheros AR5413 Hardware revision not supported

Reported by: gmendoza@gmail.com Assigned to:
Priority: major Milestone:
Component: madwifi: driver Version: trunk
Keywords: Cc:
Patch is attached: 0 Pending:

Description

I am having trouble getting any version of the MadWifi drivers to work with an Atheros AR5413 card. For sake of information, the card is shipped with the "OQO Model 02".

The stock madwifi drivers (0.9.4) included with Ubuntu 8.04 using kernel version "2.6.24-16-generic" do not work.

I have also tried the latest SVN version, which results in the same fashion.

I would like to give you as much information as possible, so please let me know if there's anything else you need.

"dmesg" snippit (with 0.9.4 stock Ubuntu Kernel Drivers):

[ 39.126779] ath_hal: module license 'Proprietary' taints kernel.
[ 39.197874] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[ 39.636045] wlan: 0.9.4
[ 39.781290] ath_pci: 0.9.4
[ 39.803937] ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 17 (level, low) -> IRQ 21
[ 39.804108] wifi%d: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)

"dmesg" snippit (with MadWifi SVN/Trunk Drivers):

[   38.967646] ath_hal: module license 'Proprietary' taints kernel.
[   39.059442] ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
[   39.435227] wlan: svn r3574
[   39.639601] ath_pci: svn r3574
[   39.641767] ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 17 (level, low) -> IRQ 21
[   39.641930] MadWifi: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)

"sudo lshw -C network" snippit:

  *-network:0 UNCLAIMED   
       description: Ethernet controller
       product: AR5413 802.11abg NIC
       vendor: Atheros Communications Inc.
       physical id: 4
       bus info: pci@0000:03:04.0
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: pm cap_list
       configuration: latency=96 maxlatency=28 mingnt=10

"sudo lspci -vv" snippit:

03:04.0 Ethernet controller: Atheros Communications Inc. AR5413 802.11abg NIC (rev 01)
        Subsystem: Atheros Communications Inc. EnGenius EMP-8602 (400mw) or Compex WLM54AG (SuperAG)
        Flags: medium devsel, IRQ 21
        Memory at c2100000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2

Attachments

ath_info_output.txt (7.4 kB) - added by gmendoza@gmail.com on 04/28/08 08:27:40.

Change History

04/28/08 06:25:47 changed by mrenzmann

Please post the output from "lspci -nnv" about your card (the PCI ID would be interesting). And please see what ath_info spits out about your card.

04/28/08 08:27:40 changed by gmendoza@gmail.com

  • attachment ath_info_output.txt added.

04/28/08 08:29:44 changed by gmendoza@gmail.com

"sudo lspci -nnv" snippit:

03:04.0 Ethernet controller [0200]: Atheros Communications Inc. AR5413 802.11abg NIC [168c:001b] (rev 01)
        Subsystem: Atheros Communications Inc. EnGenius EMP-8602 (400mw) or Compex WLM54AG (SuperAG) [168c:2062]
        Flags: medium devsel, IRQ 21
        Memory at c2100000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2

05/04/08 10:49:58 changed by hadmut@danisch.de

Same problem with a 0a:03.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)

(unfortunately that notebook is out of my reach and used by a person who is still a beginner with Linux, I'll try to get a lspci -vv output...)

05/04/08 11:17:24 changed by Hadmut Danisch

0a:03.0 Ethernet controller [0200]: Atheros Communications Inc. AR2413 802.11bg NIC [168c:001a] (rev 01)
        Subsystem: AMBIT Microsystem Corp. Unknown device [1468:0418]
        Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at d0000000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

05/22/08 12:45:57 changed by linuxer314@yahoo.it

try to install the madwifi-trunk download it from snapshot and then compile it... make make install depmode -ae modprobe ath_pci

I've the same chipset and works very very well with this trunk... or try to install a svn version 2834...

then tell if it was worth...

05/25/08 18:16:25 changed by anonymous

Not sure where to download the specific older snapshot of 2834. If you have instructions, it would be helpful.

However, the latest trunk r3678 gives slightly different HAL 13 error: "Hardware didn't respond as expected".

May 25 09:10:59 oqo kernel: [15313.061296] ath_hal: driver unloaded
May 25 09:11:22 oqo kernel: [15314.732768] ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
May 25 09:11:22 oqo kernel: [15314.764075] wlan: svn r3678
May 25 09:11:22 oqo kernel: [15314.782098] ath_pci: svn r3678
May 25 09:11:22 oqo kernel: [15314.782768] ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 17 (level, low) -> IRQ 21
May 25 09:11:22 oqo kernel: [15314.787612] MadWifi: unable to attach hardware: 'Hardware didn't respond as expected' (HAL status 3)
May 25 09:11:22 oqo kernel: [15314.787659] ACPI: PCI interrupt for device 0000:03:04.0 disabled

06/18/08 01:09:47 changed by gmendoza@gmail.com

Latest SVN, issue still exists.

[  269.644955] ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
[  269.673553] wlan: svn r3727
[  269.690600] ath_pci: svn r3727
[  269.690851] ACPI: PCI Interrupt 0000:03:04.0[A] -> GSI 17 (level, low) -> IRQ 21
[  269.695205] MadWifi: unable to attach hardware: 'Hardware didn't respond as expected' (HAL status 3)
[  269.695242] ACPI: PCI interrupt for device 0000:03:04.0 disabled

06/29/08 18:59:42 changed by mrenzmann

Can you please try the code from the HAL 0.10.5.6 branch and see whether this issue still exists there?

02/10/10 15:14:45 changed by phil@philpep.org

Hi, just to inform that this card works partially on OpenBSD (4.6), mode 11a (others mode cause a kernel freeze) with a lot of packet loss but works (maybe look at the OpenBSD code to understand whats going wrong).

I've also tested the madwifi code from OpenWrt? trunk and this issue still exists. Hope this issue will be fixed quickly.

Thank you.

06/13/11 03:09:35 changed by whitefox@guardianfox.net

Issue still exists in 0.9.4. Tried recompiling with revision 2834 as suggested in previous posts and received compile errors.

modprobe -a ath_pci

[   67.561075] ath_pci 0000:03:04.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   67.561349] MadWifi: unable to attach hardware: 'Hardware revision not supported' (HAL status 13)
[   67.561463] ath_pci 0000:03:04.0: PCI INT A disabled
lspci -vv

03:04.0 Ethernet controller: Atheros Communications Inc. AR5413 802.11abg NIC (rev 01)
Subsystem: Atheros Communications Inc. Device 1602
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 17
Region 0: Memory at c2100000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Kernel modules: ath_pci, ath5k
lshw -C network

*-network:0 UNCLAIMED   
       description: Ethernet controller
       product: AR5413 802.11abg NIC
       vendor: Atheros Communications Inc.
       physical id: 4
       bus info: pci@0000:03:04.0
       version: 01
       width: 32 bits
       clock: 33MHz
       capabilities: pm cap_list
       configuration: latency=96 maxlatency=28 mingnt=10
       resources: memory:c2100000-c210ffff