Jump to content

Atheros AR9285 fix for Snow Leopard - Mavericks


  • Please log in to reply
154 replies to this topic

#141
yurick

yurick

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
Card works well

Posted Image
You can also use Legacy to complete the work AirPortAtheros 40

Attached Files



#142
pnoytechie

pnoytechie

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts

pnoytechie
DSDT compilation errors was fixed, basic fixes applied, AirPort device and injection added, and .dsl file for future hack editions attached.

Then,
Try the dsdt.aml from /Extra
+
Install the DeviceMergeNub injector in /S/L/E. And just try installing only one of them at time, because it depend of firmware card to show in ioreg.
+
Repair permissions and rebuild cache. Finally, restart the system. Sorry my English. Good Luck.

NOTE: This is to use with the VANILLA IO80211Family.kext


thanks for all those who tried to help me, esp. juanerson and LatinMcG.

but no matter how i tried (i can no longer count how many), my setup cannot detect the device with DSDT injection.

i ended up just editing the Info.plist of AirPortAtheros40.kext and this one worked (150mbps), even AirDrop, even though it just shows as "Wi-Fi" (not AirPort)

thanks again.

#143
alianyn

alianyn

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
  • Location:Israel
Just upgraded from 10.7.2 to 10.7.4 and my AR9285 has stopped working (meaning that osx reports "Wi-Fi: no hardware installed" under the WiFi icon).

Reverting to the 10.7.2 IO80211Family.kext (replacing the new one with the old one using kextwizard) works, but returning the new one borks it again. really have no idea where to start looking.

I tried changing my DSDT's with every trick listed in this thread (including using 0x30 instead of 0x2A), and finally broke down and tried editing the kext - that did not work either.

is there a possibility that Apple has restricted this somehow to block other hardware? has anyone else encountered this?

Just for reference i am using the Asus U36SD which has the AR9002WB-1NG (link - http://www.qca.qualc...1=47&product=75 ) inside. it's basically an AR9285 with an AR3011 (BT) combined on a single chip (both are separate - so it's a genuine AR9285), and the DSDT trick worked (and still does) fine with the 10.7.2 kext.

attached are the original DSDT and my modded one (which works with the 10.7.2 kext) i'd appreciate any help anyone can offer. i don't want to have to revert to using an old kext.

Attached Files



#144
alianyn

alianyn

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
  • Gender:Male
  • Location:Israel
Found a fix if anyone is interested for future reference...

Took a look in my kernel log and spotted the following message:

Jun 13 04:32:32 localhost kernel[0]: start [/SourceCache/AirPortDriverAtheros9380/AirPortDriverAtheros9380-431.14.10/src/common/lmac/ath_dev/darwin/AtherosController.cpp:962] load failed


after a bit of google leg work - i found this link by delifruit. the solution turns out to be quite simple - though i have no explanation for it (perhaps some googling will do...)
to quote his fix:

To solve this problem, Open the info.plist file which is located in the IO80211Family.kext > AirportAtheros40.kext > Contents
and delete the following 2 lines
<key>OSBundleRequired</key>
<string>Network-Root</string>



#145
yurick

yurick

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
hi
In examining the plist kexts from ateros40 noticed here is the difference and if the change in the native 600 by 500 it starts to work without kekst Legacy
Posted Image
It turns out that the need to amend section dsdt

Device (ARPT)
			    {
				    Name (_ADR, Zero)
				    Method (_DSM, 4, NotSerialized)
				    {
					    Store (Package (0x18)
						    {
							    "AAPL,slot-name",
							    Buffer (0x09)
							    {
								    "Built In"
							    },
							    "built-in",
							    Buffer (One)
							    {
									 0x00
							    },
							    "device_type",
							    Buffer (0x08)
							    {
								    "AirPort"
							    },
							    "device-id",
                                Unicode ("*"), \\ You can change the "+" to unicode = 2b
							    "compatible",
							    Buffer (0x28)
							    {
								    "pci106b,8f, pci168c,2b, pciclass,028000"
							    },
							    "model",
							    Buffer (0x20)
							    {
								    "AR9285 Wireless Network Adapter"
							    },
							    "IOName",
							    Buffer (0x0B)
							    {
								    "pci168c,2b"
							    },
							    "name",
							    Buffer (0x0B)
							    {
								    "pci168c,2b"
							    },
							    "revision-id",
							    Buffer (0x04)
							    {
									 0x01, 0x00, 0x00, 0x00
							    },
							    "subsystem-id",
							    Buffer (0x04)
							    {
									 0x8F, 0x00, 0x00, 0x00
							    },
							    "subsystem-vendor-id",
							    Buffer (0x04)
							    {
									 0x6B, 0x10, 0x00, 0x00
							    },
							    "vendor-id",
							    Buffer (0x04)
							    {
									 0x8C, 0x16, 0x00, 0x00
							    }
						    }, Local0)
					    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					    Return (Local0)
				    }
			    }
		    }


#146
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

check out the AR9287 driver page
http://www.insanelym...howtopic=257011
Only works in Mac_OS_X_10.6.7 with mach_kernel Darwin 10.7.4

update to 10.6.7 then
Substitute the existing mach_kernel in the MAC OS system drive and Chameleon's Extra folder with this one. Use a small tool 'ShowAllFiles' to show the hidden mach_kernel. Delete it and copy the new one in. Then hide the files.

