Jump to content

Rebranding Atheros AR5006EG to a Vanilla Card


  • Please log in to reply
221 replies to this topic

#141
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,508 posts
  • Gender:Male
  • Location:Tampa, Florida
instaling ath_info fails due to dns .
try this
svn co http://svn.madwifi-p.../ath_info/trunk ath_info

and Docs at http://madwifi-proje...serDocs/AthInfo

Edit: i rebranded and so far i have issues with the 106b,4e entry in broadcom4311 kext. so i rebranded to 016b,86 and it almost worked. i believe im closer. but i have a G card only? i read on dump yet on sites say b/g hmm madwifi dump error ? Ar5bxb63H (Hp not in an hp laptop)

will try other ids.. like 168c,23 106b,86 or 168c,24 106b,87 (i have this AR5bxb72 apple that wont work)

i order Ar9280 model AW-NE772 that supposedly works native although i think i have PCi config issues in dsdt.

#142
cartri

cartri

    Just a Cone

  • Donators
  • 407 posts
  • Location:Brazil
The 106b 0087 combination is used by ar-5418/Atheros-5008 , madwifi has been discontinued in prior to ath5k and the wifi-N ath9K, Linus wants both integrated in a mac80211 single project.
the result?
ATH_INFO no longer works.
i will try to start a project on porting ath_info to 5008 (wifiN, now back to full recognizon in 64bit mac os x 10.6.5) based on 9k eeprom source.
I hope i dont loose mi DWA-556 on this: here it costs 150 dollars :S

#143
Methanoid

Methanoid

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 114 posts
  • Location:Brittania
Hi, hope this is the right place to ask but I have an AR5BXB63 (AR5001/AR5006 depending on where you look). I installed this to my netbook as it is the only card that works with AROS (Amiga-like OS) but I'd like to use OSX also.

I suspect if I do this procedure to convince OSX it is an Apple card it will cease to work in AROS so is there any other way to get the card working in OSX without writing to Eeproms?

If not and I do have to hack it to appear an Apple card, will it still work in Windows and Linux (I quad boot) ???

#144
Godfrd824

Godfrd824

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 8 posts
I'm having an issue:

When I try to get the EEPROM data, I get this:

