Jump to content

Rebranding Atheros AR5006EG to a Vanilla Card


iHack13
 Share

222 posts in this topic

Recommended Posts

you should see changes after totally powering off your motherboard (switch the psu off)

 

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

 

be welcome to paste the result of

lspci -nnnvvvxxx

of your device inside a code box here

Link to comment
Share on other sites

Reporting success with Lenovo/IBM Atheros AR5BXB6 card on HP DV 1660SE

Before rebranding:

02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5212 802.11abg NIC [168c:1014] (rev 01)
 Subsystem: IBM ThinkPad 11a/b/g Wireless LAN Mini Express Adapter (AR5BXB6) [1014:058a]

After rebranding:

02:00.0 Network controller [0280]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
 Subsystem: Apple Computer Inc. Device [106b:0086]

So in addition to usual changes the Dev ID has been also changed. Also BIOS whitelist is edited, no more 104 error (evil laugh). It works perfectly on Ubuntu 10.10. Need to install OS X to test it out :)

Thanks!!!

 

EDIT 2010 12 12:

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

Link to comment
Share on other sites

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

 

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

Link to comment
Share on other sites

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

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

 

:)

 

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

 

Always fails with:

 

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

Feb 7 13:26:18 localhost kernel[0]: ath_attach[3625] : ath_dev_attach Failed

 

Any chance to get it working by correct rebranding?

Link to comment
Share on other sites

Well, here's what I get now.

 

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

 

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

Link to comment
Share on other sites

  • 3 weeks later...

lol @ broadcom 004e.. anyways anyone have an idea yet what is causing some dell laptops to boot atheros pre ar5009 cards ( ar5008 and older) with the error offset_0x100 0xffffffff.

 

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

Link to comment
Share on other sites

did you try 0087 with any results?

Also a dsdt modification with the following code in your slot memory address may help:

			Device (RP06)
		{
			Name (_ADR, 0xINSERTYOURPCIPORTFULLADDRESSHERE*****) //see note bellow
			OperationRegion (P6CS, PCI_Config, 0x40, 0xA0) 
			Field (P6CS, AnyAcc, NoLock, WriteAsZeros)
			{
						Offset (0x20), 
						Offset (0x22), 
				PSP6,   1, 
						Offset (0x9C), 
					,   30, 
				HPS6,   1, 
				PMS6,   1
			}

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

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

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

						Package (0x04)
						{
							0xFFFF, 
							0x03, 
							0x00, 
							0x10
						}
					})
				}
			}

***** The "root port" (RP) in use should correspond to the address of your board. for instance if you have it showing in ioregisterexplorer as 1C,3 then you should do try it as 0x001C0003 (this would be under the PEX hub @ 1C)

If you have it under the PCI hub (1E) at, for instance line 4 (1E,4) then you should use 0x001E0004 and so on...

 

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

 

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

OperationRegion (P6CS, PCI_Config, 0x40, 0xA0)

Field (P6CS, AnyAcc, NoLock, WriteAsZeros)

{

Offset (0x20),

Offset (0x22),

PSP6, 1,

Offset (0x9C),

, 30,

HPS6, 1,

PMS6, 1

}

and use only the rest of the code.

 

Note that this is no pdf based DSDT injection, and is used on apple desktops ("workstations"/MacPros) to insert these bits on their machine.

It is highly recommended to plug your card at pci-e last line (001C0005) (1C,5) when using this.

Link to comment
Share on other sites

did you try 0087 with any results?

Also a dsdt modification with the following code in your slot memory address may help:

			Device (RP06)
		 {
			 Name (_ADR, 0xINSERTYOURPCIPORTFULLADDRESSHERE*****) //see note bellow
			 OperationRegion (P6CS, PCI_Config, 0x40, 0xA0) 
			 Field (P6CS, AnyAcc, NoLock, WriteAsZeros)
			 {
						 Offset (0x20), 
						 Offset (0x22), 
				 PSP6,   1, 
						 Offset (0x9C), 
					 ,   30, 
				 HPS6,   1, 
				 PMS6,   1
			 }

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

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

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

						 Package (0x04)
						 {
							 0xFFFF, 
							 0x03, 
							 0x00, 
							 0x10
						 }
					 })
				 }
			 }

***** The "root port" (RP) in use should correspond to the address of your board. for instance if you have it showing in ioregisterexplorer as 1C,3 then you should do try it as 0x001C0003 (this would be under the PEX hub @ 1C)

If you have it under the PCI hub (1E) at, for instance line 4 (1E,4) then you should use 0x001E0004 and so on...

 

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

 

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

 

and use only the rest of the code.

 

Note that this is no pdf based DSDT injection, and is used on apple desktops ("workstations"/MacPros) to insert these bits on their machine.

