Jump to content

Rebranding Atheros AR5006EG to a Vanilla Card


iHack13
 Share

222 posts in this topic

Recommended Posts

hello,

 

here is another strange thing. After I have bricked my Gigabyte Clone of AR5BXB6 I have baught a brand new original AR5BxB6 over e-bay, an original Airport-Card. I have replaced the gigabyte with the new one. startet Windows. All work perfect card was recognized as AR5BxB6 Atheros AR5006EXS. Wonderful!

Now I have reinstalled the OSX 10.5.6 with the Samsung NC10 Distro. After that there is no WIfI in OSX. sys.log shows me message "bla-bla-bla/Airport/ loaded unsuccessfully". grrrrrrrrrr..... I have tried to load the kext manually. but no luck. Can anybody told me where is the problem? all other Hardware in my Fujitsu Siemens Esprimo Mobile U9200 works perfekt... but without WLAN this is {censored} ;)

 

 

szifu

Link to comment
Share on other sites

I'm having a little problem with my card (168c:001c:1a32:0100):

 

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

Subsystem: Device [1a32:0100]

 

Above the original lspci output, as you can see my subdev_id is 0100, which is found 4 times in my eeprom dump. If I change all 4 to 004e my card doesn't work anymore. There are simply too many combinations to try here. Can anyone please give me some guidance which ones I need to change? Below is my original dump.

 

0000:  a55a 0000 0040 0001 0000 5001 0000 0100
0008:  1a32 1c0a 0100 0000 01c2 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 d0c4 c417 0017
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 0200 140a 5001
0088:  0000 140b 1a32 0100 140f 0100 1c0a 1410
0090:  5001 01c2 ffff ffff ffff ffff ffff ffff
0098:  ffff ffff ffff ffff ffff ffff ffff ffff
00a0:  ffff ffff ffff ffff ffff 1700 17c4 c4d0
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 0008
00c0:  6a7b 5003 da6e 0404 81dc 0182 02ff 30ff
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 01b3 0000
00e0:  08f8 6b4b c059 0d71 0000 0000 0000 0000
00e8:  0000 0000 0000 0000 0000 0000 0000 0000
00f0:  0000 0000 2870 03a9 a618 4daa a8a2 da55
00f8:  021c 0007 b0ff 01b5 002d 0000 ff70 14ff

Link to comment
Share on other sites

I'm having a little problem with my card (168c:001c:1a32:0100):

 

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

Subsystem: Device [1a32:0100]

 

Above the original lspci output, as you can see my subdev_id is 0100, which is found 4 times in my eeprom dump. If I change all 4 to 004e my card doesn't work anymore. There are simply too many combinations to try here. Can anyone please give me some guidance which ones I need to change? Below is my original dump.

 

0000:  a55a 0000 0040 0001 0000 5001 0000 0100
0008:  1a32 1c0a 0100 0000 01c2 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 d0c4 c417 0017
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 0200 140a 5001
0088:  0000 140b 1a32 0100 140f 0100 1c0a 1410
0090:  5001 01c2 ffff ffff ffff ffff ffff ffff
0098:  ffff ffff ffff ffff ffff ffff ffff ffff
00a0:  ffff ffff ffff ffff ffff 1700 17c4 c4d0
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 0008
00c0:  6a7b 5003 da6e 0404 81dc 0182 02ff 30ff
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 01b3 0000
00e0:  08f8 6b4b c059 0d71 0000 0000 0000 0000
00e8:  0000 0000 0000 0000 0000 0000 0000 0000
00f0:  0000 0000 2870 03a9 a618 4daa a8a2 da55
00f8:  021c 0007 b0ff 01b5 002d 0000 ff70 14ff

 

hey dutchcow,

 

I can only see two points where You have to change the subsystem ID. Please read my posts above to be aware, making the same nonsense like me.

I think you have wrote to the wrong registers. If You can find your card in lspci anyway You can try to flash back the original values. My card is not anymore showing there! So I can't repair them. My card is bricked!. After this odyssey I have bought an original Apple Airport Card. but it will only function perfect under Windows :( May be I have the same problem like gigzbyte with ACPIPCI kext. I will try this out next time.

If anybody has an Idea how to reanimate my bricked Gigabyte card then please wrote here or to me :) .

 

thx

Link to comment
Share on other sites

  • 3 weeks later...

Hi all, I've got a NC10, i've done exactly the phases on the 1 post, but it doesn't function. Now i have to restore my atheros, but on the command ath_info -d f0100000

said:

 sleep_ctl reg ffffffff   reset_ctl reg ffffffff
waking up the chip
removing resets
MAC revision 0xffff is not supported!

 

i can't access to the eeprom. Any ideas ? i've seen a ath_eeprom-dump.bin: is that the old eeprom? can copy that on the actual eeprom?

HELP! :)

thnx

Link to comment
Share on other sites

is this method only for the above mentioned card? is it possible to apply it to other similar cards? e.g. the AR9285 and the AR9280. the latter is natively supported and the former is not. anyone tried this method for other cards?

Link to comment
Share on other sites

@serkan. I think this is not for the ath 9k cards. maybe that the method can do this, but you need the correct values and adresses for this card to function correct. I have also read that this card should natively run.

 

@all I have another strange effect I have an FuSi Esprimo Mobile U9200. the original 5007eg will not go. no way!

I have bought an Gigabyte Card compatible with the AR5BxB6 but i can't activate them. ( Windows no probs!) I think now this card must go without modification. but i have tryed to patch them to orig. Mac ID and bricked them.. dammned...

Now I have baught an orig. Airport Card AR5BxB6 ( This is the only Card that will be mechanical fit in the case!!! only single sided PCIe Cards will fit in the slot!!!) but with installation iPC or iDeneb or Yas or ... it don't work ( bla bla bla loaded unsuccesfully, please read my older posts here.) The same error with the GIGABYTE Card. This is why I think the GIGABYTE Card must work!

 

Here it comes. for some days I have tried to install Snow Leopard ( without success... this is'nt the point) the installer has changed chameleon to V2 RC2 and tadaaaaaaa now the card works perfect!!

 

How can it be? I have changed back to older Chameleon but the Card works... after 4 days. im must change back to Win for something. after change back to OSX The Card don't work. ( what the f***)

tried all I know also with setpci subordinate... or command=0x43... all the {censored} has no effect! the Card don't work. ( but perfect in Win!!!)

After this I have tried to change Chameleon to RC2 from the snow installer.... and ???????????????

THE CARD WORKS!!!!

 

can anyone tell me what is the new chameleon do with my PCIe Bus that this will be fine?????

 

PS I have seen another strange effect with new chameleon ( This is why I have moved back to older)

the RC2 has made modifications in my BIOS Setup!!! it activates the BIOS Boot Image and I think anythink else!!! but don't know what it does with my BIOS! Any Ideas?

 

PPS: @0Pipe may be Your problem will nearly the same as mine. You can try the setpci command like written in the man page from ath_info without that ath_info can't access the card! this must be done after reset or after Power off! This is Board specific...

Link to comment
Share on other sites

  • 1 month later...

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

 

:P 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

  • 3 weeks later...
anyone tried and succeeded in this? :)

 

I Tried, and the card were rebranded successfully, but now I get a kernel panic at boot complaining about com.apple.AirPortbrcm43xx something.

Don't know why the card is detected as broadcom..

But I noticed that the Info.plist in brcm43xx containing 106b,e4 which I find pretty irritating. (Because my card is a AR5006EG rebranded with these instructions to exactly that 106b,e4)

 

I'll update when I get this to work. Though I'm gonna change distro and reinstall. (Because even with a fresh install I can't boot with -s or -x) (But then i have to reinstall ubuntu again aswell :D )

 

Any pointers / tips would be highly apperciated :)

 

Which distros would you guys recommend?

(Running iPC 10.5.6 at the moment)

 

/opius

Link to comment
Share on other sites

  • 1 month later...

Please, does anyone have any info on how to recover bricked cards after unsucessfull mod?

My 5007 from Acer 5610z just died after i used the killswitch, and never turned on again!

it isnt listed in windows, nor linux (ubuntu 9,1) nor mac os... its juts like the device were not connected???

 

There is somehow to force activate it so i could try to reedit it??

Link to comment
Share on other sites

Please, does anyone have any info on how to recover bricked cards after unsucessfull mod?

My 5007 from Acer 5610z just died after i used the killswitch, and never turned on again!

it isnt listed in windows, nor linux (ubuntu 9,1) nor mac os... its juts like the device were not connected???

 

There is somehow to force activate it so i could try to reedit it??

You need ROM programming hardware to recover your bricked card. You also need the original copy of the eeprom to enable you to restore your card to working condition. You can find/ask ROM programming tools at DIY or electronic store.

 

kizwan

Link to comment
Share on other sites

  • 3 weeks later...

for me not working totally

 

My laptop is thinkpad x200s with wireless card atheros MODEL:AR5BHB63

Vender id:168c

Dev id:001c

Sub Vender:168c

Sec Dev id:0035

 

I followed the guid and successfully rebrand my wireless card.

 

I tried both 106b:0086 and 106b:004e not working totally

 

syslog display cant attach to hardware HAL . failed something

 

Now i rebrand to my original brand trying to find anthoer solution :wacko:;)

Link to comment
Share on other sites

  • 2 weeks later...

