Jump to content

Atheros AR9285 fix for Snow Leopard - Mavericks


  • Please log in to reply
154 replies to this topic

#41
Jordan2Delta

Jordan2Delta

    InsanelyMac Protégé

  • Members
  • PipPip
  • 69 posts
Thanks for your advice, LatinMcGyver75

I run a quick search and found this from a user called " BuildSmart":
http://www.insanelym...t51725-150.html

Also, having the correct product and vendor ID's don't always make a card work, specifically in the case of wifi, for example, those with BCM94321/BCM94322 based cards may not achieve full functionality and connection speed in OS X because the driver is selected based on the subsystem ID's so having the correct subsystem ID's is also important if you want a connection speed greater than 130mbp.


So even if I got a bcm94322 chip on the dell wireless 1505 chances are due to an incorrect subsystem ID 802.11n still wouldn't work.

Getting the right subsystem ID or pretending to be so by using DevieMergeNub.kext might do the trick. Or am I wrong?

I'll investigate asap.

#42
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
correct. if u can convert the data like i posted.. i need to make 168c:1014 subvendor 1014:058a conversion into devicemergenub. all i need to do is convert to hex ? not sure.
altho even with subvendor it might not get n speed.
u can also use dsdt i think for _DSM injection of subvendor.
search for "we want your id's" at projectosx

EDIT: i got the wll4080 running nice.. now for the aw-ne772 AR928x i ran the comwave drivers and ran the RCU tool :) changed to fcc1 no go fcc2 no go. then changed to 0x64 and it shows wireless again.. now if i could conect :) timesout. but it did work once.. when i had the other older wll4080. then switched out. on boot it was connected.. then rebooted and no go. was changing regions again..
i wish i had more access to the eeprom in ar928x to see the table like on older ath5k eeprom table i was able to change section b8 far right 0xbf FROM (0008 in chart ) to 0010 and it worked!.. first i tried 00 it out. and showed no signals. so i was going to put ff.. then i realized fcc is 10 on the list
on the madwifi shows its 16 for FCC.. but 0x10 is ? 16 :) hmm what to try next hmm

#43
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
ok the flash tool works.. 0x0 works with the rcu.exe ! in the AW-NE772 says FCC US yay!
.. the above post was reffereing to comparison of old atheros ar5bxb6 and this AR928x.
1/2 second and connected to wep. testing N if neighbor lets me.

so to summarize it for everyone. there is 2 methods depending on chipset. if its new AR928x use rcu. if its old use ath_info.

btw the Devicemergenub.. cute but the FCC and US addon does not do jack !!. it goes straight to the radio to sniff a 80211D beacon.
reason im sure is -v told me it never connected.. it was random. soo i did the 0x0 and it connected FIRST TIME and under 1 second.
good luck all.

now if i could just change sub-vendor ids :) wish i knew how. dont know if its another windows based prog or not.

#44
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,169 posts
  • Gender:Male
hi andy
is there hope with ar5007g

i added to dsdt
Device (ARPT)
				{
					Name (_ADR, 0x00060000)
					Name (_PRW, Package (0x02)
					{
						0x0B, 
						0x05
					})
					Method (_DSM, 4, NotSerialized)
					{
						Store (Package (0x0C)
							{
								"AAPL,slot-name", 
								Buffer (0x08)
								{
									"AirPort"
								}, 
								"device-id", 
								Buffer (0x04)
								{
									0x1C, 0x00, 0x00, 0x00
								}, 
								"device_type", 
								Buffer (0x08)
								{
									"AirPort"
								}, 
								"model", 
								Buffer (0x35)
								{
									"Atheros 5007 G 8802.11 b/g Wireless Network Adapter"
								}, 
								"subsystem-id", 
								Buffer (0x04)
								{
									0x86, 0x00, 0x00, 0x00
								}, 
								"subsystem-vendor-id", 
								Buffer (0x04)
								{
									0x6B, 0x10, 0x00, 0x00
								}
							}, Local0)
						DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
						Return (Local0)
					}
				}

