InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Atheros AR9285 (0x002b168c) fix for Snow Leopard (http://infinitemac.com/showthread.php?t=6662)

andyvand 10-17-2010 03:26 PM

Atheros AR9285 (0x002b168c) fix for Snow Leopard
 
As you may know Apple was kind enough to fix the support for AR9285 WiFi card on 10.6.5
I will show you the easy way to make the driver load using DSDT and not touching the original kext:

From within OS X install the new IO80211Family.kext (present in fix package) instead of the old one.

The following also needs the DTGP function present in the DSDT.dsl like this:
Code:

        Method (DTGP, 5, NotSerialized)
        {
                If (LEqual (Arg0, Buffer (0x10)
                                {
                                        /* 0000 */        0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
                                        /* 0008 */        0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                                }))
                {
                        If (LEqual (Arg1, One))
                        {
                                If (LEqual (Arg2, Zero))
                                {
                                        Store (Buffer (One)
                                                {
                                                        0x03
                                                }, Arg4)
                                        Return (One)
                                }

                                If (LEqual (Arg2, One))
                                {
                                        Return (One)
                                }
                        }
                }

                Store (Buffer (One)
                        {
                                0x00
                        }, Arg4)
                Return (Zero)
        }

Locate your card on what root port is and add this code (e.g. on Acer Aspire One D250 = J380)
Add the _PRW and _DSM part as shown below and change the device name to ARPT:
Code:

                                Device (ARPT)
                                {
                                        Name (_ADR, 0x00)
                                        Name (_PRW, Package (0x02) {0x0B, 0x05}) // If you want WOL(Wake on LAN support) if not use desired sleep state
                                        Method (_DSM, 4, NotSerialized)
                                        {
                                                Store (Package (0x0c)
                                                        {
                                                                "AAPL,slot-name", Buffer () {"AirPort"},
                                                                "device-id", Buffer () {0x2A, 0x00, 0x00, 0x00},
                                                                "device_type", Buffer () {"AirPort"},
                                                                "model", Buffer () {"Atheros 9285 8802.11 b/g/n Wireless Network Adapter"},
                                                                "subsystem-id", Buffer () {0x8F, 0x00, 0x00, 0x00},
                                                                "subsystem-vendor-id", Buffer () {0x6B, 0x10, 0x00, 0x00}
                                                        }, Local0)
                                                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                                                Return (Local0)
                                        }
                                }

Also I will show you the easy way to get rid of that "ATHR: Unknown Locale" warning ( I don't like spam on my log...)

First download attached fix files from the link below which contains the eeprom tool

Boot in Windows and:
Open the eeprom tool.
Choose the path and file name(do not use .bin or whatever, just a plain name like original) then save original eeprom.

Then install ComView for WiFi trial (ca6 folder in fix package).
Install then launch, it will ask to install custom driver, do it.

Use attached tool (RCU.exe in fix package) to change the RegDomain, from my experience 0x0 is the best, this works on all Atheros cards. Be aware that may be illegal to change the RegDoman on your country...
Also do this on your own risk, don't blame me if you brick the card, you have been warned!

f you want to dump modified eeprom after change, you have to uninstall comview driver and put default.
However the eeprom tool allow only read/dump not write, guess it needs a special driver that I don't have, maybe someone good on IDA can figure out what it needs...

Enjoy and Share!

Atheros AR9285 fix files:
Atheros_AR9285_fix.zip

All credits go to "THe KiNG"

andyvand 10-17-2010 03:42 PM

1 Attachment(s)
Some proof...

Nikko485 11-04-2010 07:02 PM

Wonderfull !!
 
I's work GREAT, thank's a lot !

But i've just intall your Kext with Kext Utility and reboot...
No more needed ^^

For info : My Laptop is a Asus X70IO under Snow Leopard SL10A432 update to 10.6.2

Shad0w 11-14-2010 11:00 PM

Quote:

Locate your card on what root port is and add this code (e.g. on Acer Aspire One D250 = J380)
How can i locate place in DSDT to inject new code?

andyvand 11-28-2010 10:45 AM

New Atheros fix for 10.6.5 and above
 
1 Attachment(s)
Using DeviceMergeNub I've created an injector for this type of card.
It sets the card to AirPort and injects also IO80211Locale and IO80211CountryCode.
Change the IO80211CountryCode to reflect your country (default is X0, set to US, BE, ...).

macwynn 01-09-2011 11:17 PM

Where does the DeviceMergeNub kext go?
 
Thanks for the work Andy. Do I put this in E/E or in the iO802 kext in S/L/E? Or just in S/L/E?

Thanks!

MW

deepal720 04-07-2011 07:14 AM

LAN AR81Family
 
Hi Andy,

I've install Snow Leopard on my ASUS mobo and Intel core Quad but. everything works but my Ethernet. please show me how to fix this. Thanks a million

andyvand 04-08-2011 07:11 AM

Quote:

Originally Posted by macwynn (Post 52180)
Thanks for the work Andy. Do I put this in E/E or in the iO802 kext in S/L/E? Or just in S/L/E?

Thanks!

MW

/S/L/E... that should work like a charm... ;)

andyvand 04-08-2011 07:11 AM

Quote:

Originally Posted by deepal720 (Post 53575)
Hi Andy,

I've install Snow Leopard on my ASUS mobo and Intel core Quad but. everything works but my Ethernet. please show me how to fix this. Thanks a million

Which ethernet card?
Please give me the name of the card and the vendor and product id's...
I can then see if I can do something for you.... :)