Hello, I too have an Atheros-based wireless which works in osx but after a reboot stops working(kismac doesn't find any networks while scanning anymore). So, I decided to take the plunge and rebrand my card. My card is an AR5007EG, more specifically AR5BXB63. However, as soon as I began this, I've stumbled across some problems. These would be: My card is 802.11 G ONLY so I'm stuck here

/============== 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  |					   |
\===============================================/

Secondly, I'm confused on which values to replace in the ROM:

EEPROM dump (512 bytes)
==============================================
0000:  a55a 0000 0040 0001 0000 5001 0000 7128
0008:  144f 1c0a 0100 0000 0002 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 7a68 63e7 0021
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 0200 140a 5001
0088:  0000 140b 144f 7128 140f 0100 1c0a 1410
0090:  5001 01c2 101a 050a 0000 1419 0cc0 0504
0098:  141b 3811 0003 1005 0000 0000 101e 0001
00a0:  0000 101f 000f 0000 ffff ffff ffff ffff
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:  3145 5003 ea6c 0401 b1b8 016e 00ff c4ff
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 0d71 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
==============================================
STA_ID0: 00:21:63:e7:7a:68
STA_ID1: 0x1000687a, AP: 0, IBSS: 0, KeyCache Disable: 0
TIMER0: 0x00000030, TBTT:	48, TU: 0x1fcf0030
TIMER1: 0x0007ffff, DMAb: 65535, TU: 0x1fceffff (-49)
TIMER2: 0x01ffffff, SWBA: 65535, TU: 0x1fffffff (+3211215)
TIMER3: 0x00000031, ATIM:	49, TU: 0x1fcf0031 (+1)
TSF: 0x0000007f3b8d8e09, TSFTU: 58211, TU: 0x1fcee363
BEACON: 0x00000000
LAST_TSTP: 0x3b8d30d4

I am also providing the full terminal output from ath_info. I absolutely need to know if a rebranding would be feasible with this card.

Greetz, Mikhail.

athinfo.txt

Link to comment
Share on other sites

Hello, I too have an Atheros-based wireless which works in osx but after a reboot stops working(kismac doesn't find any networks while scanning anymore). So, I decided to take the plunge and rebrand my card. My card is an AR5007EG, more specifically AR5BXB63. However, as soon as I began this, I've stumbled across some problems. These would be: My card is 802.11 G ONLY so I'm stuck here

/============== 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  |					   |
\===============================================/

Secondly, I'm confused on which values to replace in the ROM:

EEPROM dump (512 bytes)
==============================================
0000:  a55a 0000 0040 0001 0000 5001 0000 7128
0008:  144f 1c0a 0100 0000 0002 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 7a68 63e7 0021
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 0200 140a 5001
0088:  0000 140b 144f 7128 140f 0100 1c0a 1410
0090:  5001 01c2 101a 050a 0000 1419 0cc0 0504
0098:  141b 3811 0003 1005 0000 0000 101e 0001
00a0:  0000 101f 000f 0000 ffff ffff ffff ffff
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:  3145 5003 ea6c 0401 b1b8 016e 00ff c4ff
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 0d71 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
==============================================
STA_ID0: 00:21:63:e7:7a:68
STA_ID1: 0x1000687a, AP: 0, IBSS: 0, KeyCache Disable: 0
TIMER0: 0x00000030, TBTT:	48, TU: 0x1fcf0030
TIMER1: 0x0007ffff, DMAb: 65535, TU: 0x1fceffff (-49)
TIMER2: 0x01ffffff, SWBA: 65535, TU: 0x1fffffff (+3211215)
TIMER3: 0x00000031, ATIM:	49, TU: 0x1fcf0031 (+1)
TSF: 0x0000007f3b8d8e09, TSFTU: 58211, TU: 0x1fcee363
BEACON: 0x00000000
LAST_TSTP: 0x3b8d30d4

I am also providing the full terminal output from ath_info. I absolutely need to know if a rebranding would be feasible with this card.Thanks, Mikhail.

 

Hi guys, I have a question, i know i'm boring you guys, but, I really need some help!

I got an Atheros 5007 card, it works, but I need to use kismac, and reboot reboot, and reboot to make it work.

Could this tutorial make it work in OS X without using the KisMac or needing to reboot to make it work?

 

Thanks

Link to comment
Share on other sites

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_info
root@sysyphus:/media/usb_stick/ath_info# cd ath_info/
root@sysyphus:/media/usb_stick/ath_info# make
root@sysyphus:/media/usb_stick/ath_info# chmod 755 auth_info
root@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 $athmem
sleep_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 0x00000003

EEPROM dump (512 bytes)
==============================================
0000:  a55a 0000 0020 0001 0000 5001 0000 7131
0008:  144f 1c0a 0100 0000 0002 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 3b2a d2a1 0024
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:  1400 168c 001c 1402 0001 0200 140a 5001
0048:  0000 140b 144f 7131 140f 0100 1c0a 1410
0050:  5001 01c2 101a 050a 0000 1419 0cc0 0504
0058:  1005 0000 0000 101e 0001 0000 101f 000f
0060:  0000 1020 fc00 9248 1020 4924 2492 1020
0068:  0039 2800 1020 0824 5316 1020 0579 f680
0070:  1020 efff 001d 1020 be40 1aaa 1020 5554
0078:  be10 1020 3007 000e 1021 0000 0000 ffff
0080:  ffff ffff ffff ffff ffff ffff ffff ffff
0088:  ffff ffff ffff ffff ffff ffff ffff ffff
0090:  ffff ffff ffff ffff ffff ffff ffff ffff
0098:  ffff ffff ffff ffff ffff ffff ffff ffff
00a0:  ffff ffff ffff ffff ffff ffff ffff ffff
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:  3709 5003 ea6c 0401 b1b8 016e 00ff c4ff
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 0d71 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
==============================================
STA_ID0: 00:24:d2:a1:3b:2a
STA_ID1: 0x10002a3b, AP: 0, IBSS: 0, KeyCache Disable: 0
TIMER0: 0x00000030, TBTT:    48, TU: 0xc4c80030
TIMER1: 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: 0xc4c703bf
BEACON: 0x00000000
LAST_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 0280
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0008 106b
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004a 106b
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0007 004e
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004b 004e
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -d $athmem
.....
EEPROM dump (512 bytes)
==============================================
0000:  a55a 0000 0020 0001 0000 5001 0000 [b]004e[/b]
0008:  [b]106b[/b] 1c0a 0100 0000 0002 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 3b2a d2a1 0024
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:  1400 168c 001c 1402 0001 [b]0280[/b] 140a 5001
0048:  0000 140b [b]106b 004e[/b] 140f 0100 1c0a 1410
0050:  5001 01c2 101a 050a 0000 1419 0cc0 0504
0058:  1005 0000 0000 101e 0001 0000 101f 000f
0060:  0000 1020 fc00 9248 1020 4924 2492 1020
0068:  0039 2800 1020 0824 5316 1020 0579 f680
0070:  1020 efff 001d 1020 be40 1aaa 1020 5554
0078:  be10 1020 3007 000e 1021 0000 0000 ffff
0080:  ffff ffff ffff ffff ffff ffff ffff ffff
0088:  ffff ffff ffff ffff ffff ffff ffff ffff
0090:  ffff ffff ffff ffff ffff ffff ffff ffff
0098:  ffff ffff ffff ffff ffff ffff ffff ffff
00a0:  ffff ffff ffff ffff ffff ffff ffff ffff
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:  3709 5003 ea6c 0401 b1b8 016e 00ff c4ff
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 0d71 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
==============================================
....

 

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 0280
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0008 106b
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004a 106b
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0007 0086
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004b 0086
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -d $athmem
.....
EEPROM dump (512 bytes)
==============================================
0000:  a55a 0000 0020 0001 0000 5001 0000 [b]0086[/b]
0008:  [b]106b[/b] 1c0a 0100 0000 0002 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 3b2a d2a1 0024
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:  1400 168c 001c 1402 0001 [b]0280[/b] 140a 5001
0048:  0000 140b [b]106b 0086[/b] 140f 0100 1c0a 1410
0050:  5001 01c2 101a 050a 0000 1419 0cc0 0504
0058:  1005 0000 0000 101e 0001 0000 101f 000f
0060:  0000 1020 fc00 9248 1020 4924 2492 1020
0068:  0039 2800 1020 0824 5316 1020 0579 f680
0070:  1020 efff 001d 1020 be40 1aaa 1020 5554
0078:  be10 1020 3007 000e 1021 0000 0000 ffff
0080:  ffff ffff ffff ffff ffff ffff ffff ffff
0088:  ffff ffff ffff ffff ffff ffff ffff ffff
0090:  ffff ffff ffff ffff ffff ffff ffff ffff
0098:  ffff ffff ffff ffff ffff ffff ffff ffff
00a0:  ffff ffff ffff ffff ffff ffff ffff ffff
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:  3709 5003 ea6c 0401 b1b8 016e 00ff c4ff
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 0d71 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
==============================================
....

 

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 13
Feb  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

Feb  7 13:26:18 localhost kernel[0]: ath_dev_attach[3673]: unable to attach hardware; HAL status 13
Feb  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 failed

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 
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>
...

 

:)

Link to comment
Share on other sites

name='Sysyphus' date='Feb 7 2010, 06:33 PM' post='1405455'

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 http://madwifi-project.org/svn/ath_info/trunk ath_info

root@sysyphus:/media/usb_stick/ath_info# cd ath_info/

root@sysyphus:/media/usb_stick/ath_info# make

root@sysyphus:/media/usb_stick/ath_info# chmod 755 auth_info

root@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)

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