also edited kexts and added my id

but kexts failed to load


Jan 13 21:57:12 localhost kernel[0]: ath_dev_attach[3674]: unable to attach hardware; HAL status 13
Jan 13 21:57:12 localhost kernel[0]: ath_attach[3889] : ath_dev_attach Failed 
Jan 13 21:57:12 localhost kernel[0]: start [/SourceCache/AirPortDriverAtheros9380/AirPortDriverAtheros9380-424.14.5/src/common/lmac/ath_dev/darwin/AtherosController.cpp:962] load failed
Jan 13 21:57:12 localhost kernel[0]: ath_dev_attach[3182]: unable to attach hardware; HAL status 13
Jan 13 21:57:12 localhost kernel[0]: ath_attach[3625] : ath_dev_attach Failed 
Jan 13 21:57:12 localhost kernel[0]: start [/SourceCache/AirPortDriverAtheros5424/AirPortDriverAtheros5424-422.19.10/src/common/lmac/ath_dev/darwin/AtherosController.cpp:1159] load failed

thanks

#45
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
i found a working eeprom dump and write tool for windows for AR928x not just AR9285 with patched drivers to let it write :P
http://www.dd-wrt.co...f87db9cb450aa5a
alternate link in case it goes down. http://www.filedropp...s928xeepromtool

also. after i had AR9281 AW-NE772 working in 10.6.0 with regdomain 0x0.. updated combo to 10.6.5 and now its back to its usual problems.. sees wifi . connection timed out tho. did update to 10.6.6 and same.
but in 10.5.8 the ar5bxb6 wll4080 is reliable 100% .. every reboot it works. but in 10.6.2+ add to AirPort.21.kext info.plist
im sure apple is making it harder for us.
i think they make issues but not disable us totally for publicity. ( give them enough problems so they buy a mac eventually)

#46
LatinMcG

LatinMcG

    Insanely digesting DSDT

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

hi andy
is there hope with ar5007g

i added to dsdt

Device (ARPT)
				 {
					 Name (_ADR, 0x00060000)
					 Name (_PRW, Package (0x02)
					 {
						 0x0B, 
						 0x05
					 })
					 Method (_DSM, 4, NotSerialized)
					 {
						 Store (Package (0x0C)
							 {
								 "AAPL,slot-name", 
								 Buffer (0x08)
								 {
									 "AirPort"
								 }, 
								 "device-id", 
								 Buffer (0x04)
								 {
									 0x1C, 0x00, 0x00, 0x00
								 }, 
								 "device_type", 
								 Buffer (0x08)
								 {
									 "AirPort"
								 }, 
								 "model", 
								 Buffer (0x35)
								 {
									 "Atheros 5007 G 8802.11 b/g Wireless Network Adapter"
								 }, 
								 "subsystem-id", 
								 Buffer (0x04)
								 {
									 0x86, 0x00, 0x00, 0x00
								 }, 
								 "subsystem-vendor-id", 
								 Buffer (0x04)
								 {
									 0x6B, 0x10, 0x00, 0x00
								 }
							 }, Local0)
						 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
						 Return (Local0)
					 }
				 }

also edited kexts and added my id

but kexts failed to load


Jan 13 21:57:12 localhost kernel[0]: ath_dev_attach[3674]: unable to attach hardware; HAL status 13
 Jan 13 21:57:12 localhost kernel[0]: ath_attach[3889] : ath_dev_attach Failed 
 Jan 13 21:57:12 localhost kernel[0]: start [/SourceCache/AirPortDriverAtheros9380/AirPortDriverAtheros9380-424.14.5/src/common/lmac/ath_dev/darwin/AtherosController.cpp:962] load failed
 Jan 13 21:57:12 localhost kernel[0]: ath_dev_attach[3182]: unable to attach hardware; HAL status 13
 Jan 13 21:57:12 localhost kernel[0]: ath_attach[3625] : ath_dev_attach Failed 
 Jan 13 21:57:12 localhost kernel[0]: start [/SourceCache/AirPortDriverAtheros5424/AirPortDriverAtheros5424-422.19.10/src/common/lmac/ath_dev/darwin/AtherosController.cpp:1159] load failed

