Jump to content

Rebranding Atheros AR5006EG to a Vanilla Card


iHack13
 Share

222 posts in this topic

Recommended Posts

Even if we successfully rebrand AR5007EG (AR2425 chips), I don't think it will going to work in OSX. On linux, this card require new driver (with new HAL) to get it working. With current madwifi driver (new driver still in snapshot) same error message, "HAL status 13", appeared.

 

Is it possible if we try to modify HAL in OSX?

Link to comment
Share on other sites

  • 2 months later...
Even if we successfully rebrand AR5007EG (AR2425 chips), I don't think it will going to work in OSX. On linux, this card require new driver (with new HAL) to get it working. With current madwifi driver (new driver still in snapshot) same error message, "HAL status 13", appeared.

 

Is it possible if we try to modify HAL in OSX?

 

for example, at this command

ath_info -g 3:0 -w 0x<memory_loc> <2nd_subdev_loc> <004e or 0086>

change for

ath_info -g 1:0 -w 0x<memory_loc> <2nd_subdev_loc> <004e or 0086>

Link to comment
Share on other sites

I've my card working in OS X using modded drivers by me it works most of the time, the card shows as AR5007EG in Windows but when I ran "lspci" it shows as AR5006EG (and Airport Extreme in System Info). So here are a few questions, mostly for the OP or someone with enough knowledge regarding this:

 

1 - Can the card be sucessfully rebranded so it can be detected as Airport ?

2 - Would it work in Windows after being rebranded?

3 - If its succesfully rebranded, would that worsen its performance?

 

Thanks in advance.

 

chuckcalo.-

Link to comment
Share on other sites

Hello Guys,

 

I have been read many topics about this subject, was a hard work, but i did do my wireless work at mac os leo 10.5.2 ;) . It is not perfect yet :P:( , but work. In while dont work, so i restart my laptop and work again.

 

I did that steps that iHack13 posted. My wireless is AR5006EG 802.11 b/g Wireless PCI Express Adapter, the difference was:

 

Capabilities

 

802.11a suport: No Turbo A.......: Yes

802.11b suport: No Turbo B.......: Yes

802.11g suport: Yes 2gh.............: Yes

32..................: No 5ghz............: Yes

 

But I used the sames values. 004e.

 

Initialy, dont work, so search anwsers at google, i found www.softpedia.com and downloaded OWC_Wireless_Setup_v3_3t.sit and installed it. When i tested KisMAC, found my wifi. Great....

 

Thx for all... i am still looking for sollutions...

Link to comment
Share on other sites

I've my card working in OS X using modded drivers by me it works most of the time, the card shows as AR5007EG in Windows but when I ran "lspci" it shows as AR5006EG (and Airport Extreme in System Info). So here are a few questions, mostly for the OP or someone with enough knowledge regarding this:

 

1 - Can the card be sucessfully rebranded so it can be detected as Airport ?

2 - Would it work in Windows after being rebranded?

3 - If its succesfully rebranded, would that worsen its performance?

 

Thanks in advance.

 

chuckcalo.-

 

Hi,

Is it possible for me to get a copy of your modded drivers? If you don't mind I want to have the copy of the source code too? :) I can answer your question but since I brick my wireless card when attempting to rebrand it, so I can be considered as less "enough" knowledge on this particular subject. :) But, if I may, the answer will be Yes for question #1 & #2 and No for #3, only if you absolutely know technically about your card & absolutely understand the process.

 

kizwan

Link to comment
Share on other sites

  • 4 weeks later...
Hey kizwan,

 

If you still have that bricked card, I may be able to help you get it fixed.. PM me here, we'll try a few things.. If it works, we'll update the thread.. :)

 

Hi EqUaTe,

 

That great. :) I still have my bricked card. Let me know what I need to do. :)

 

kizwan

Link to comment
Share on other sites

  • 2 weeks later...

I'm trying to get the eeprom down to the right bytes

 

sbdv:0006,0045

sbvn:0007:0044

classid:003f

 

 

EEPROM dump (4096 byte)

==============================================

0001: 0000 0020 0001 0000 5001 0000 <sbdv> <sbvn>

0009: 1c0a 0100 0000 01c2 0002 c606 0001 0000

0011: 0000 0000 0000 0000 0000 0000 0000 0000

0019: 0000 0000 0000 0000 09de 3ab9 001f 0000

0021: 0000 0000 0000 0000 0000 0000 0000 0000

0029: 0000 0000 0000 0000 0000 0000 0000 0000