Samsung NC-10 has atheros 5007 too, but is incorrectly reported by linux as a 5001. I know this because I had the same output from lspci(check my attachement from my previous post) but the card is not recognized as an 5007. As for atheros 5001x, there is a driver available. Dev ID's for 5001 are 168,13 while generic 5006/5007 have 168,1c

AR5001X.kext.zip

Link to comment
Share on other sites

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_info
root@sysyphus:/media/usb_stick/ath_info# cd ath_info/
root@sysyphus:/media/usb_stick/ath_info# make
root@sysyphus:/media/usb_stick/ath_info# chmod 755 auth_info
root@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 $athmem
sleep_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 0x00000003

EEPROM dump (512 bytes)
==============================================
0000:  a55a 0000 0020 0001 0000 5001 0000 7131
0008:  144f 1c0a 0100 0000 0002 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 3b2a d2a1 0024
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:  1400 168c 001c 1402 0001 0200 140a 5001
0048:  0000 140b 144f 7131 140f 0100 1c0a 1410
0050:  5001 01c2 101a 050a 0000 1419 0cc0 0504
0058:  1005 0000 0000 101e 0001 0000 101f 000f
0060:  0000 1020 fc00 9248 1020 4924 2492 1020
0068:  0039 2800 1020 0824 5316 1020 0579 f680
0070:  1020 efff 001d 1020 be40 1aaa 1020 5554
0078:  be10 1020 3007 000e 1021 0000 0000 ffff
0080:  ffff ffff ffff ffff ffff ffff ffff ffff
0088:  ffff ffff ffff ffff ffff ffff ffff ffff
0090:  ffff ffff ffff ffff ffff ffff ffff ffff
0098:  ffff ffff ffff ffff ffff ffff ffff ffff
00a0:  ffff ffff ffff ffff ffff ffff ffff ffff
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:  3709 5003 ea6c 0401 b1b8 016e 00ff c4ff
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 0d71 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
==============================================
STA_ID0: 00:24:d2:a1:3b:2a
STA_ID1: 0x10002a3b, AP: 0, IBSS: 0, KeyCache Disable: 0
TIMER0: 0x00000030, TBTT:    48, TU: 0xc4c80030
TIMER1: 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: 0xc4c703bf
BEACON: 0x00000000
LAST_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 0280
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0008 106b
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004a 106b
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0007 004e
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004b 004e
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -d $athmem
.....
EEPROM dump (512 bytes)
==============================================
0000:  a55a 0000 0020 0001 0000 5001 0000 [b]004e[/b]
0008:  [b]106b[/b] 1c0a 0100 0000 0002 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 3b2a d2a1 0024
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:  1400 168c 001c 1402 0001 [b]0280[/b] 140a 5001
0048:  0000 140b [b]106b 004e[/b] 140f 0100 1c0a 1410
0050:  5001 01c2 101a 050a 0000 1419 0cc0 0504
0058:  1005 0000 0000 101e 0001 0000 101f 000f
0060:  0000 1020 fc00 9248 1020 4924 2492 1020
0068:  0039 2800 1020 0824 5316 1020 0579 f680
0070:  1020 efff 001d 1020 be40 1aaa 1020 5554
0078:  be10 1020 3007 000e 1021 0000 0000 ffff
0080:  ffff ffff ffff ffff ffff ffff ffff ffff
0088:  ffff ffff ffff ffff ffff ffff ffff ffff
0090:  ffff ffff ffff ffff ffff ffff ffff ffff
0098:  ffff ffff ffff ffff ffff ffff ffff ffff
00a0:  ffff ffff ffff ffff ffff ffff ffff ffff
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:  3709 5003 ea6c 0401 b1b8 016e 00ff c4ff
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 0d71 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
==============================================
....

 

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 0280
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0008 106b
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004a 106b
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 0007 0086
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -g 1:0 -w $athmem 004b 0086
root@sysyphus:/media/usb_stick/ath_info# ./ath_info -d $athmem
.....
EEPROM dump (512 bytes)
==============================================
0000:  a55a 0000 0020 0001 0000 5001 0000 [b]0086[/b]
0008:  [b]106b[/b] 1c0a 0100 0000 0002 0002 c606 0001
0010:  0000 0000 0000 0000 0000 0000 0000 0000
0018:  0000 0000 0000 0000 0000 3b2a d2a1 0024
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:  1400 168c 001c 1402 0001 [b]0280[/b] 140a 5001
0048:  0000 140b [b]106b 0086[/b] 140f 0100 1c0a 1410
0050:  5001 01c2 101a 050a 0000 1419 0cc0 0504
0058:  1005 0000 0000 101e 0001 0000 101f 000f
0060:  0000 1020 fc00 9248 1020 4924 2492 1020
0068:  0039 2800 1020 0824 5316 1020 0579 f680
0070:  1020 efff 001d 1020 be40 1aaa 1020 5554
0078:  be10 1020 3007 000e 1021 0000 0000 ffff
0080:  ffff ffff ffff ffff ffff ffff ffff ffff
0088:  ffff ffff ffff ffff ffff ffff ffff ffff
0090:  ffff ffff ffff ffff ffff ffff ffff ffff
0098:  ffff ffff ffff ffff ffff ffff ffff ffff
00a0:  ffff ffff ffff ffff ffff ffff ffff ffff
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:  3709 5003 ea6c 0401 b1b8 016e 00ff c4ff
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 0d71 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
==============================================
....

 

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 13
Feb  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