thanks


i just rebranded ar5bxb63 and had same issue. it depends on the rom structure. yours isnt good.
get a broadcom and your problems are over.

#47
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
i was playing around further and wondering why it said only Country Code US but Locale unknown . set to 0x6A and it gave ROW so then i set to 0x00 . then i had idea to use a combination of both RCU. then use different Atheros Eprom Tool i posted with read write driver then dump rom and set to 0x64.
now it shows both FCC and US but i think i have mem buffer issues or irq conflict as it times out.

EDIT: HPET IRQ's were crossing over. causing timeout
i checked in ioreg and my irq's are all out of whack. my sata isnt 14 and my PATA isnt 15! instead.. usb has them. so i figured usb can handle hpet and i saw also in ioreg hpet was using 2 instead of 0 so i changed 0 to 2 in dsdt and added 15 under 11
seems leo 10.5 is more tolerant of irq sharing than snow as it connected but was slow at times.

look more at reg and countrycodes http://www.cs.fsu.ed...11.8?v=2.6.11.8

#48
kerr

kerr

    InsanelyMac Protégé

  • Members
  • PipPip
  • 94 posts
I have wake-from-sleep problems. Atheros is not an integrated chip but on a PCIe card from TP-Link. I add DSDT fix under the right pcie slot and it is somewhat working, but it cannot wake from sleep. It gives me this error in kernel.log

kernel[0]: pci restore waited for ARPT (55273) fail
kernel[0]: ----- ar5416Reset[192] ---- Unable to set powe mode ----
kernel[0]: ath_open: unable to reset hardware; hal status 4294967167 (freq 2472 flags 0xc0)
kernel[0]: ----- ar5416Reset[192] ---- Unable to set powe mode ----
kernel[0]: ath_reset: unable to reset hardware; hal status 4294967167
kernel[0]: ----- ar5416Reset[192] ---- Unable to set powe mode ----
kernel[0]: ath_do_pwrworkaround: unable to reset hardware; hal status 4294967167
kernel[0]: ----- ar5416Reset[192] ---- Unable to set powe mode ----
kernel[0]: ath_open: unable to reset hardware; hal status 4294967167 (freq 2472 flags 0xc0)
kernel[0]: ----- ar5416Reset[192] ---- Unable to set powe mode ----
kernel[0]: ath_reset: unable to reset hardware; hal status 4294967167
kernel[0]: ----- ar5416Reset[192] ---- Unable to set powe mode ----
kernel[0]: ath_open: unable to reset hardware; hal status 4294967167 (freq 2472 flags 0xc0)
kernel[0]: ----- ar5416Reset[192] ---- Unable to set powe mode ----
kernel[0]: ath_reset: unable to reset hardware; hal status 4294967167

Device under PCIe slot

Device (MRP9)			{				Name (_ADR, 0x00090000)				Method (_STA, 0, NotSerialized)				{					Return (0x0F)				}				Method (_PRW, 0, NotSerialized)				{					Return (Package (0x02)					{						0x09, 						0x04					})				}								Device (ARPT)				{					Name (_ADR, Zero)					Method (_PRW, 0, NotSerialized)					{						Return (Package (0x02)						{							0x0B, 							0x05						})					}					Method (_DSM, 4, NotSerialized)					{						Store (Package (0x0C)							{								"AAPL,slot-name", 								Buffer (0x08)								{									"AirPort"								}, 								"device-id", 								Buffer ()								{									0x2A, 0x00, 0x00, 0x00								}, 								"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)						MCDP (Arg2, RefOf (Local0))						Return (Local0)					}				}				OperationRegion (IPE9, PCI_Config, Zero, 0xFF)				Scope (\)				{					Field (\_SB.PCI0.MRP9.IPE9, ByteAcc, NoLock, Preserve)					{						IVI9,   16, 								Offset (0xB2), 						IRS9,   8					}				}								Name (IPC9, Package (0x04)				{					Package (0x04)					{						0xFFFF, 						Zero, 						LNKA, 						Zero					}, 					Package (0x04)					{						0xFFFF, 						One, 						LNKB, 						Zero					}, 					Package (0x04)					{						0xFFFF, 						0x02, 						LNKC, 						Zero					}, 					Package (0x04)					{						0xFFFF, 						0x03, 						LNKD, 						Zero					}				})				Name (IAC9, Package (0x04)				{					Package (0x04)					{						0xFFFF, 						Zero, 						Zero, 						0x10					}, 					Package (0x04)					{						0xFFFF, 						One, 						Zero, 						0x11					}, 					Package (0x04)					{						0xFFFF, 						0x02, 						Zero, 						0x12					}, 					Package (0x04)					{						0xFFFF, 						0x03, 						Zero, 						0x13					}				})				Name (ISC9, Package (0x04)				{					Package (0x04)					{						0xFFFF, 						Zero, 						Zero, 						0x20					}, 					Package (0x04)					{						0xFFFF, 						One, 						Zero, 						0x2A					}, 					Package (0x04)					{						0xFFFF, 						0x02, 						Zero, 						0x2F					}, 					Package (0x04)					{						0xFFFF, 						0x03, 						Zero, 						0x29					}				})				Method (_PRT, 0, NotSerialized)				{					If (LNot (PICF))					{						Return (IPC9)					}					If (LEqual (PIOH, One))					{						Return (ISC9)					}					Return (IAC9)				}			}



How can i fix this ?

#49
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
kerr try
Device (ARPT){Name (_ADR, Zero)Method (_DSM, 4, NotSerialized){Store (Package (0x0C){"AAPL,slot-name",Buffer (0x08){"AirPort"},"device-id",Buffer (){0x2A, 0x00, 0x00, 0x00},"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)MCDP (Arg2, RefOf (Local0))Return (Local0)}}
also this looks funny theres an x ??
Method (_STA, 0, NotSerialized)
{
Return (0x0F)x
}


#50
kerr

kerr

    InsanelyMac Protégé

  • Members
  • PipPip
  • 94 posts
ok, i'll give it a try

as for _STA method - it's a typo, there is no "x" in the DSDT that i'm using.

#51
Onixs

Onixs

    Since 2007

  • Members
  • PipPipPipPipPipPipPip
  • 735 posts
  • Gender:Male
Hi

is there a chance to make this 9285 work on N router? No issue on G.

When trying to connect on N, it can detect the network name but after entering the password, there will be a exclamation point on top of the airport icon and getting no IP.

#52
Skvo

Skvo

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Location:Russia, Vologda

is there a chance to make this 9285 work on N router? No issue on G.

When trying to connect on N, it can detect the network name but after entering the password, there will be a exclamation point on top of the airport icon and getting no IP.


Yes. Now AR9285 works on N router.

For use to install new driver for AR9285 - http://www.mediafire...e3tb7nb274xdx21
Driver works only on MacOS X 10.6.7 !


P.S. New driver based on AirPortAtheros9388.kext from iMac 2011...

#53
artimess

artimess

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts

Yes. Now AR9285 works on N router.

For use to install new driver for AR9285 - http://www.mediafire...e3tb7nb274xdx21
Driver works only on MacOS X 10.6.7 !


P.S. New driver based on AirPortAtheros9388.kext from iMac 2011...

Thank you soooooooooooo much. Finally my card works.
Artimess

#54
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
strange. . every time i run comboupdate 10.6.7 i get KP once then i boot with -v -x then reboot and it works fine ??
im going to try the dsdt subvendor change to apples to see if its that (askey AR5B91 from toshiba satelite a305 single transmitter PA3665U-1MPC )
seems to detect as airport extreme oob and works fine so far.. compared to aw-ne772 AR5B92 dual transmitter that doesnt (havent tested new kext yet)

#55
Corona

Corona

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts
Hi, Just want to say thanks for the info. This works with Toshiba NB200 wifi adapter, although I'm just using LegacyAtheros.kext from the earlier post here so far, I'll get to the dsdt a little later (have a few things to fix there).

Cheers,
Andrew

#56
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
did a fresh install 10.6.0 in usb (untoched) with dsdt and chameleon and fakesmc 2.5 in hdd EFI (booted from hdd to usb) :P all went smooth.
no wifi as expected until(10.6.3+) 10.6.7 comboupdate.
NO KP so it looks like i had messed up my kexts i guess... but its all good now.

all i did in the dsdt was subsys vendor ids change not the device id as my card is 0x2A (supported) so it builds with *cause of the same id already there.
have not flashed card but says its on APAC (instead of FCC ?) and USA LOL talk about close ties anyways 100% reliable and wifi n i believe works as i hit max isp speed.

#57
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy
HI, I'm trying to add info about my atheros wireless card in system profiler using dsdt.
I have added this[codebox]Device (RP06)
{
Name (_ADR, 0x001E0000)
Device (ARPT)
{
Name (_ADR, Zero)
Name (_PRW, Package (0x02)
{
0x09,
0x03
})
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x10)
{
"AAPL,slot-name",
Buffer (0x08)
{
"AirPort"
},
"device-id",
Buffer (0x04)
{
0x13, 0x00, 0x00, 0x00
},
"device_type",
Buffer (0x11)
{
"Wireless Network"
},
"model",
Buffer (0x2D)
{
"Atheros Communications Inc. Atheros AR5001X+"
},
"built-in",
Buffer (One)
{
0x00
},
"subsystem-id",
Buffer (0x04)
{
0x13, 0x3A, 0x00, 0x00
},
"subsystem-vendor-id",
Buffer (0x04)
{
0x86, 0x11, 0x00, 0x00
},
"vendor-id",
Buffer (0x04)
{
0x8C, 0x16, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x0B, 0x04))
}
Method (_PRT, 0, NotSerialized)
{
If (PICM)
{
Return (AR01)
}
Return (PR01)
}
}[/codebox]


but not works. Any suggestion? the card works fine (just no info)
seems thas ioreg doesn't recognize dsdt injection of arpt subdevice.
Attached File  Mac_Pro.zip   666.78KB   57 downloads
Attached File  dsdt.aml.zip   17.86KB   29 downloads

#58
iLeopod

iLeopod

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 435 posts
  • Gender:Male
  • Location:Germany
  • Interests:ileopod.wordpress.com
Device (RP06)
			{
				Name (_ADR, 0x001E0000)
				Device (ARPT)
				{
					Name (_ADR, One)
				
			  //..rest of code

Try to Change Adr to 1 or 0x00100000

#59
ytrox

ytrox

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Italy
original device was

Device (P0P1)
{
Name (_ADR, 0x001E0000)

if I change it I lost also my connection

#60
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,509 posts
  • Gender:Male
  • Location:Tampa, Florida
this might help.
Name (_ADR, Zero)
 Name (_SUN, One)
 Name (_PRW, Package (0x02)
					{
						0x09, 
						0x03
					})
by the way.. why are u using wrong subvendor and subsystem?
you want to fake as the real apple airport chipset numbers that match your Chipet model. not your own

but to get the Airport Name
u have
"device_type",
Buffer (0x11)
{
"Wireless Network"
},

change to Airport

if its same id. it wont do anything. just gives you a * since its same number as card.





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