jxiecentral 06-01-2011 05:40 AM

Help! Thanks
 
Hi Andy my name is John and i use a hackingtosh for my everyday studio production needs. i got an Atheros AR9285 and I couldn't find any other solution WORKING except for yours. However, it connects but cannot assign an IP address. Can you help me? Please help me quickly! I can send photos and whatnot. Running a 10.6.7 Snow Leopard and tried ur devicemergenumb.kext as well! The airport and wireless cards were not recognized until I put in the 80211family kext that you put up on this post. Thanks again!

molonam 07-08-2011 09:03 AM

Hi Andy !!

I'm using both your fix and the DeviceMergeNub on a netbook n450 where i've just uptaded to 10.6.8 and where I can not activate the airport, till 10.6.7 I had service but since the upgrade I can not activate more the airport the kext that worked till 10.6.7 not works on 10.6.8 the fact is that the wificard it's not recognized. It seems that the kext is dead. This kext was picked from kexts.com that one dated on october 2010.

I've started on SL using a 10.6.2 Hazard then using a combo to upgrade to 10.6.5 then I've updated to 10.6.6 using a delta and then updating to 10.6.7 using a delta too. Usually then every update I must to reinstall the netbookinstaller from Meklort

With your fix kext the wificard it's recognized but I can not set the country with the DeviceMergeNub the country its set to X0 and the Regional Configuration to FCC when the RC that worked was APAC (I'm in SPAIN) you can see the information extracted from a comparative of several Profile System on my System.

USING DEVICEMERGENUB_Atheros (last) (10.6.8)

Versiones de software:
Menú Extra: 6.2.2 (622.2)
Módulo configd: 6.2.5 (625.6)
Perfil de Sistema: 6.0.1 (601.1)
Preferencia de red: 6.2.2 (622.2)
Utilidad AirPort: 5.5.2 (552.11)
Familia IO80211: 3.1.2 (312)
Interfaces:
en0:
Tipo de tarjeta: AirPort Extreme (0x168C, 0x8F)
Versión del firmware: Atheros 9285: 2.1.14.5
Configuración regional: FCC <<< how to fix this ?
Código del país: X0 <<<<< how to fix this ?
Modos PHY compatibles: 802.11 b/g/n
Canales admitidos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Wake on Wireless: Compatible
Estado: Servicio de red inactivo

ONLY _USING FIX_ KEXT (10.6.8)

Versiones de software:
Menú Extra: 6.2.2 (622.2)
Módulo configd: 6.2.5 (625.6)
Perfil de Sistema: 6.0.1 (601.1)
Preferencia de red: 6.2.2 (622.2)
Utilidad AirPort: 5.5.2 (552.11)
Familia IO80211: 3.1.2 (312)
Interfaces:
en0:
Tipo de tarjeta: AirPort Extreme (0x168C, 0xE025)
Versión del firmware: Atheros 9285: 2.1.14.5
Configuración regional: APAC
Código del país: <<<<<< how to fix this ???
Modos PHY compatibles: 802.11 b/g/n
Canales admitidos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Wake on Wireless: Compatible
Estado: Servicio de red inactivo

OLD ONE (10.6.7)
Versiones de software:
Menú Extra: 6.2.1 (621.1)
Módulo configd: 6.2.4 (624.2)
Perfil de Sistema: 6.0 (600.9)
Preferencia de red: 6.2.1 (621.1)
Utilidad AirPort: 5.5.2 (552.11)
Familia IO80211: 3.1.4 (314.1.1)
Interfaces:
en0:
Tipo de tarjeta: AirPort Extreme (0x168C, 0xE025)
Versión del firmware: Atheros 9285: 2.1.14.5
Configuración regional: APAC
Código del país: ES
Modos PHY compatibles: 802.11 b/g/n
Canales admitidos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Wake on Wireless: Compatible
Estado: Conectado

So where can I find the string to set my country and regional configuration on your DeviceMergeNub ? It seems to me that using it slows a bit the system TIA ;)

CAMXposure 09-30-2011 09:00 PM

ACER 9410 and AR9285 (replaced original)
 
I used both the 'Atheros AR9285 fix files' and the 'DeviceMergeNub' and this allowed me to get my device seen as an airport and I see networks- I can connect but entered my own IP- but do not think it goes any further than that- I don't have a internet connection.

what do I need to do or submit to give you the vital information in order to get me running-
it seems that there are many different configurations- I do not want to assume that I can just change everything based on my system from the setting of yours

I'm US - and I can see why apple doesn't want to confuse things more by adding a variety of vendors of unsupported hardware- this is the headache

AIM/ichat - MullerMAC

CAMXposure 09-30-2011 09:07 PM

1 Attachment(s)
Quote:

Originally Posted by andyvand (Post 51628)
Using DeviceMergeNub I've created an injector for this type of card.
It sets the card to AirPort and injects also IO80211Locale and IO80211CountryCode.
Change the IO80211CountryCode to reflect your country (default is X0, set to US, BE, ...).

Attachment 1619
I don't know what else to show - the device was off at the time of picture- which is properly represented in the photo specs
but what do I use and what am I modifying to change the country code- if that is all-
WHAT EDITOR DO I USE- WHAT SETTING DO I NEED TO CHANGE - AND HOW DO I CHANGE IT
thanks- don't know of any other way to ask what I need to know

your help is much appreciated as it got me this far

iamuser2007 12-08-2011 04:36 PM

3 Attachment(s)
Quote:

Originally Posted by andyvand (Post 51147)
Some proof...

Hi

I Have installed Mac OS X 10.5.8 ideneb 1.6 on my HP-Mini 110-3000.
Everything works perfect except wifi.
my wifi card is Atheros AR9285, Working perfectly on Windows and Linux.

But here no information available in Airport card.
see screen shots.
Please can you do something for my wifi.

Many Thanks in advance

66679046 12-29-2011 03:36 AM

AR922X make system dead.
 
Hi Andy, I am using a TL-WN851N with chipset AR922X. device id is 0029. I have tried a lot of is80211family.kext and put "pci168c,29" into info.plist.

It works actually. It can connect to the internet but make the system dead after a while. mouse cannot move, keybroad dead. there is no any error information occur.

However, the system is good while i using msn. Every time i open website, the system dead. if i use cable but not wireless. that is good. no error. but the speed just like 5-8 kb/s.

Please help how to fix the AR922x. ths a lot.

sonpipi 02-11-2012 12:10 PM

hi
 
how to compile dsdl.aml to toshiba C640

andyvand 02-14-2012 12:20 PM

Quote:

Originally Posted by iamuser2007 (Post 56178)
Hi

I Have installed Mac OS X 10.5.8 ideneb 1.6 on my HP-Mini 110-3000.
Everything works perfect except wifi.
my wifi card is Atheros AR9285, Working perfectly on Windows and Linux.

But here no information available in Airport card.
see screen shots.
Please can you do something for my wifi.

Many Thanks in advance

For Atheros AR9285 you need at least Snow Leopard V10.6.5...
Just to let you know...

andyvand 02-14-2012 12:21 PM

Quote:

Originally Posted by molonam (Post 54456)
Hi Andy !!

I'm using both your fix and the DeviceMergeNub on a netbook n450 where i've just uptaded to 10.6.8 and where I can not activate the airport, till 10.6.7 I had service but since the upgrade I can not activate more the airport the kext that worked till 10.6.7 not works on 10.6.8 the fact is that the wificard it's not recognized. It seems that the kext is dead. This kext was picked from kexts.com that one dated on october 2010.

I've started on SL using a 10.6.2 Hazard then using a combo to upgrade to 10.6.5 then I've updated to 10.6.6 using a delta and then updating to 10.6.7 using a delta too. Usually then every update I must to reinstall the netbookinstaller from Meklort

With your fix kext the wificard it's recognized but I can not set the country with the DeviceMergeNub the country its set to X0 and the Regional Configuration to FCC when the RC that worked was APAC (I'm in SPAIN) you can see the information extracted from a comparative of several Profile System on my System.

USING DEVICEMERGENUB_Atheros (last) (10.6.8)

Versiones de software:
Menú Extra: 6.2.2 (622.2)
Módulo configd: 6.2.5 (625.6)
Perfil de Sistema: 6.0.1 (601.1)
Preferencia de red: 6.2.2 (622.2)
Utilidad AirPort: 5.5.2 (552.11)
Familia IO80211: 3.1.2 (312)
Interfaces:
en0:
Tipo de tarjeta: AirPort Extreme (0x168C, 0x8F)
Versión del firmware: Atheros 9285: 2.1.14.5
Configuración regional: FCC <<< how to fix this ?
Código del país: X0 <<<<< how to fix this ?
Modos PHY compatibles: 802.11 b/g/n
Canales admitidos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Wake on Wireless: Compatible
Estado: Servicio de red inactivo

ONLY _USING FIX_ KEXT (10.6.8)

Versiones de software:
Menú Extra: 6.2.2 (622.2)
Módulo configd: 6.2.5 (625.6)
Perfil de Sistema: 6.0.1 (601.1)
Preferencia de red: 6.2.2 (622.2)
Utilidad AirPort: 5.5.2 (552.11)
Familia IO80211: 3.1.2 (312)
Interfaces:
en0:
Tipo de tarjeta: AirPort Extreme (0x168C, 0xE025)
Versión del firmware: Atheros 9285: 2.1.14.5
Configuración regional: APAC
Código del país: <<<<<< how to fix this ???
Modos PHY compatibles: 802.11 b/g/n
Canales admitidos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Wake on Wireless: Compatible
Estado: Servicio de red inactivo

OLD ONE (10.6.7)
Versiones de software:
Menú Extra: 6.2.1 (621.1)
Módulo configd: 6.2.4 (624.2)
Perfil de Sistema: 6.0 (600.9)
Preferencia de red: 6.2.1 (621.1)
Utilidad AirPort: 5.5.2 (552.11)
Familia IO80211: 3.1.4 (314.1.1)
Interfaces:
en0:
Tipo de tarjeta: AirPort Extreme (0x168C, 0xE025)
Versión del firmware: Atheros 9285: 2.1.14.5
Configuración regional: APAC
Código del país: ES
Modos PHY compatibles: 802.11 b/g/n
Canales admitidos: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Wake on Wireless: Compatible
Estado: Conectado

So where can I find the string to set my country and regional configuration on your DeviceMergeNub ? It seems to me that using it slows a bit the system TIA ;)

In the Info.plist, use a plist editor to edit it.
You can get it by right clicking on DeviceMergeNub.kext, show contents.
Next navigate to Contents.
Hope this helps you... ;)