Feb  7 13:26:18 localhost kernel[0]: ath_dev_attach[3673]: unable to attach hardware; HAL status 13
Feb  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 failed

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 
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>
...

 

:blush:

mate, i think know what you've done wrong: you rebranded your card assuming that you have a/b/g supported, but after studying your terminal outputs, i saw you only have 802.11 g. that was exactly my case too, that was the reason i was so scared to rebrand it. so osx is trying to load a/b/g HAL for it and it crashes, of course. maybe 802.11 g would have been more compatible. anyway, i"m booting into linux right now to rebrand my card using only b/g. let's hope for the best!

Link to comment
Share on other sites

  • 3 weeks later...

Hi All,

 

I would like to have some advice.

 

I tried to be kind of clever and went on changing my ar5007EG mini pci express card using ath_info.

 

I have done the following:

 

ath_info -g 1:0 -w 0xfebf0000 0048 280

 

ath_info -g 1:0 -w 0xfebf0000 0008 106b

ath_info -g 1:0 -w 0xfebf0000 004e 106b

 

ath_info -g 1:0 -w 0xfebf0000 0007 004e

ath_info -g 1:0 -w 0xfebf0000 004f 004e

 

lspci would not show any difference after the command but the card memory dump did recflect the change.

 

However once i did reboot the card was not there any more.

 

lspci does not show the card since.

 

This card is installed on an MSI VR705 (MS-171F)

 

the previous mmio address is now used by another device so i can't access the device by any mean.

 

I tried using all the kernel args pci= in vain.

 

Please let me know if there is any procedure to restore this card memory / eeprom.

 

Regards,

 

Rafik

Link to comment
Share on other sites

Hello Guys,

This is my rebranding experience ;)

 

I have a samsung n310 (go). According to lspci output from ubuntu 9.10 it has a ar5001 card.

 

ath_info tells that wifi card has just 802.11g capability.

 

I have checked the card (phisically by taking apart the laptop) and the label says that it is ar5bxb63.

 

What i have noticed is that after rebranding the card with ath_info, if you dont power off the laptop and just reboot it you will not notice the changes from lspci output, but you will see it from the ath_info eeprom dump. So after each rebranding try, you should power off the laptop to cut all the current in the circuits of the wifi card.

 

Anyway i have initially used the ids from first post and i was getting kernel panic upon mac os startup. Then i have tried a couple of other ids but all of them failed. Then i have checked Info.plist file at /System/Library/Extensions/IO80211Family.kext/Contents/Plugins/AppleAirPortBcrm4311.kext/Contents/Info.plist. I saw that there are lines like <string>pci106b,4e</string>. My guess was this lines should be the ids of the compatible cards.

 

I have tried to use that ids to rebrand my card. I have used 14e4,4311 as subvendor,subdevice ids. Then when i boot to mac os x i saw that i have a airport icon at the top bar but it was gray and has a X sign in it. When i try to turn on the airport i am getting below logs from /var/log/system.log

 

Mar 2 10:29:11 xxx WindowServer[70]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

Mar 2 10:29:11 xxx Apple80211 framework[88]: ACInterfaceGetPower called with NULL interface

Mar 2 10:29:11 xxx Apple80211 framework[88]: ACInterfaceSetPower called with NULL interface

Mar 2 10:29:11 xxx Apple80211 framework[88]: ACInterfaceGetPower called with NULL interface

Mar 2 10:29:11 xxx com.apple.WindowServer[70]: Tue Mar 2 10:29:11 xxx local WindowServer[70] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

 

 

I have tried to google the errors but nothing solid came up.

 

My guess is that i am using a totally different id and mac kernel can't initialize the card correctly. Trying all the ids may help :)

Link to comment
Share on other sites

 Share

×
×
  • Create New...