It is highly recommended to plug your card at pci-e last line (001C0005) (1C,5) when using this.

 

my port is RP01 and im using partial code from the king 'we want your hardware ids" post. with the codingrobots vendor subven. 1014

 

i was curious how i could enable rp06 in the enable disable register to make it more mac efi like. but its running rp01 rp03 rp04

cause rp06 looks like the winner in pci config space/ mem instead of rp01-5

 

i havent tried 87 in dsdt yet. but thats usually like a 168c,24 card ar5008 isnt it ? N type. i tried 86 cause its what 1c calls for in apple. but i noticed in snow theres 1014 !. . or was it added by someone not apple ? hmm i have both 10.58 and 10.6.5

 

BTW i have a few cards :) ar928x AW-NE772 dev ido 002a. also ar5bxb72 apple real card. and ar5bxb6 fujitsu dev id C1 in dsdt im injecting what codingrobot has. same issue.

 

HERES my issue and codingrobot says he fixed with rebrand.. i guess rebrand it is

Link to comment
Share on other sites

my port is RP01 and im using partial code from the king 'we want your hardware ids" post. with the codingrobots vendor subven. 1014

 

i was curious how i could enable rp06 in the enable disable register to make it more mac efi like. but its running rp01 rp03 rp04

cause rp06 looks like the winner in pci config space/ mem instead of rp01-5

 

i havent tried 87 in dsdt yet. but thats usually like a 168c,24 card ar5008 isnt it ? N type. i tried 86 cause its what 1c calls for in apple. but i noticed in snow theres 1014 !. . or was it added by someone not apple ? hmm i have both 10.58 and 10.6.5

 

BTW i have a few cards :) ar928x AW-NE772 dev ido 002a. also ar5bxb72 apple real card. and ar5bxb6 fujitsu dev id 0021 in dsdt im injecting what codingrobot has. same isue. i havent injected 280 yet.

Really sorry, I could not get the picture on what was your system.

I guess you are talking about a laptop?

Which system are you emulating?

 

EDIT:

Just to add, it depends on the emulated system. For instance, in a MacPro3 or Macmini 1/2 RP01 is referring to the GPU port, which was at that address (1C).

In macpro4/5 apple uses all 4 slots in fixed north bridge controlled addresses instead of hub sub-addresses (1C/PCIe, 1E/PCI32bit) and leave those for embedded devices and for the mini-pci-e slot which is located at the 6th lane of 1C (Pex5/RP06) so the system does not confound it with the old RPs (now named IOUs directly linked to the North Bridge, while the hubs - 1E and 1C - are handled by the south bridge.)

Link to comment
Share on other sites

Really sorry, I could not get the picture on what was your system.

I guess you are talking about a laptop?

Which system are you emulating?

 

inspiron 1520 in my sig.. its mbp3,1 at moment. with chameleon2 rc5 anvdy valve version.

but the rp06 i have seen in mpb3,1 but my dsdt is loading the rp01,03,04 and i noticed in RP06 is different pci memory config wich might just fix this. ( i think) but im about to try rebrand the card. i did it bfore wth no issues on a bad model to rebrand ar5bxb63-h (hp) g only. now i have a,b,g ar5bxb6 fujitsu wll4080

LSPCI

0b:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
Subsystem: Fujitsu Limited. Unknown device [10cf:139c]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at f9ff0000 (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: fee00000  Data: 4096
Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
	DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <128ns, L1 <2us
		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 L0s L1 Enabled; 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] #168c
Capabilities: [001] #1c16
Capabilities: [470] #4b
Capabilities: [101] #1c16
Capabilities: [470] <chain looped>

edit. im using atheros in cellphone slot .. the wlan slot is RP02 and i heard it has issues sometimes. so i turned off wifi and switch is set to cell only

my prior work arround was to have both broadcom dev 4315 in wlan and works in osx with info.plist edit to add 4315 next to 4313. and cell slot atheros for linux (not workin in osx).

i guess ill keep same way if no fix found.

Link to comment
Share on other sites

inspiron 1520 in my sig.. its mbp3,1 at moment. with chameleon2 rc5 anvdy valve version.

but the rp06 i have seen in mpb3,1 but my dsdt is loading the rp01,03,04 and i noticed in RP06 is different pci memory config wich might just fix this. ( i think) but im about to try rebrand the card. i did it bfore wth no issues on a bad model to rebrand ar5bxb63-h (hp) g only. now i have a,b,g ar5bxb6 fujitsu wll4080

 

edit. im using atheros in cellphone slot .. the wlan slot is RP02 and i heard it has issues sometimes. so i turned off wifi and switch is set to cell only

my prior work arround was to have both broadcom dev 4315 in wlan and works in osx with info.plist edit to add 4315 next to 4313. and cell slot atheros for linux (not workin in osx).

i guess ill keep same way if no fix found.

 

Ok, so we are back to 945 and ich 7

sorry for not noting your sig.

I don't think i can help much on your case even cause my english doesnt help me a lot (cell slot?), but if your mini-pcie slot is at 1c0002 you could only change it rewriting stuff at early boot stage - dsdt replacement really does not help a lot in this case

Link to comment
Share on other sites

Ok, so we are back to 945 and ich 7

sorry for not noting your sig.

I don't think i can help much on your case even cause my english doesnt help me a lot (cell slot?), but if your mini-pcie slot is at 1c0002 you could only change it rewriting stuff at early boot stage - dsdt replacement really does not help a lot in this case

 

its ich8

cell wwan cdma card slot for cell broadband.

 

im going try an older bios... way older! to see if it pci config space issues. (saw one of the updates fixed compat with some broadcoms)

 

someone had it working once in a different dell. they said something with chameleon2 rc2 and above.

 

the only card that actually almost works is the Ar9280 AW-NE772 .. doesnt give me that offset 100 error. but shows connections and stop showing them and wont connect to any. timed out. ( this card wont work with older madwifi drivers as its ath9k)

Link to comment
Share on other sites

I did not research, only took the standard for that time. both 7 and 8 were used in 945.

Sorry if somehow you felt underestimated during this conversation. I should leave now.

Again, sorry.

 

thanks anyways.. i was just curious what causes this error with non ath9k cards in dell laptops.

i figured u the bios god might know what can cause this.. so im happy u gave me input.

 

Edit i found a win issue similar to this.

Error Type: NT_STATUS
Error Code: 0xc0000420
Error Text: Error 0xc0000420
Message 11/2/2007 12:17:33.204 Error accessing extended
configuration space. Offset 0x100 read: 0xFFFFFFFF.
Message 11/2/2007 12:17:33.204 This error may happen for
various reasons. Please check for the following:
Message 11/2/2007 12:17:33.204 - The device under test has a
valid value at offset 0x100
Message 11/2/2007 12:17:33.204 - On X86/X64 systems, MCFG is
implemented per PCI Firmware Specification 3.0 v0.9 or greater
Message 11/2/2007 12:17:33.205 - On IA64, SAL version 3.2 or
greater is implemented
Message 11/2/2007 12:17:33.205 - Some systems force the OS to
fallback to CFC/CF8 method or to avoid accessing extended configuration
space when using MCFG in order to workaround known issues.
Message 11/2/2007 12:17:33.205 In such a case, for device
logos, please use a different system. For system logo, please consult the
manufacturer.
End Test 11/2/2007 12:17:33.205 PCI-Express capabilities list
Result: Fail

Link to comment
Share on other sites

SUCCESS! finaly rebranded my wll4080 exactly as 2nd post codingrobot i owe you! 7 months into this and finally it works.

p.s. dont try to rebrand the first section of rom... only the middle section like codingrobot shows.. works depending on your card.!

i did both spots and works better.

Link to comment
Share on other sites

Houston we got a problem with wll4080 AR5BXB6 from 10.6.0 works nice then to 10.6.5 update... kp from atheros kext. in 32 bit. have not tried 64 or atherosfix.kext yet.

EDIT 1-2-2011: fresh install updated and no kernel panic but no IBM id 1014 in AirportAtheros21.kext.. added and now it works. when it wants to.

 

p.s. it works in 10.5.6 OOB then 10.5.8 it disappears from the info.plist of atheros kext hmm.. anyways i added id 1014 and it works always with no fail.

 

Hi LatinMcGyver75,

 

I have an atheros 168c:1c and i looked all over the place to get this piece of hw working,

i kind of get it recognized using older IO80211Familly but it seem outdated and it is missing lib symbols so there is no way to enable the airport device.

 

could you please be kind enough to give us the ibm ids as well as an explanation on how to rebrand.

 

I have been following the first thread and also codingrobot posts but i can't figure out the right HOWTO.

 

I already killed the same card so i would be really pleased if you could spare some time in giving the info.

 

All the Best,

 

Rafik

Link to comment
Share on other sites

Hi LatinMcGyver75,

 

I have an atheros 168c:1c and i looked all over the place to get this piece of hw working,

i kind of get it recognized using older IO80211Familly but it seem outdated and it is missing lib symbols so there is no way to enable the airport device.

 

could you please be kind enough to give us the ibm ids as well as an explanation on how to rebrand.

 

I have been following the first thread and also codingrobot posts but i can't figure out the right HOWTO.

 

I already killed the same card so i would be really pleased if you could spare some time in giving the info.

 

All the Best,

 

Rafik

 

its hard to kill.. at least for me.

trick is see the codingrobot says @ 0x8x look at the chart up top in 1st post for locations.

when i first rebranded i did wrong spots. way in the beginning of chart.

then i noticed he only modified in middle not begining.

  • Device Class from 200 to 280 (at 0x85)
  • Device ID from 001c to 1014 (at 0x82)
  • these bellow vary by brand of card
  • Subvendor ID from 1458 to 1014 (at 0x8a)
  • Subdevice ID from e917 to 058a (at 0x8b)look at chart for locations 0x8a and 0x8b to see if it matches your sub id's you wrote down or from lspci

UPDATE: i changed regdomain to 10 (us) and now it worked without devicemergenub. now locale is still unknown but it works and dont forget to add the 1014 to atheros kext

 

EDIT: i spoke too soon, snow doesnt like it .. worked 1 or 2 times then no connect again. but works fine in 10.5.8

 

Conclusion:

i rebranded the first part of rom also with subvendor and it became more stable in 10.5.8 (locations 0x07 0x08 0x09 in chart) 
snow doesnt like these older cards. (random no connect.. reboot and it might work. most times didnt)

so best bet is AR9280 (AR5BXB9) in apple. the real apple subvendor id might turn on special rom features for osx that cause problems sometimes. 
so i have AW-NE772 Azurewave AR5BXB92 and i used a tool called RCU.exe to change regdomain to 0x0 then it started working
(snow only.. no driver by apple for 10.5)
reason i use atheros is cause in linux i use older madwifi live cd doesnt support AR5BXB9 

in otherwords best is broadcom BCM94321MC . rebrand subvendor id's. and no more problems.

 

by the way.. if you have a atheros ar5bxb63 ..dont bother! its not going to work as the rom is different and will say unable to attach Hal ( cant find the rom properly)

ar5bxb6 a/b/g works

Link to comment
Share on other sites

  • 3 months later...

It has been said many times but some of us have these AR5BXB63 cards in our laptops. Is there really no way of rebranding these to make them accessible as Airport cards. They only have g protocol functionality.

 

Or is it impossible?

Link to comment
Share on other sites

  • 1 month later...

Has anyone found a way to deal with the:

 

MAC revision 0xffff is not supported!

 

error?

 

I read that:

 

If you get the message MAC revision 0xffff is not supported! it means that some other module, likely ath_hal and/or ath_pci took over your card.

 

Any way to prevent this? I can't get by step 4!

Link to comment
Share on other sites

Has anyone found a way to deal with the:

 

MAC revision 0xffff is not supported!

 

error?

 

I read that:

 

If you get the message MAC revision 0xffff is not supported! it means that some other module, likely ath_hal and/or ath_pci took over your card.

 

Any way to prevent this? I can't get by step 4!

 

its trying to read a part of rom that empty. your card doesnt have proper rom structure(a/b/g? or just G ?) for osx to read its info like mac. get a dif card.. broadcom is best bet.

Link to comment
Share on other sites

Has anyone found a way to deal with the:

 

MAC revision 0xffff is not supported!

 

error?

 

I read that:

 

If you get the message MAC revision 0xffff is not supported! it means that some other module, likely ath_hal and/or ath_pci took over your card.

 

Any way to prevent this? I can't get by step 4!

 

What happens is that you are installing an old version of Madwifi. In order to use ath_info with AR5BXB63, you need a newer version than the madwifi.sh installs. Look, just change this code in the original madwifi.sh posted at the beginning of the thread, and try again.

 

# Get the necessary drivers from www.stchman.com
sudo wget [url="http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r4126-20100324.tar.gz"]http://snapshots.madwifi-project.org/madwi...20100324.tar.gz[/url]

# unpack the tarball
sudo tar -xzf /usr/src/madwifi-hal-0.10.5.6-r4126-20100324.tar.gz

# Change to the folder that the tarball created
cd /usr/src/madwifi-hal-0.10.5.6-r4126-20100324

 

Rebranding was not a solution for me, I tried a lot, and I mean a lot of combinations of IDs, Subdev IDs, etc,etc, and I never had it working on Mac OS 10.6.7.

 

My AR5007EG or AR5BXB63 presents this data:

 

<class_id> 0200

<vendor_id> 168c

<device_id> 001c

<subven_id> 105b

<subdev_id> e008

<memory_loc> 55200000

 

I'm not giving up yet, but is kinda boring after 16 hours trying new values and then checking if MacOs see the card. =)

Good Luck.

Link to comment
Share on other sites

cant rebrand b63.. its just not gona work. its like putting a kids brain in albert einsteins head. (rom is very empty cause hardware isnt there)

 

just buy a different card.. bxb62 !! that works i also had good results with snow leo and ar5b91 with subvendor dsdt inject 0x8F. (no madwifi in linux only compatwireless my wifiway :( works beautiful)

Link to comment
Share on other sites

 Share

×
×
  • Create New...