This kext works well for my AR9285 (168c,2b) wireless card in Mac OS X 10.6.7 (vanilla kernel). I only use the kext & doesn't touch my DSDT or kernel to get it working. I only add device ID (168c,2b) in AirPortAtheros9388.kext. It now can support 802.11n network & WPA2 encryption.

Posted Image

#147
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
kizwan.. i wonder if kext can be edited to fake it to be 10.6.8 version.
===============================================================

yuric
"device-id",
Unicode ("*"), \\ You can change the "+" to unicode = 2b


if the device id in pc is same.. it makes it asterisk.

u can change it to 2A (like first post) or 30

#148
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

kizwan.. i wonder if kext can be edited to fake it to be 10.6.8 version.

Sorry, I don't know. Did you try Lion IO80211Family.kext kext (AirPortAtheros40.kext)? I'm dual booting with SL & ML. For ML, I'm using this driver.

The reason why I only updated to 10.6.7 is because ATI mobility support. Starting from 10.6.8 & above (Lion & ML), I can't declare (in ATI framebuffer personality) the internal LCD as internal LCD because it will produced corrupted image on the internal LCD. When declaring the internal LCD as not internal, the video is perfect except when display sleep, the backlight doesn't turn off.

#149
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
nah i dont have wifi anymore . inspiron wiped .. desktop does have os x

#150
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
I have desktop too but it's X79/2011 platform. Speedstep doesn't work because Mac OS X doesn't support this platform. So, only my notebook have Mac OS X.

#151
existation

existation

    InsanelyMac Protégé

  • Members
  • PipPip
  • 64 posts
Works in Lion 10.7.5 with DSDT edit's.
Device (ARPT)
			    {
				    Name (_ADR, Zero)
				    Name (_PRW, Package (0x02)
				    {
					    0x0B,
					    0x05
				    })
				    Method (_DSM, 4, NotSerialized)
				    {
					    Store (Package (0x0C)
						    {
							    "AAPL,slot-name",
							    Buffer (0x08)
							    {
								    "AirPort"
							    },
							    "device-id",
							    Unicode ("*"),
							    "device_type",
							    Buffer (0x08)
							    {
								    "AirPort"
							    },
							    "model",
							    Buffer (0x34)
							    {
								    "Atheros 9285 8802.11 b/g/n Wireless Network Adapter"
							    },
							    "subsystem-id",
							    Buffer (0x04)
							    {
								    0x8F, 0x00, 0x00, 0x00
							    },
							    "subsystem-vendor-id",
							    Buffer (0x04)
							    {
								    0x6B, 0x10, 0x00, 0x00
							    }
						    }, Local0)
					    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					    Return (Local0)
				    }
			    }
You don't need to edit kext and don't be afraid of Os Updates!
BTW what i need to put there?

"device-id",

Unicode (

"*"

), \\ You can change the "+" to unicode = 2b:???

I want this edit in my dsdt. I think i will see my wifi in pci dev List, am i

rigth?

#152
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida

Works in Lion 10.7.5 with DSDT edit's.
[code=auto:0]

"device-id",
Unicode ("*"),

), \\ You can change the "+" to unicode = 2b:???

I want this edit in my dsdt. I think i will see my wifi in pci dev List, am i

rigth?


2B ? thats not supported natively. 2A is and 30

LOGIC TO IT: MAKE IT THINK ITS 2A OR 30 DEVICE ID THAT IS IN ATHEROS KEXT.

what is point of makign it same it already is ?? 2B ? Not in kext of atheros

#153
existation

existation

    InsanelyMac Protégé

  • Members
  • PipPip
  • 64 posts
I manage this to see in pci :wink2:
Attached File  Screen Shot 2012-11-08 at 11.28.38 PM.png   403.75KB   124 downloads
And i flash rom of my card to get clear log when os is booting. I choose 0x0 in select country. And now I get this:
Attached File  Screen Shot 2012-11-08 at 11.31.11 PM.png   6.63KB   101 downloads
I am Happy.
BTW! Anybody knows how to get bluetooth on my MB Asus P8Z68V-Pro with out booting in other OS first? Note I don't use a Cham or Chimera or XPC boot. Only Clover.

#154
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida

I manage this to see in pci :wink2:
Attached File  Screen Shot 2012-11-08 at 11.28.38 PM.png   403.75KB   124 downloads
And i flash rom of my card to get clear log when os is booting. I choose 0x0 in select country. And now I get this:
Attached File  Screen Shot 2012-11-08 at 11.31.11 PM.png   6.63KB   101 downloads
I am Happy.
BTW! Anybody knows how to get bluetooth on my MB Asus P8Z68V-Pro with out booting in other OS first? Note I don't use a Cham or Chimera or XPC boot. Only Clover.

i ran into similar issue with dell wireless355 bluetooth.. had to run a program from dell to reflash it to legacy.. apparently the card was made to work with vista and drivr had part of the rom.(windows only)
now it works in all os all the times... u might have to see if its a dsdt issue or a rom issue of the card.

with clover there might be a register to enable it.. i dont know

#155
existation

existation

    InsanelyMac Protégé

  • Members
  • PipPip
  • 64 posts
I have drivers for my bluetooth, but they run with install script wich is unix executable. He installs Rom and Flashrom prog into ./Extra and .plist to ./library/stratupitems.
I have to patch rom every boot. Do you know how I register it with Clover?
With Cham or Chimera all ok, but boot loaders are bad. :wink2:
I am stak on this :wallbash: :wallbash: :wallbash: :wallbash: :wallbash: :wallbash:





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy