InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 10-17-2010, 03:26 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
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"

Last edited by andyvand; 10-17-2010 at 03:36 PM.
Reply With Quote
  #2  
Old 10-17-2010, 03:42 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Some proof...
Attached Images
File Type: jpg Atheros_Proof.jpg (24.3 KB, 306 views)
Reply With Quote
  #3  
Old 11-04-2010, 07:02 PM
Nikko485 Nikko485 is offline
Cheetah
 
Join Date: Nov 2010
Posts: 1
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
Reply With Quote
  #4  
Old 11-14-2010, 11:00 PM
Shad0w Shad0w is offline
Cheetah
 
Join Date: Nov 2010
Posts: 1
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?
Reply With Quote
  #5  
Old 11-28-2010, 10:45 AM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
New Atheros fix for 10.6.5 and above

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, ...).
Attached Files
File Type: zip DeviceMergeNub_atheros.kext.zip (32.6 KB, 898 views)
Reply With Quote
  #6  
Old 01-09-2011, 11:17 PM
macwynn macwynn is offline
Cheetah
 
Join Date: Jun 2009
Posts: 8
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
Reply With Quote
  #7  
Old 09-30-2011, 09:07 PM
CAMXposure CAMXposure is offline
Cheetah
 
Join Date: Sep 2011
Posts: 2
Quote:
Originally Posted by andyvand View Post
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, ...).
about my mac - ACER 9410.jpg
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

Last edited by CAMXposure; 09-30-2011 at 09:09 PM.
Reply With Quote
  #8  
Old 12-08-2011, 04:36 PM
iamuser2007 iamuser2007 is offline
Cheetah
 
Join Date: Dec 2011
Posts: 2
Quote:
Originally Posted by andyvand View Post
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
Attached Images
File Type: jpg Picture 1.jpg (14.8 KB, 21 views)
File Type: jpg Picture 2.jpg (17.1 KB, 19 views)
File Type: jpg Picture 3.jpg (18.2 KB, 18 views)
Reply With Quote
  #9  
Old 02-14-2012, 12:20 PM
andyvand's Avatar
andyvand andyvand is offline
 
Join Date: Apr 2009
Location: Tienen
Posts: 515
Quote:
Originally Posted by iamuser2007 View Post
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...
Reply With Quote
Reply