0031: 0000 0000 0000 0000 0000 0000 0000 0000

0039: 0000 0000 0000 0000 0000 0000 0000 101a

0041: 050a 0000 1400 168c 001c 1402 0001 <class id>

0049: 140a 5001 0000 140b <sbv> <sbdv> 140f 0100

0051: 1c0a 1410 5001 01c2 1419 0cc0 0504 1005

0059: 0000 0000 101e 0001 0000 101f 000f 0000

0061: 1020 fc00 9248 1020 4924 2492 1020 0039

0069: 2800 1020 0824 5316 1020 0579 f680 1020

0071: efff 001d 1020 be40 1aaa 1020 5554 be10

0079: 1020 3007 000e 1021 0000 0000 ffff ffff

0081: ffff ffff ffff ffff ffff ffff ffff ffff

0089: ffff ffff ffff ffff ffff ffff ffff ffff

0091: ffff ffff ffff ffff ffff ffff ffff ffff

0099: ffff ffff ffff ffff ffff ffff ffff ffff

00a1: ffff ffff ffff ffff ffff ffff ffff ffff

00a9: ffff ffff ffff ffff ffff ffff ffff ffff

00b1: ffff ffff ffff ffff ffff ffff ffff ffff

00b9: ffff ffff ffff ffff ffff ffff 0065 70f9

00c1: 5003 da6c 0000 b1b8 016e 00ff a4ff 15a3

00c9: 0005 0400 0000 0000 0000 0000 0000 0000

00d1: 0000 0000 0000 2d2c 0000 0000 0000 0000

00d9: e028 a492 1c00 000e b8ca 0013 0000 08f8

00e1: 6b4b c059 0971 0000 0000 0000 0000 0000

00e9: 0000 0000 0000 0000 0000 0000 0000 0000

00f1: 0000 2d2c 0000 0000 0000 0000 e022 1c00

00f9: 000e b8ff 0013 001b 0000 ff70 10ff 0000

0101: 0000 0000 0000 0000 0000 0000 0000 0000

0109: 0000 0000 0000 0000 2864 00a1 8400 018a

0111: 2000 da44 001c 000e b0ff 2015 001b 2828

0119: ff70 1226 01ff 0080 a801 002c 0587 0000

0121: 0000 0000 0000 0000 0000 0000 0000 1112

0129: 4142 3132 0000 0000 0000 0000 0000 0000

0131: 0000 0000 0000 0000 0000 0000 0000 2328

0139: 8000 0000 0000 0000 8000 0000 0000 0000

0141: 0000 0000 0000 0000 0000 0000 0000 0000

0149: 0000 0000 0000 0000 0000 0000 0000 4d31

0151: 7f54 3c93 1205 1931 492d 7f50 3c93 0e01

0159: 192d 8e70 00ac 8140 6a45 aa29 1e06 dd25

0161: 1656 9140 7645 aa69 2e06 1505 2476 9140

0169: 6245 2a49 2e05 54e5 2675 0000 0000 0000

0171: 0000 0000 0000 0000 0000 0000 0000 0000

0179: 0000 0000 0000 0000 0000 7092 4924 b892

0181: 4924 7092 27db 8992 27db ac92 27db 7075

0189: a200 0000 0000 6464 6400 0000 0000 7075

0191: a200 0000 0000 6364 6300 0000 0000 7075

0199: a2ac b800 0000 6262 6262 2400 0000 7075

01a1: a2ac 0000 0000 6465 6524 0000 0000 7075

01a9: ac00 0000 0000 6060 6000 0000 0000 7075

01b1: ac00 0000 0000 6060 6000 0000 0000 0000

01b9: ffff ffff ffff ffff ffff ffff ffff ffff

01c1: ffff ffff ffff ffff ffff ffff ffff ffff

01c9: ffff ffff ffff ffff ffff ffff ffff ffff

01d1: ffff ffff ffff ffff ffff ffff ffff ffff

01d9: ffff ffff ffff ffff ffff ffff ffff ffff

01e1: ffff ffff ffff ffff ffff ffff ffff ffff

01e9: ffff ffff ffff ffff ffff ffff ffff ffff

01f1: ffff ffff ffff ffff ffff ffff ffff ffff

01f9: ffff ffff ffff ffff ffff ffff ffff ffff

0201: ffff ffff ffff ffff ffff ffff ffff ffff

0209: ffff ffff ffff ffff ffff ffff ffff ffff

0211: ffff ffff ffff ffff ffff ffff ffff ffff

0219: ffff ffff ffff ffff ffff ffff ffff ffff

0221: ffff ffff ffff ffff ffff ffff ffff ffff

0229: ffff ffff ffff ffff ffff ffff ffff ffff

0231: ffff ffff ffff ffff ffff ffff ffff ffff

0239: ffff ffff ffff ffff ffff ffff ffff ffff

0241: ffff ffff ffff ffff ffff ffff ffff ffff

0249: ffff ffff ffff ffff ffff ffff ffff ffff

0251: ffff ffff ffff ffff ffff ffff ffff ffff

0259: ffff ffff ffff ffff ffff ffff ffff ffff

0261: ffff ffff ffff ffff ffff ffff ffff ffff

0269: ffff ffff ffff ffff ffff ffff ffff ffff

0271: ffff ffff ffff ffff ffff ffff ffff ffff

0279: ffff ffff ffff ffff ffff ffff ffff ffff

0281: ffff ffff ffff ffff ffff ffff ffff ffff

0289: ffff ffff ffff ffff ffff ffff ffff ffff

0291: ffff ffff ffff ffff ffff ffff ffff ffff

0299: ffff ffff ffff ffff ffff ffff ffff ffff

02a1: ffff ffff ffff ffff ffff ffff ffff ffff

02a9: ffff ffff ffff ffff ffff ffff ffff ffff

02b1: ffff ffff ffff ffff ffff ffff ffff ffff

02b9: ffff ffff ffff ffff ffff ffff ffff ffff

02c1: ffff ffff ffff ffff ffff ffff ffff ffff

02c9: ffff ffff ffff ffff ffff ffff ffff ffff

02d1: ffff ffff ffff ffff ffff ffff ffff ffff

02d9: ffff ffff ffff ffff ffff ffff ffff ffff

02e1: ffff ffff ffff ffff ffff ffff ffff ffff

02e9: ffff ffff ffff ffff ffff ffff ffff ffff

02f1: ffff ffff ffff ffff ffff ffff ffff ffff

02f9: ffff ffff ffff ffff ffff ffff ffff ffff

0301: ffff ffff ffff ffff ffff ffff ffff ffff

0309: ffff ffff ffff ffff ffff ffff ffff ffff

0311: ffff ffff ffff ffff ffff ffff ffff ffff

0319: ffff ffff ffff ffff ffff ffff ffff ffff

0321: ffff ffff ffff ffff ffff ffff ffff ffff

0329: ffff ffff ffff ffff ffff ffff ffff ffff

0331: ffff ffff ffff ffff ffff ffff ffff ffff

0339: ffff ffff ffff ffff ffff ffff ffff ffff

0341: ffff ffff ffff ffff ffff ffff ffff ffff

0349: ffff ffff ffff ffff ffff ffff ffff ffff

0351: ffff ffff ffff ffff ffff ffff ffff ffff

0359: ffff ffff ffff ffff ffff ffff ffff ffff

0361: ffff ffff ffff ffff ffff ffff ffff ffff

0369: ffff ffff ffff ffff ffff ffff ffff ffff

0371: ffff ffff ffff ffff ffff ffff ffff ffff

0379: ffff ffff ffff ffff ffff ffff ffff ffff

0381: ffff ffff ffff ffff ffff ffff ffff ffff

0389: ffff ffff ffff ffff ffff ffff ffff ffff

0391: ffff ffff ffff ffff ffff ffff ffff ffff

0399: ffff ffff ffff ffff ffff ffff ffff ffff

03a1: ffff ffff ffff ffff ffff ffff ffff ffff

03a9: ffff ffff ffff ffff ffff ffff ffff ffff

03b1: ffff ffff ffff ffff ffff ffff ffff ffff

03b9: ffff ffff ffff ffff ffff ffff ffff ffff

03c1: ffff ffff ffff ffff ffff ffff ffff ffff

03c9: ffff ffff ffff ffff ffff ffff ffff ffff

03d1: ffff ffff ffff ffff ffff ffff ffff ffff

03d9: ffff ffff ffff ffff ffff ffff ffff ffff

03e1: ffff ffff ffff ffff ffff ffff ffff ffff

03e9: ffff ffff ffff ffff ffff ffff ffff ffff

03f1: ffff ffff ffff ffff ffff ffff ffff ffff

03f9: ffff ffff ffff ffff ffff ffff ffff a55a

0401: 0000 0020 0001 0000 5001 0000 <sbdv> <sbvn>

0409: 1c0a 0100 0000 01c2 0002 c606 0001 0000

0411: 0000 0000 0000 0000 0000 0000 0000 0000

0419: 0000 0000 0000 0000 09de 3ab9 001f 0000

0421: 0000 0000 0000 0000 0000 0000 0000 0000

0429: 0000 0000 0000 0000 0000 0000 0000 0000

0431: 0000 0000 0000 0000 0000 0000 0000 0000

0439: 0000 0000 0000 0000 0000 0000 0000 101a

0441: 050a 0000 1400 168c 001c 1402 0001 0200

0449: 140a 5001 0000 140b <sbvn> <sbdv> 140f 0100

0451: 1c0a 1410 5001 01c2 1419 0cc0 0504 1005

0459: 0000 0000 101e 0001 0000 101f 000f 0000

0461: 1020 fc00 9248 1020 4924 2492 1020 0039

0469: 2800 1020 0824 5316 1020 0579 f680 1020

0471: efff 001d 1020 be40 1aaa 1020 5554 be10

0479: 1020 3007 000e 1021 0000 0000 ffff ffff

0481: ffff ffff ffff ffff ffff ffff ffff ffff

0489: ffff ffff ffff ffff ffff ffff ffff ffff

0491: ffff ffff ffff ffff ffff ffff ffff ffff

0499: ffff ffff ffff ffff ffff ffff ffff ffff

04a1: ffff ffff ffff ffff ffff ffff ffff ffff

04a9: ffff ffff ffff ffff ffff ffff ffff ffff

04b1: ffff ffff ffff ffff ffff ffff ffff ffff

04b9: ffff ffff ffff ffff ffff ffff 0065 70f9

04c1: 5003 da6c 0000 b1b8 016e 00ff a4ff 15a3

04c9: 0005 0400 0000 0000 0000 0000 0000 0000

04d1: 0000 0000 0000 2d2c 0000 0000 0000 0000

04d9: e028 a492 1c00 000e b8ca 0013 0000 08f8

04e1: 6b4b c059 0971 0000 0000 0000 0000 0000

04e9: 0000 0000 0000 0000 0000 0000 0000 0000

04f1: 0000 2d2c 0000 0000 0000 0000 e022 1c00

04f9: 000e b8ff 0013 001b 0000 ff70 10ff 0000

0501: 0000 0000 0000 0000 0000 0000 0000 0000

0509: 0000 0000 0000 0000 2864 00a1 8400 018a

0511: 2000 da44 001c 000e b0ff 2015 001b 2828

0519: ff70 1226 01ff 0080 a801 002c 0587 0000

0521: 0000 0000 0000 0000 0000 0000 0000 1112

0529: 4142 3132 0000 0000 0000 0000 0000 0000

0531: 0000 0000 0000 0000 0000 0000 0000 2328

0539: 8000 0000 0000 0000 8000 0000 0000 0000

0541: 0000 0000 0000 0000 0000 0000 0000 0000

0549: 0000 0000 0000 0000 0000 0000 0000 4d31

0551: 7f54 3c93 1205 1931 492d 7f50 3c93 0e01

0559: 192d 8e70 00ac 8140 6a45 aa29 1e06 dd25

0561: 1656 9140 7645 aa69 2e06 1505 2476 9140

0569: 6245 2a49 2e05 54e5 2675 0000 0000 0000

0571: 0000 0000 0000 0000 0000 0000 0000 0000

0579: 0000 0000 0000 0000 0000 7092 4924 b892

0581: 4924 7092 27db 8992 27db ac92 27db 7075

0589: a200 0000 0000 6464 6400 0000 0000 7075

0591: a200 0000 0000 6364 6300 0000 0000 7075

0599: a2ac b800 0000 6262 6262 2400 0000 7075

05a1: a2ac 0000 0000 6465 6524 0000 0000 7075

05a9: ac00 0000 0000 6060 6000 0000 0000 7075

05b1: ac00 0000 0000 6060 6000 0000 0000 0000

05b9: ffff ffff ffff ffff ffff ffff ffff ffff

05c1: ffff ffff ffff ffff ffff ffff ffff ffff

05c9: ffff ffff ffff ffff ffff ffff ffff ffff

05d1: ffff ffff ffff ffff ffff ffff ffff ffff

05d9: ffff ffff ffff ffff ffff ffff ffff ffff

05e1: ffff ffff ffff ffff ffff ffff ffff ffff

05e9: ffff ffff ffff ffff ffff ffff ffff ffff

05f1: ffff ffff ffff ffff ffff ffff ffff ffff

05f9: ffff ffff ffff ffff ffff ffff ffff ffff

0601: ffff ffff ffff ffff ffff ffff ffff ffff

0609: ffff ffff ffff ffff ffff ffff ffff ffff

0611: ffff ffff ffff ffff ffff ffff ffff ffff

0619: ffff ffff ffff ffff ffff ffff ffff ffff

0621: ffff ffff ffff ffff ffff ffff ffff ffff

0629: ffff ffff ffff ffff ffff ffff ffff ffff

0631: ffff ffff ffff ffff ffff ffff ffff ffff

0639: ffff ffff ffff ffff ffff ffff ffff ffff

0641: ffff ffff ffff ffff ffff ffff ffff ffff

0649: ffff ffff ffff ffff ffff ffff ffff ffff

0651: ffff ffff ffff ffff ffff ffff ffff ffff

0659: ffff ffff ffff ffff ffff ffff ffff ffff

0661: ffff ffff ffff ffff ffff ffff ffff ffff

0669: ffff ffff ffff ffff ffff ffff ffff ffff

0671: ffff ffff ffff ffff ffff ffff ffff ffff

0679: ffff ffff ffff ffff ffff ffff ffff ffff

0681: ffff ffff ffff ffff ffff ffff ffff ffff

0689: ffff ffff ffff ffff ffff ffff ffff ffff

0691: ffff ffff ffff ffff ffff ffff ffff ffff

0699: ffff ffff ffff ffff ffff ffff ffff ffff

06a1: ffff ffff ffff ffff ffff ffff ffff ffff

06a9: ffff ffff ffff ffff ffff ffff ffff ffff

06b1: ffff ffff ffff ffff ffff ffff ffff ffff

06b9: ffff ffff ffff ffff ffff ffff ffff ffff

06c1: ffff ffff ffff ffff ffff ffff ffff ffff

06c9: ffff ffff ffff ffff ffff ffff ffff ffff

06d1: ffff ffff ffff ffff ffff ffff ffff ffff

06d9: ffff ffff ffff ffff ffff ffff ffff ffff

06e1: ffff ffff ffff ffff ffff ffff ffff ffff

06e9: ffff ffff ffff ffff ffff ffff ffff ffff

06f1: ffff ffff ffff ffff ffff ffff ffff ffff

06f9: ffff ffff ffff ffff ffff ffff ffff ffff

0701: ffff ffff ffff ffff ffff ffff ffff ffff

0709: ffff ffff ffff ffff ffff ffff ffff ffff

0711: ffff ffff ffff ffff ffff ffff ffff ffff

0719: ffff ffff ffff ffff ffff ffff ffff ffff

0721: ffff ffff ffff ffff ffff ffff ffff ffff

0729: ffff ffff ffff ffff ffff ffff ffff ffff

0731: ffff ffff ffff ffff ffff ffff ffff ffff

0739: ffff ffff ffff ffff ffff ffff ffff ffff

0741: ffff ffff ffff ffff ffff ffff ffff ffff

0749: ffff ffff ffff ffff ffff ffff ffff ffff

0751: ffff ffff ffff ffff ffff ffff ffff ffff

0759: ffff ffff ffff ffff ffff ffff ffff ffff

0761: ffff ffff ffff ffff ffff ffff ffff ffff

0769: ffff ffff ffff ffff ffff ffff ffff ffff

0771: ffff ffff ffff ffff ffff ffff ffff ffff

0779: ffff ffff ffff ffff ffff ffff ffff ffff

0781: ffff ffff ffff ffff ffff ffff ffff ffff

0789: ffff ffff ffff ffff ffff ffff ffff ffff

0791: ffff ffff ffff ffff ffff ffff ffff ffff

0799: ffff ffff ffff ffff ffff ffff ffff ffff

07a1: ffff ffff ffff ffff ffff ffff ffff ffff

07a9: ffff ffff ffff ffff ffff ffff ffff ffff

07b1: ffff ffff ffff ffff ffff ffff ffff ffff

07b9: ffff ffff ffff ffff ffff ffff ffff ffff

07c1: ffff ffff ffff ffff ffff ffff ffff ffff

07c9: ffff ffff ffff ffff ffff ffff ffff ffff

07d1: ffff ffff ffff ffff ffff ffff ffff ffff

07d9: ffff ffff ffff ffff ffff ffff ffff ffff

07e1: ffff ffff ffff ffff ffff ffff ffff ffff

07e9: ffff ffff ffff ffff ffff ffff ffff ffff

07f1: ffff ffff ffff ffff ffff ffff ffff ffff

07f9: ffff ffff ffff ffff ffff ffff ffff a55a

==============================================

jonathan@jonathan-laptop:~$

Link to comment
Share on other sites

You don't need to rebrand this card!!! Check out my posts here:

 

http://www.insanelymac.com/forum/index.php?showtopic=156272&st=0&gopid=1101087entry1101087

 

Attention: There is a more or less high possibility to brick your card, in case you don't know what you are doing.

 

Identifying the device: It doesn't mean your card will not be bricked "following another guy's guide" or "using his IDs", although you two have the "same card"... Most people think tools like lspci provide sufficient information, in order to judge whether your card is the same as another guy's card or whether it's an "a/b/g" or "b/g-only" card. An AR5006EG for instance. These cards aren't all the same since their chipsets and subchipsets differ.

 

Possible scenarios are: You don't have the EXACT same card as the guy you got information form (such as ID's and Memory and byte locations => you ignore the previous fact and apply the foreign settings on your card's EEPROM => usually leads to grief , sorrow and suicide

The idea: Replacing the Subsys IDs (Subvendor and Subdevice ID) of your device (e.g. Hp, Gigabyte or "Unknown") with Apple's IDs

Profits: You will end up with a fully functional Apple Airport Extreme Card. No more disconnects and no CRC Errors in your files. Use Apple's kexts nomore modifications. Just fully native a.k.a. Vanilla.

First Step: Install Ubuntu (Hardy Heron) and Subversion

Install this OS. Do not use Live CDs for this guide if you aren't familiar with Linux.

If you need help with installing it without screwing up your Partition Table and Bootloader check this post (GUID).

 

When you are in the OS ensure you are connected to the Internet and launch the terminal.

Type following: (Enter your password if you have one.)

sudo -s
apt-get install subversion

 

Second Step: Install madwifi tools in Ubuntu

 

http://www.stchman.com created a wonderful guide for this. Even a script to get things easier for you. Here are the most important excerpts offering 2 ways to install the madwifi tools

 

A) Easy Way

Get the script created by stchman (attached to this post), copy it to your home directory and run it by typing:

chmod 755 ~/madwifi.sh
sudo ~/madwifi.sh

 

;) Not-so-easy Way

 

Get the source here.

 

Get what is needed to compile the source:

 

sudo apt-get -y install build-essential bin86

Once that is done you will need to do the following:

 

Copy the .tar.gz to the /usr/src/ folder. This command assumes you downloaded the archive to your home folder. replace ~ if your downloaded to a different location.

 

sudo cp ~/madwifi-0.9.3.2.tar.gz /usr/src/

Change to the /usr/src folder.

cd /usr/src

Decompress the tarball.

sudo tar -xzf madwifi-0.9.3.2.tar.gz

Install the sharutils from the package manager.

sudo apt-get -y install sharutils

Change to the folder that the tarball extracted to.

cd /usr/src/madwifi-0.9.3.2

Make the drivers (during this time the procedure may ask you to remove the older drivers, let it do so)

sudo make clean
sudo make
sudo make install

 

Third Step: Install ath_info

To get it type:

svn co http://svn.madwifi.org/ath_info/trunk ath_info

 

Change to the directory:

cd ath_info/

 

And install it:

make
make all

 

Fourth Step: Get essential Information with lspci and ath_info

 

Type following in your terminal and look for your Atheros named device in the list:

sudo lspci -vvnn

 

Here are my definitions which are going to be used until the end of the post

  • <class_id>: should be 0200 by default, meaning Ethernet Controller
  • <vendor_id>: is the first ID in brackets after the name of your device. Should be 168c for Atheros cards (won't be changed)
  • <device_id>: is the ID right after the colon . Should be 001c for AR5006EG-series (won't be changed)
  • <subven_id>: is the first ID on the second line of the device, starting with Subsystem:..
  • <subdev_id>: the second ID on the same line, the one after the colon
  • <memory_loc>: the value in the 7th line which begins with Region 0:.. (8-digit)

Check if your card is b/g or a/b/g by typing following with the correct memory location

ath_info -d 0x<memory_loc>

 

You can find the information somewhere at the beginning of the output. It is supposed to look like this:

 

iof8df.png

 

As you can see, mine is b/g only. This is important to know since Apple doesn't use only one Subdevice ID. So their b/g and a/b/g IDs differ and you will have to replace your old Subdevice ID by the respective one from Apple, which are:

  • 0086 for a/b/g cards
  • 004e for b/g cards

Now scroll down to until you see the EEPROM dump. Copy-Paste it somewhere, so you can restore it easily if you mess up. It's supposed to look like this:

 

3357ebc.png

 

Of course yours will look different. So use Ctrl+F or anything to look for your

  • <class_id>
  • <subdev_id> (2x)
  • <subven_id> (2x)

You are supposed to end up with 5 locations of the IDs. Subdev and Subven ID will each show up twice, so each has 2 different locations. I prepared a legend, so you should easily find out the locations. Look where you found your IDs and write down each location.

 

vrv4td.png

 

So write down your

  • <class_id_loc>: location of your <class_id>
  • <1st_subdev_loc>: a <subdev_id> location
  • <2nd_subdev_loc>: the other <subdev_id> location
  • <1st_subven_loc>: a <subven_id> location
  • <2nd_subven_loc>: the other <subven_id> location

each is 4-digit.

 

Fifth Step: Replacing the Subsystem IDs

Class ID

 

Replace your old Class ID, 200 which stands for Ethernet Controller with the new 280 which stands for Network Controller

ath_info -g 3:0 -w 0x<memory_loc> <class_id_loc> 280

 

Subvendor ID

 

Replace the old Subvendor ID with the one from Apple, which is 106b

ath_info -g 3:0 -w 0x<memory_loc> <1st_subven_loc> 106b
ath_info -g 3:0 -w 0x<memory_loc> <2nd_subven_loc> 106b

 

Subdevice ID

 

Replace the old Subdevice ID with

  • 004e if you have an "b/g" card
  • or 0086 if you have an "a/b/g" card

ath_info -g 3:0 -w 0x<memory_loc> <1st_subdev_loc> <004e or 0086>
ath_info -g 3:0 -w 0x<memory_loc> <2nd_subdev_loc> <004e or 0086>

 

Confirm all operations with 'y' as it will ask you. I used the value 3 for all operations. If it doesnt work for you feel free to try out the digits from 0 to 5.

 

Check your new EEPROM dump and verify the new data

ath_info -d 0x<memory_loc>

 

If everything went flawlessly lspci is to show your card as

  • Network controller [0280]: Atheros Communications, Inc. AR5006EG ...................... [168c:001c] (rev 01)
  • Subsystem: Apple Computer Inc. Device [106b:<004e or 0086>]

At least that's what OS X Terminal shows you, when you are back on OS X. The Ubuntu lspci output gives some less cosmeticly results, like Apple Inc Unknown etc..

 

 

So pls report back about the results.

 

-----

 

You will have to tweak your windows drivers for your card a little to get it working there. It's only replacing some IDs in the .ini file. I will upload my .ini file in future and maybe add the stuff for abg cards too. Mine is recognized as AR5007EG in Vista, tho works flawlessly.

 

Another issue may be your router. Mine doesn't support WPA anymore with the vanilla kexts. This is because my router only supports WPA TKIP and Leopard seems to have issues with TKIP-only routers. So if you have an old router as me, you will have to use WEP or use modded Tiger kexts or get a not-so-outdated router with WPA-AES too.

 

Oh yeah I almost forgot... HP-Bios users ... good luck

Link to comment
Share on other sites

  • 1 month later...
You don't need to rebrand this card!!! Check out my posts here:

 

http://www.insanelymac.com/forum/index.php?showtopic=156272&st=0&gopid=1101087entry1101087

 

 

But you have to use KisMAC to get it running and that sucks big time.

 

I thought by doing this, OSX will see the card natively, so no need for KisMAC

 

Am I worng then?? Still need KisMAC even after rebranding

Link to comment
Share on other sites

But you have to use KisMAC to get it running and that sucks big time.

 

I thought by doing this, OSX will see the card natively, so no need for KisMAC

 

Am I worng then?? Still need KisMAC even after rebranding

 

If you rebrand it successfully, you don't need kismac.

Link to comment
Share on other sites

If you rebrand it successfully, you don't need kismac.

 

 

thanks x10 for the reply kizwan.

 

iam writing this in unbunto, just about to rebrand it. I just cant live wit the flakiness of KisMAC. Got it working, but too unstable.

 

cheers

Link to comment
Share on other sites

I just bought a broadcom 4311, but I am still interested in any info regarding reviving the atheros.

 

It seems to me that the device isn't enumerated any more, so it the config space foo-barred? Is there anyway to write the old dump? is the old <base memory> still valid?

 

BTW does anyone know if samsung NC10's bios has any black/white list?

Link to comment
Share on other sites

A quick update for any that are interested.

 

Success! Working on EEEPC1000H.

 

Because the 1000H doesn't have a DVD I havent to go around the houses a little to get Ubuntu loaded.

 

A few other changes

 

"Third Step: Install ath_info

 

To get it type:

svn co http://svn.madwifi.org/ath_info/trunk ath_info"

change to

svn co http://svn.madwifi-project.org/ath_info/trunk ath_info

 

------------------------

 

Change to the directory:

cd ath_info/

 

And install it:

make

make all

 

And install it:

make install

 

----------------------

EEPROM showed support for only 802.11g so I used

004e for b/g cards

 

and it worked.

 

Rebooted into XP and it found AR5000X and installed drivers.

I also went into device manger and did the show all devices reg hack and removed all WiFi adaptors and then rescanned for new, and XP picked it up again.

 

OSX terminal > lspci -vvnn

returns...

 

01:00.0 Network controller [0280]: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)

Subsystem: Apple Computer Inc. Unknown device [106b:004e]

 

 

Im now reinstalling leo 10.5..5 to clean the ktexts out.

 

 

Will update when completely finished.

 

Thanks to iHack and kizwan

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Please keep us informed about sucesses, anyone has really get rid of kismac after doing this? If it works why people who pick original Atheros Airports 001c and plug on theyr laptops cant boot either?

Link to comment
Share on other sites

Please keep us informed about sucesses, anyone has really get rid of kismac after doing this? If it works why people who pick original Atheros Airports 001c and plug on theyr laptops cant boot either?

There are a couple of factor why even the original apple airport (wireless card) not working when put in hack. The differences of BIOS & chipset that control pci bridges need to take into account why it not working. There also a lot of people manage to get original apple airport working in their hack without any modification.

Link to comment
Share on other sites

I'm completely bemused, I have done all steps listed here and my eeprom dump shows all the correct changes, however lspci still shows the original info about my card.

 

I am using a samsung nc10 with an atheros AR5007EG card. I guess I'll reinstall OS X and see if all is well.

 

EDIT: I just remembered that when I boot into windows all IDs are shown as original unmodified IDs, can anyone explain why my eeprom dump shows the changes even after several reboots but lspci and windows show the original IDs. I would greatly appreciate any and all answers.

 

EDIT 2: Now I'm really confused, after several more reboots my card has changed in windows to an AR5006x and all IDs are now showing as modified. Now if only I could get a OS X installed again.

Link to comment
Share on other sites

Ok folks, I now have OS X reinstalled on a spare drive, it's the JaS NC10 OSX86 DVD and obviously I am using a Samsung NC10. Now I managed to boot once with my newly modified card, the first time I got a panic, and now every boot results in a panic. The attatched screenshot shows my dilema, I would greatly appreciate any help you guys might be able to give.

 

Thanks in advance

 

P.S. I have tried booting with -x flag but I get the same error.

post-202584-1242182851_thumb.jpg

Link to comment
Share on other sites

Ok I now am able to boot correctly with 10.5.7 update, ethernet is now working thanks to the kext in 10.5.7.

 

My problem now is that in networkprefs plist I have my ethernet as en0 and airport as en1, however in system profiler it shows them the other way around, I have heard that having airport as en1 is sometimes the key to success. My card shows up but cannot find any networks. do you think that it would work if I could get the airport to be en1?

 

EDIT: So i managed to get the airport as en1 and ethernet as en0 but it still just endlessly scans and finds nothing, guess its time to buy a dell 1390 card.

Link to comment
Share on other sites

[FIXED] error: im not able to write to the device.

 

ive booted a livecd, backtrack3 wich has already the ath_pci module and also ath_info installed.

 

so now im tryin to write my ids to the card, and no way.

 

anyone knows any clue to fix this:

 

ath_info -f -g 3:0 -w 0xdfc00000 0085 280 (note the -f to force and not need of type yes)

<lot of code>
#ERR do_write_pairs: offset 0x0085: wrote 0x0280 but read 0x0200

bt ~ #

 

FIXED:

use instead of -g 3:0 ->>> -g 1:0

this changes the priority and for me works great.

Link to comment
Share on other sites

 Share

×
×
  • Create New...