santana@santana-Aspire-5570Z:~/ath_info$ ath_info -d 0x<44400000>
bash: syntax error near unexpected token `44400000'

I cannot figure out what the issue is, could anyone help me?

#145
cartri

cartri

    Just a Cone

  • Donators
  • 407 posts
  • Location:Brazil
use 0xMEMADDRESS instead of 0x<MEMADDRESS>

#146
Godfrd824

Godfrd824

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 8 posts

use 0xMEMADDRESS instead of 0x<MEMADDRESS>


It still doesn't work, now it tells me that the command is not found.

santana@santana-Aspire-5570Z:~$ ath_info -d 0x44400000
ath_info: command not found

#147
cartri

cartri

    Just a Cone

  • Donators
  • 407 posts
  • Location:Brazil

It still doesn't work, now it tells me that the command is not found.

santana@santana-Aspire-5570Z:~$ ath_info -d 0x44400000
ath_info: command not found


be sure your ethernet is down:
ifdown -a

enter the directory you did build (Make, make all...) ath_info

then:
./ath_info -d 0x44400000
(assuming you really know that this is the memory address of your card)

DO NOT use ath_info before fully understanding what you are doing. It is not a normal firmware flash!

#148
Godfrd824

Godfrd824

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 8 posts

be sure your ethernet is down:

ifdown -a

enter the directory you did build (Make, make all...) ath_info

then:
./ath_info -d 0x44400000
(assuming you really know that this is the memory address of your card)

DO NOT use ath_info before fully understanding what you are doing. It is not a normal firmware flash!



Thanks for the help, it worked this time, here's what I get.

-==Device Information==-
MAC Revision: 2425 (0xe2)
Warning: Invalid EEPROM Magic number!
Device type: 3

/============== EEPROM Information =============\
| EEPROM Version: 5.3 | EEPROM Size: 4 kbit |
| EEMAP: 2 | Reg. Domain: 0x65 |
|================= Capabilities ================|
| 802.11a Support: no | Turbo-A disabled: yes |
| 802.11b Support: no | Turbo-G disabled: yes |
| 802.11g Support: yes | 2GHz XR disabled: yes |
| RFKill Support: yes | 5GHz XR disabled: yes |
| 32kHz Crystal: no | |
\===============================================/

According to this, this card only supports wireless G.

Now I get this:

root@santana-Aspire-5570Z:/home/santana/ath_info# ath_info -g 3:0 -w 0x44400000 0085 280
ath_info: command not found
And I have no idea why,

#149
cartri

cartri

    Just a Cone

  • Donators
  • 407 posts
  • Location:Brazil

Thanks for the help, it worked this time, here's what I get.

-==Device Information==-
MAC Revision: 2425 (0xe2)
Warning: Invalid EEPROM Magic number!
Device type: 3

/============== EEPROM Information =============\
| EEPROM Version: 5.3 | EEPROM Size: 4 kbit |
| EEMAP: 2 | Reg. Domain: 0x65 |
|================= Capabilities ================|
| 802.11a Support: no | Turbo-A disabled: yes |
| 802.11b Support: no | Turbo-G disabled: yes |
| 802.11g Support: yes | 2GHz XR disabled: yes |
| RFKill Support: yes | 5GHz XR disabled: yes |
| 32kHz Crystal: no | |
\===============================================/

According to this, this card only supports wireless G.

Now I get this:

root@santana-Aspire-5570Z:/home/santana/ath_info# ath_info -g 3:0 -w 0x44400000 0085 280
ath_info: command not found
And I have no idea why,

is your class id at hex 85?
you will always get command not found if you tri to run
executable
instead of
./executable
from within the executable path

#150
Godfrd824

Godfrd824

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 8 posts
After writing, nothing changed, I still get this.

Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
Subsystem: AMBIT Microsystem Corp. AR5BXB63 802.11bg NIC [1468:0428]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at 44400000 (64-bit, non-prefetchable) [size=64K]


If I try to rewrite, I get this.

pair 0: skipped, value already there
restoring GPIO CR 1 -> 9


And I've checked the dump, it is correct.

Class ID - 0085

Subven ID - 0008, 008a

Subdev ID - 0007, 008b


EEPROM dump (512 bytes)
==============================================
0000: a55a 0000 0040 0001 0000 5001 0000 004e
0008: 106b 1c0a 0100 0000 01c2 0002 c606 0001
0010: 0000 0000 0000 0000 0000 0000 0000 0000
0018: 0000 0000 0000 0000 0000 5b86 7e84 0019
0020: 0000 0000 0000 0000 0000 0000 0000 0000
0028: 0000 0000 0000 0000 0000 0000 0000 0000
0030: 0000 0000 0000 0000 0000 0000 0000 0000
0038: 0000 0000 0000 0000 0000 0000 0000 0000
0040: ffff ffff ffff ffff ffff ffff ffff ffff
0048: ffff ffff ffff ffff ffff ffff ffff ffff
0050: ffff ffff ffff ffff ffff ffff ffff ffff
0058: ffff ffff ffff ffff ffff ffff ffff ffff
0060: ffff ffff ffff ffff ffff ffff ffff ffff
0068: ffff ffff ffff ffff ffff ffff ffff ffff
0070: ffff ffff ffff ffff ffff ffff ffff ffff
0078: ffff ffff ffff ffff ffff ffff ffff ffff
0080: 1400 168c 001c 1402 0001 0280 140a 5001
0088: 0000 140b 106b 004e 140f 0100 1c0a 1410
0090: 5001 01c2 15c3 3f01 0f00 1419 0cc0 0504
0098: 1410 5001 c1c2 1005 0000 0000 101e 0001
00a0: 0000 ffff ffff ffff ffff 1900 847e 865b
00a8: ffff ffff ffff ffff ffff ffff ffff ffff
00b0: ffff ffff ffff ffff ffff ffff ffff ffff
00b8: ffff ffff ffff ffff ffff ffff ffff 0065
00c0: 99e8 5003 da6c 0000 b1c8 016e 00ff 78ff
00c8: 15a3 0005 0400 0000 0000 0000 0000 0000
00d0: 0000 0000 0000 0000 2d2c 0000 0000 0000
00d8: 0000 e028 a492 1c00 000e b8ca 0013 0000
00e0: 08f8 6b4b c059 0971 0000 0000 0000 0000
00e8: 0000 0000 0000 0000 0000 0000 0000 0000
00f0: 0000 0000 2d2c 0000 0000 0000 0000 e022
00f8: 1c00 000e b8ff 0013 001b 0000 ff70 10ff
==============================================

Should I change the device ID as well?

#151
cartri

cartri

    Just a Cone

  • Donators
  • 407 posts
  • Location:Brazil
you should see changes after totally powering off your motherboard (switch the psu off)

Are you trying to rebrand a atheros card to a apple-broadcom subsystem id? you would get panic with that @ mac os

be welcome to paste the result of
lspci -nnnvvvxxx
of your device inside a code box here

#152
3.14r2

3.14r2

    The Round One

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,333 posts
  • Location:Molvania
Reporting success with Lenovo/IBM Atheros AR5BXB6 card on HP DV 1660SE
Before rebranding:
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5212 802.11abg NIC [168c:1014] (rev 01)
  Subsystem: IBM ThinkPad 11a/b/g Wireless LAN Mini Express Adapter (AR5BXB6) [1014:058a]
After rebranding:
02:00.0 Network controller [0280]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
  Subsystem: Apple Computer Inc. Device [106b:0086]
So in addition to usual changes the Dev ID has been also changed. Also BIOS whitelist is edited, no more 104 error (evil laugh). It works perfectly on Ubuntu 10.10. Need to install OS X to test it out :)
Thanks!!!

EDIT 2010 12 12:
Works OOTB in Leopard and Snow Leopard. Don't work in Tiger 10.4.11 after update from 10.4.8.

#153
Godfrd824

Godfrd824

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 8 posts
So, the card rebrand worked, but now I'm getting BSD after I install the IOPC kext to get the ports working, I'm trying to see if this is an issue with the card, or is it something else I'm doing wrong.

#154
cartri

cartri

    Just a Cone

  • Donators
  • 407 posts
  • Location:Brazil

So, the card rebrand worked, but now I'm getting BSD after I install the IOPC kext to get the ports working, I'm trying to see if this is an issue with the card, or is it something else I'm doing wrong.


Still trying to help you: use a atheros card subsystem id (like 106b 0087) or you will have the broadcom drivers loaded

#155
Godfrd824

Godfrd824

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 8 posts
Here's what I've gathered so far, I install OSX, then throw on the Yukon kext, then the IOPC kext, that last kext breaks OSX, so I add on the ACPI fix, and this gives me a kernel panic, it seems that it breaks the IOPC stuff, or it might be the voodoo PS/2 drivers conflicting with the IOPC stuff.

#156
datifasulli3

datifasulli3

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Unable to get my Atheros AR5001 card to work (this used to be in a Samsung NC10).

I've tried the following:

// Ubuntu 9.10 (Karmic Koala)root@sysyphus:/media/usb_stick/ath_info# svn co [url="http://madwifi-project.org/svn/ath_info/trunk"]http://madwifi-project.org/svn/ath_info/trunk[/url] ath_inforoot@sysyphus:/media/usb_stick/ath_info# cd ath_info/root@sysyphus:/media/usb_stick/ath_info# makeroot@sysyphus:/media/usb_stick/ath_info# chmod 755 auth_inforoot@sysyphus:/media/usb_stick/ath_info# sudo lspci -vvnn...04:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)	Subsystem: Askey Computer Corp. Device [144f:7131]	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-	Latency: 0, Cache Line Size: 64 bytes	Interrupt: pin A routed to IRQ 18	Region 0: Memory at fdef0000 (64-bit, non-prefetchable) [size=64K]	Capabilities: [40] Power Management version 2		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)		Status: D0 PME-Enable- DSel=0 DScale=0 PME-	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-		Address: 00000000  Data: 0000	Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-			MaxPayload 128 bytes, MaxReadReq 512 bytes		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us			ClockPM- Suprise- LLActRep- BwNot-		LnkCtl:	ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-	Capabilities: [90] MSI-X: Enable- Mask- TabSize=1		Vector table: BAR=0 offset=00000000		PBA: BAR=0 offset=00000000	Capabilities: [100] Advanced Error Reporting <?>	Capabilities: [140] Virtual Channel <?>	Kernel driver in use: ath5k	Kernel modules: ath5k...

Remember to disable Wireless Networking, otherwise you'll get nothing showing!

root@sysyphus:/media/usb_stick/ath_info# athmem=`lspci -vd 168c: |sed -n 's/.*Memory at \([^ ]*\).*/0x\1/p'`root@sysyphus:/media/usb_stick/ath_info# ./ath_info -d $athmemsleep_ctl reg 00000000   reset_ctl reg 00000000 -==Device Information==-MAC Revision: 2425  (0xe2)Warning: Invalid EEPROM Magic number!Device type:  5/============== EEPROM Information =============\| EEPROM Version:   5.3 | EEPROM Size:   4 kbit || EEMAP:              2 | Reg. Domain:     0x65 ||================= Capabilities ================|| 802.11a Support:  no  | Turbo-A disabled: yes || 802.11b Support:  no  | Turbo-G disabled: yes || 802.11g Support:  yes | 2GHz XR disabled: yes || RFKill  Support:  yes | 5GHz XR disabled: yes || 32kHz   Crystal:  no  |                       |\===============================================//=========================================================\|          Calibration data common for all modes          ||=========================================================||          CCK/OFDM gain delta:             1             ||          CCK/OFDM power delta:            5             ||          Scaled CCK delta:                5             ||          2GHz Antenna gain:               1             ||          5GHz Antenna gain:               4             ||          Turbo 2W maximum dBm:           38             ||          Target power start:          0x16e             ||          EAR Start:                   0x1b8             |\=========================================================//=========================================================\|          Calibration data for 802.11g operation         ||=========================================================|| I power:              0x00 | Q power:              0x10 || Use fixed bias:       0x01 | Max turbo power:      0x26 || Max XR power:         0x24 | Switch Settling Time: 0x28 || Tx/Rx attenuation:    0x19 | TX end to XLNA On:    0x00 || TX end to XPA Off:    0x00 | TX end to XPA On:     0x0e || 62db Threshold:       0x1c | XLNA gain:            0x00 || XPD:                  0x01 | XPD gain:             0x0a || I gain:               0x00 | Tx/Rx margin:         0x01 || False detect backoff: 0x00 | Noise Floor Threshold:  -1 || ADC desired size:      -38 | PGA desired size:      -80 ||=========================================================|| Antenna control   0:  0x00 | Antenna control   1:  0x01 || Antenna control   2:  0x22 | Antenna control   3:  0x22 || Antenna control   4:  0x00 | Antenna control   5:  0x00 || Antenna control   6:  0x02 | Antenna control   7:  0x21 || Antenna control   8:  0x21 | Antenna control   9:  0x00 || Antenna control  10:  0x00 | Antenna control  11:  0x02 ||=========================================================|| Octave Band 0:           3 | db 0:                    3 || Octave Band 1:           4 | db 1:                    4 || Octave Band 2:           0 | db 2:                    0 || Octave Band 3:           0 | db 3:                    0 |\=========================================================//==================== Turbo mode infos ===================\| Switch Settling time: 0x28 | Tx/Rx margin:         0x01 || Tx/Rx attenuation:    0x19 | ADC desired size:      -32 || PGA desired size:      -80 |                            |\=========================================================//============== Per rate power calibration ===========\| Freq | 6-24Mbit/s | 36Mbit/s |  48Mbit/s | 54Mbit/s ||======|============|==========|===========|==========|| 2412 |    18.00   |  17.00   |   15.01   |  13.01   ||======|============|==========|===========|==========|| 2437 |    18.00   |  17.00   |   15.01   |  13.01   ||======|============|==========|===========|==========|| 2472 |    18.00   |  17.00   |   15.01   |  13.01   |\=====================================================//====================== Per channel power calibration ===================\| Freq |  pwr_i  |    pwr_0    |    pwr_1    |    pwr_2    |    pwr_3    ||      | pddac_i |   pddac_0   |   pddac_1   |   pddac_2   |   pddac_3   ||======|=========|=============|=============|=============|=============|| 2412 |         |             |             |             |             ||------|---------|-------------|-------------|-------------|-------------||      |     0   |     4.00    |     8.50    |    13.00    |     0.00    ||      |     8   |       13    |       42    |       80    |        0    ||------|---------|-------------|-------------|-------------|-------------||      |    10   |    14.00    |    16.50    |    19.00    |    21.50    ||      |    14   |       25    |       42    |       68    |       89    ||======|=========|=============|=============|=============|=============|| 2442 |         |             |             |             |             ||------|---------|-------------|-------------|-------------|-------------||      |     0   |     4.00    |     8.50    |    13.00    |     0.00    ||      |     4   |       11    |       40    |       76    |        0    ||------|---------|-------------|-------------|-------------|-------------||      |    10   |    14.00    |    16.50    |    19.00    |    22.00    ||      |    13   |       22    |       37    |       60    |       81    ||======|=========|=============|=============|=============|=============|| 2472 |         |             |             |             |             ||------|---------|-------------|-------------|-------------|-------------||      |     0   |     4.50    |     9.00    |    13.50    |     0.00    ||      |     4   |       13    |       43    |       79    |        0    ||------|---------|-------------|-------------|-------------|-------------||      |    10   |    14.00    |    16.50    |    19.00    |    21.50    ||      |    13   |       22    |       38    |       57    |       73    |\========================================================================/GPIO registers: CR 0x00008000, DO 0x00000001, DI 0x00000003EEPROM dump (512 bytes)==============================================0000:  a55a 0000 0020 0001 0000 5001 0000 71310008:  144f 1c0a 0100 0000 0002 0002 c606 00010010:  0000 0000 0000 0000 0000 0000 0000 00000018:  0000 0000 0000 0000 0000 3b2a d2a1 00240020:  0000 0000 0000 0000 0000 0000 0000 00000028:  0000 0000 0000 0000 0000 0000 0000 00000030:  0000 0000 0000 0000 0000 0000 0000 00000038:  0000 0000 0000 0000 0000 0000 0000 00000040:  1400 168c 001c 1402 0001 0200 140a 50010048:  0000 140b 144f 7131 140f 0100 1c0a 14100050:  5001 01c2 101a 050a 0000 1419 0cc0 05040058:  1005 0000 0000 101e 0001 0000 101f 000f0060:  0000 1020 fc00 9248 1020 4924 2492 10200068:  0039 2800 1020 0824 5316 1020 0579 f6800070:  1020 efff 001d 1020 be40 1aaa 1020 55540078:  be10 1020 3007 000e 1021 0000 0000 ffff0080:  ffff ffff ffff ffff ffff ffff ffff ffff0088:  ffff ffff ffff ffff ffff ffff ffff ffff0090:  ffff ffff ffff ffff ffff ffff ffff ffff0098:  ffff ffff ffff ffff ffff ffff ffff ffff00a0:  ffff ffff ffff ffff ffff ffff ffff ffff00a8:  ffff ffff ffff ffff ffff ffff ffff ffff00b0:  ffff ffff ffff ffff ffff ffff ffff ffff00b8:  ffff ffff ffff ffff ffff ffff ffff 006500c0:  3709 5003 ea6c 0401 b1b8 016e 00ff c4ff00c8:  15a3 0005 0400 0000 0000 0000 0000 000000d0:  0000 0000 0000 0000 2d2c 0000 0000 000000d8:  0000 e028 a492 1c00 000e b8ca 0013 000000e0:  08f8 6b4b c059 0d71 0000 0000 0000 000000e8:  0000 0000 0000 0000 0000 0000 0000 000000f0:  0000 0000 2d2c 0000 0000 0000 0000 e02200f8:  1c00 000e b8ff 0013 001b 0000 ff70 10ff==============================================STA_ID0: 00:24:d2:a1:3b:2aSTA_ID1: 0x10002a3b, AP: 0, IBSS: 0, KeyCache Disable: 0TIMER0: 0x00000030, TBTT:    48, TU: 0xc4c80030TIMER1: 0x0007ffff, DMAb: 65535, TU: 0xc4c7ffff (-49)TIMER2: 0x01ffffff, SWBA: 65535, TU: 0xc4ffffff (+3669967)TIMER3: 0x00000031, ATIM:    49, TU: 0xc4c80031 (+1)TSF: 0x00000b131c0efe04, TSFTU:   959, TU: 0xc4c703bfBEACON: 0x00000000LAST_TSTP: 0x5b10e316

I first tried GPIO of 3 (as in the first post by iHack13), but didn't work:

root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0045 0280root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0008 106broot@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004a 106broot@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0007 004eroot@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004b 004eroot@sysyphus:/media/usb_stick/ath_info# ./ath_info -d $athmem.....EEPROM dump (512 bytes)==============================================0000:  a55a 0000 0020 0001 0000 5001 0000 <strong class='bbc'>004e</strong>0008:  <strong class='bbc'>106b</strong> 1c0a 0100 0000 0002 0002 c606 00010010:  0000 0000 0000 0000 0000 0000 0000 00000018:  0000 0000 0000 0000 0000 3b2a d2a1 00240020:  0000 0000 0000 0000 0000 0000 0000 00000028:  0000 0000 0000 0000 0000 0000 0000 00000030:  0000 0000 0000 0000 0000 0000 0000 00000038:  0000 0000 0000 0000 0000 0000 0000 00000040:  1400 168c 001c 1402 0001 <strong class='bbc'>0280</strong> 140a 50010048:  0000 140b <strong class='bbc'>106b 004e</strong> 140f 0100 1c0a 14100050:  5001 01c2 101a 050a 0000 1419 0cc0 05040058:  1005 0000 0000 101e 0001 0000 101f 000f0060:  0000 1020 fc00 9248 1020 4924 2492 10200068:  0039 2800 1020 0824 5316 1020 0579 f6800070:  1020 efff 001d 1020 be40 1aaa 1020 55540078:  be10 1020 3007 000e 1021 0000 0000 ffff0080:  ffff ffff ffff ffff ffff ffff ffff ffff0088:  ffff ffff ffff ffff ffff ffff ffff ffff0090:  ffff ffff ffff ffff ffff ffff ffff ffff0098:  ffff ffff ffff ffff ffff ffff ffff ffff00a0:  ffff ffff ffff ffff ffff ffff ffff ffff00a8:  ffff ffff ffff ffff ffff ffff ffff ffff00b0:  ffff ffff ffff ffff ffff ffff ffff ffff00b8:  ffff ffff ffff ffff ffff ffff ffff 006500c0:  3709 5003 ea6c 0401 b1b8 016e 00ff c4ff00c8:  15a3 0005 0400 0000 0000 0000 0000 000000d0:  0000 0000 0000 0000 2d2c 0000 0000 000000d8:  0000 e028 a492 1c00 000e b8ca 0013 000000e0:  08f8 6b4b c059 0d71 0000 0000 0000 000000e8:  0000 0000 0000 0000 0000 0000 0000 000000f0:  0000 0000 2d2c 0000 0000 0000 0000 e02200f8:  1c00 000e b8ff 0013 001b 0000 ff70 10ff==============================================....

Rebooted, but nothing changed, had to power off, unplug power cable, then power back on, Ubuntu now sees the card:

04:00.0 Network controller [0280]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)	Subsystem: Apple Computer Inc. Unknown device [106b:004e]	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-	Latency: 0, Cache Line Size: 64 bytes	Interrupt: pin A routed to IRQ 18	Region 0: Memory at fdef0000 (64-bit, non-prefetchable) [size=64K]	Capabilities: [40] Power Management version 2		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)		Status: D0 PME-Enable- DSel=0 DScale=0 PME-	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-		Address: 00000000  Data: 0000	Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us			ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-			MaxPayload 128 bytes, MaxReadReq 512 bytes		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us			ClockPM- Suprise- LLActRep- BwNot-		LnkCtl:	ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-	Capabilities: [90] MSI-X: Enable- Mask- TabSize=1		Vector table: BAR=0 offset=00000000		PBA: BAR=0 offset=00000000	Capabilities: [100] Advanced Error Reporting <?>	Capabilities: [140] Virtual Channel <?>	Kernel driver in use: ath5k	Kernel modules: ath5k

Rebooted into OSX, both Leopard 10.5.8 and Snow Leopard 10.6.2 Kernel Panic, clashes with Broadcom kext, so....

root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0045 0280root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0008 106broot@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004a 106broot@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0007 0086root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004b 0086root@sysyphus:/media/usb_stick/ath_info# ./ath_info -d $athmem.....EEPROM dump (512 bytes)==============================================0000:  a55a 0000 0020 0001 0000 5001 0000 <strong class='bbc'>0086</strong>0008:  <strong class='bbc'>106b</strong> 1c0a 0100 0000 0002 0002 c606 00010010:  0000 0000 0000 0000 0000 0000 0000 00000018:  0000 0000 0000 0000 0000 3b2a d2a1 00240020:  0000 0000 0000 0000 0000 0000 0000 00000028:  0000 0000 0000 0000 0000 0000 0000 00000030:  0000 0000 0000 0000 0000 0000 0000 00000038:  0000 0000 0000 0000 0000 0000 0000 00000040:  1400 168c 001c 1402 0001 <strong class='bbc'>0280</strong> 140a 50010048:  0000 140b <strong class='bbc'>106b 0086</strong> 140f 0100 1c0a 14100050:  5001 01c2 101a 050a 0000 1419 0cc0 05040058:  1005 0000 0000 101e 0001 0000 101f 000f0060:  0000 1020 fc00 9248 1020 4924 2492 10200068:  0039 2800 1020 0824 5316 1020 0579 f6800070:  1020 efff 001d 1020 be40 1aaa 1020 55540078:  be10 1020 3007 000e 1021 0000 0000 ffff0080:  ffff ffff ffff ffff ffff ffff ffff ffff0088:  ffff ffff ffff ffff ffff ffff ffff ffff0090:  ffff ffff ffff ffff ffff ffff ffff ffff0098:  ffff ffff ffff ffff ffff ffff ffff ffff00a0:  ffff ffff ffff ffff ffff ffff ffff ffff00a8:  ffff ffff ffff ffff ffff ffff ffff ffff00b0:  ffff ffff ffff ffff ffff ffff ffff ffff00b8:  ffff ffff ffff ffff ffff ffff ffff 006500c0:  3709 5003 ea6c 0401 b1b8 016e 00ff c4ff00c8:  15a3 0005 0400 0000 0000 0000 0000 000000d0:  0000 0000 0000 0000 2d2c 0000 0000 000000d8:  0000 e028 a492 1c00 000e b8ca 0013 000000e0:  08f8 6b4b c059 0d71 0000 0000 0000 000000e8:  0000 0000 0000 0000 0000 0000 0000 000000f0:  0000 0000 2d2c 0000 0000 0000 0000 e02200f8:  1c00 000e b8ff 0013 001b 0000 ff70 10ff==============================================....

FAILS TO LOAD!! (but at least OSX now sees the WiFi Card:

Feb  7 13:26:18 localhost kernel[0]: ath_dev_attach[3182]: unable to attach hardware; HAL status 13Feb  7 13:26:18 localhost kernel[0]: ath_attach[3625] : ath_dev_attach Failed Feb  7 13:26:18 localhost kernel[0]: start [/SourceCache/AirPortDriverAtheros5424/AirPortDriverAtheros5424-421.19.8/src/common/lmac/ath_dev/darwin/AtherosController.cpp:1159] load failedFeb  7 13:26:18 localhost kernel[0]: ath_dev_attach[3673]: unable to attach hardware; HAL status 13Feb  7 13:26:18 localhost kernel[0]: ath_attach[3886] : ath_dev_attach Failed Feb  7 13:26:18 localhost kernel[0]: start [/SourceCache/AirPortDriverAtheros9380/AirPortDriverAtheros9380-421.9.5/src/common/lmac/ath_dev/darwin/AtherosController.cpp:1189] load failedFeb  7 13:26:18 localhost kernel[0]: ath_dev_attach[3182]: unable to attach hardware; HAL status 13Feb  7 13:26:18 localhost kernel[0]: ath_attach[3625] : ath_dev_attach Failed Feb  7 13:26:18 localhost kernel[0]: start [/SourceCache/AirPortDriverAtheros5424/AirPortDriverAtheros5424-421.19.8/src/common/lmac/ath_dev/darwin/AtherosController.cpp:1159] load failed

...04:00.0 Network controller [0280]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)	Subsystem: Apple Computer Inc. Unknown device [106b:0086]	Flags: bus master, fast devsel, latency 0, IRQ 18	Memory at fdef0000 (64-bit, non-prefetchable)	Capabilities: [40] Power Management version 2	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-	Capabilities: [60] Express Legacy Endpoint, MSI 00	Capabilities: [90] MSI-X: Enable- Mask- TabSize=1	Capabilities: [100] #168c	Capabilities: [001] #1c16	Capabilities: [470] #4a	Capabilities: [101] #1c16	Capabilities: [470] <chain looped>...

:)


I have exactly the same problem: AR5BXB63 card "g only" which can't be recognized when rebranded as Subsystem: Apple Computer Inc. Unknown device [106b:0086] or Subsystem: Apple Computer Inc. Unknown device [106b:004e]

Always fails with:

Feb 7 13:26:18 localhost kernel[0]: ath_dev_attach[3182]: unable to attach hardware; HAL status 13
Feb 7 13:26:18 localhost kernel[0]: ath_attach[3625] : ath_dev_attach Failed

Any chance to get it working by correct rebranding?

#157
cartri

cartri

    Just a Cone

  • Donators
  • 407 posts
  • Location:Brazil

Still trying to help you: use a atheros card subsystem id (like 106b 0087) or you will have the broadcom drivers loaded


Try 0087
0086 was for Broadcom, should not be used in atheros cards

#158
Godfrd824

Godfrd824

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 8 posts
Well, here's what I get now.

03:00.0 Network controller [0280]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
	Subsystem: Apple Computer Inc. Device [106b:004e]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step

But I've quit on OSX, and I'm going to Linux.

#159
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,508 posts
  • Gender:Male
  • Location:Tampa, Florida
lol @ broadcom 004e.. anyways anyone have an idea yet what is causing some dell laptops to boot atheros pre ar5009 cards ( ar5008 and older) with the error offset_0x100 0xffffffff.

i think i heard once that chameleon 2 rc1 worked with similar issue but issue started at rc2 ?

#160
cartri

cartri

    Just a Cone

  • Donators
  • 407 posts
  • Location:Brazil
did you try 0087 with any results?
Also a dsdt modification with the following code in your slot memory address may help:
Device (RP06)
			{
				Name (_ADR, 0xINSERTYOURPCIPORTFULLADDRESSHERE*****) //see note bellow
				OperationRegion (P6CS, PCI_Config, 0x40, 0xA0) 
				Field (P6CS, AnyAcc, NoLock, WriteAsZeros)
				{
							Offset (0x20), 
							Offset (0x22), 
					PSP6,   1, 
							Offset (0x9C), 
						,   30, 
					HPS6,   1, 
					PMS6,   1
				}

				Device (ARPT)
				{
					Name (_ADR, 0x00)
					Name (_PRW, Package (0x02)
					{
						0x09, 
						0x03
					})
					Name (_SUN, 0x05)
				}
				Method (_PRT, 0, NotSerialized)
				{
						Return (Package (0x04)
						{
							Package (0x04)
							{
								0xFFFF, 
								0x00, 
								0x00, 
								0x11
							}, 

							Package (0x04)
							{
								0xFFFF, 
								0x01, 
								0x00, 
								0x12
							}, 

							Package (0x04)
							{
								0xFFFF, 
								0x02, 
								0x00, 
								0x13
							}, 

							Package (0x04)
							{
								0xFFFF, 
								0x03, 
								0x00, 
								0x10
							}
						})
					}
				}
***** The "root port" (RP) in use should correspond to the address of your board. for instance if you have it showing in ioregisterexplorer as 1C,3 then you should do try it as 0x001C0003 (this would be under the PEX hub @ 1C)
If you have it under the PCI hub (1E) at, for instance line 4 (1E,4) then you should use 0x001E0004 and so on...

This is, of course, based on ICH10 standard memory addresses

if the above code does not work or hook your system somehow, you can also try to remove the operational region

OperationRegion (P6CS, PCI_Config, 0x40, 0xA0)
Field (P6CS, AnyAcc, NoLock, WriteAsZeros)
{
Offset (0x20),
Offset (0x22),
PSP6, 1,
Offset (0x9C),
, 30,
HPS6, 1,
PMS6, 1
}

and use only the rest of the code.

Note that this is no pdf based DSDT injection, and is used on apple desktops ("workstations"/MacPros) to insert these bits on their machine.
It is highly recommended to plug your card at pci-e last line (001C0005) (1C,5) when using this.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy