LatinMcG Posted April 23, 2012 Share Posted April 23, 2012 seems macman forgot to make UID of pci 0 Device (PCI0) { Name (_HID, EisaId ("PNP0A03")) Name (_ADR, Zero) Name (_UID, One) // should be Zero Name (_BBN, Zero) http://www.insanelym...pic=190780&st=0 Required for 10.6.8 and Lion: PCI Patch Device (PCI0) { Name (_HID, EisaId ("PNP0A08")) Name (_CID, EisaId ("PNP0A03")) Name (_ADR, Zero) Name (_UID, Zero) Link to comment Share on other sites More sharing options...
stoomath Posted April 23, 2012 Share Posted April 23, 2012 So do I need to insert this code somewhere as well as the original code in PEG1? Update: I just changed the UID to zero... The error message still occurred. Update 2: I have tried every permutation of the above code in PCI0 and still get the error message. Now I'm really confused... Link to comment Share on other sites More sharing options...
stoomath Posted April 25, 2012 Share Posted April 25, 2012 No other suggestions on how I might be going wrong? Would it be possible for you to insert the code into the DSDT for me? It would be really appreciated... I'm banging my head against the wall here. Link to comment Share on other sites More sharing options...
LatinMcG Posted April 25, 2012 Share Posted April 25, 2012 original dsdt ?? Name (TMAC, "GA-Z68X-UD3H-B3-F8 edits by MacMan at tonymacx86.com 2011-09-12") what bios version u have ? sounds like when i said u need dsdt u went out and found one. instead of extracting yours. Link to comment Share on other sites More sharing options...
LatinMcG Posted April 25, 2012 Share Posted April 25, 2012 for some strange reason its not letting me make device-id work in the dsdt. keeps going unicode 0. Device (ARPT) { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package (0x08) { "AAPL,slot-name", Buffer (0x08) { "AirPort" }, "device_type", Buffer (0x08) { "AirPort" }, "subsystem-id", Buffer (0x04) { 0x8F, 0x00, 0x00, 0x00 }, "device-id", Buffer (0x04) { 0x2A, 0x00, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } turns into this Device (ARPT) { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package (0x08) { "AAPL,slot-name", Buffer (0x08) { "AirPort" }, "device_type", Buffer (0x08) { "AirPort" }, "subsystem-id", Buffer (0x04) { 0x8F, 0x00, 0x00, 0x00 }, "device-id", Unicode ("0") }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } "device-id", Unicode ("0") BAD .. I NEVER HAD THIS HAPEN i was able to keep device id when i moved code to pex1 . so it something with peg1 . pciexpress graphics ? can u switch it from slot to another and check ioregistry explorer also can u show me lspci -n Link to comment Share on other sites More sharing options...
stoomath Posted April 26, 2012 Share Posted April 26, 2012 Sorry about the DSDT.aml I uploaded. I uploaded the DSDT.aml file from Library/Extras, rather than saving the extracted DSDT.aml from DSDT Explorer. Attached is the extracted DSDT. I do indeed have a pciexpress graphics card installed. I tried changing around the slot that the tp=link wifi card is in, and eventually managed to have it in now running in PEX2 (as per screen shot attached). im not sure what you mean by lspci -n. http://www.mediafire...c34009991r8cqbf Link to comment Share on other sites More sharing options...
LatinMcG Posted April 27, 2012 Share Posted April 27, 2012 add Device (ARPT) { Name (_ADR, Zero) Method (_DSM, 4, NotSerialized) { Store (Package (0x08) { "AAPL,slot-name", Buffer (0x08) { "AirPort" }, "device_type", Buffer (0x08) { "AirPort" }, "subsystem-id", Buffer (0x04) { 0x8F, 0x00, 0x00, 0x00 }, "device-id", Buffer (0x04) { 0x2A, 0x00, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } at pex2 (_ADR, blablaaddress|(here press enter if using dsdt editor not dsdtse) here u add the code above ( u can change device id to 30 instead of 2A to try firmware 4. instead of version 2. for 2A ar9280) tip to not copy coloring codes from forum .. paste to notepad first then make plain text.. then recopy from text editor and paste to dsdt editor.. lspci http://www.osx86.es/?p=620 your dsdt from macman is for bios F8. do u have F8 text compare the .dsl of both yours and his to see whats changed. Link to comment Share on other sites More sharing options...
stoomath Posted April 29, 2012 Share Posted April 29, 2012 Okay thanks latinmcg. I just tried your suggestions, and have been trying to get it to work for hours now... I think im way out of my depth here and completely lost. Would you be able to insert the code for me? And yes my bios is F8. DSDT editor doesn't compile for me (and doesn't give me any errors), DSDTSE gives me errors saying there are invalid characters (but there are no characters on the line it refers to). If you could insert the code for me it would be greatly appreciated. I'd be able to see how it is supposed to be entered properly. Link to comment Share on other sites More sharing options...
pnoytechie Posted May 8, 2012 Share Posted May 8, 2012 I've been trying this. But I'm not good in DSDTing Could anyone tell me how to put this correctly in my DSDT? I'm using ASRock Z77 Extreme4 board with i5 2500k. Atheros 9285 card is TP-Link TL-WN781ND v1. I extracted my DSDT (using DSDTE/DSDT Editor), but when I tried to integrate the DSDT code (from page 1), IASL gives me errors (18 errors to be exact). Could anyone tell me how to correct this? here's the original, unmodified DSDT from my board: dsdt_stock.txt here's the version after I inserted the code in page 1: dsdt_modded.txt and here goes the IASL compilation log, with 18 errors: iasl_log.txt RP07 is where the card is plugged in, as shown in IOReg: Anyhelp will be greatly appreciated. Thanks in advance! Link to comment Share on other sites More sharing options...
juanerson Posted May 9, 2012 Share Posted May 9, 2012 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 DSDT ready.zip DeviceMergeNub.kext_AtherosNewma40_AirPort.zip DeviceMergeNub.kext_AtherosFusion21_AirPort.zip 2 Link to comment Share on other sites More sharing options...
LatinMcG Posted May 9, 2012 Share Posted May 9, 2012 juanerson when u get a card like ar9285 or 9287 that wont work with id 2A try 30. it uses firmware 4 not 2 in binary Link to comment Share on other sites More sharing options...
pnoytechie Posted May 9, 2012 Share Posted May 9, 2012 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 thank you very much juanerson. i haven't tried it yet, but i will when i get the time. so you mean to say that this DSDT patch for AR9285 will not work without the devicemergenub? thanks again, appreciate it. Link to comment Share on other sites More sharing options...
LatinMcG Posted May 11, 2012 Share Posted May 11, 2012 thank you very much juanerson. i haven't tried it yet, but i will when i get the time. so you mean to say that this DSDT patch for AR9285 will not work without the devicemergenub? thanks again, appreciate it. devicemergenub was adjusted to change country code locale. Link to comment Share on other sites More sharing options...
yurick Posted May 26, 2012 Share Posted May 26, 2012 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 ("*"), "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) } } } Link to comment Share on other sites More sharing options...
LatinMcG Posted May 27, 2012 Share Posted May 27, 2012 yurick .. device id is unicode. u can remove that line Link to comment Share on other sites More sharing options...
yurick Posted May 27, 2012 Share Posted May 27, 2012 Card works well You can also use Legacy to complete the work AirPortAtheros 40 LegacyAtheros.kext.zip Link to comment Share on other sites More sharing options...
pnoytechie Posted June 4, 2012 Share Posted June 4, 2012 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. Link to comment Share on other sites More sharing options...
alianyn Posted June 12, 2012 Share Posted June 12, 2012 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.qualcomm.com/technology/technology.php?nav1=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. DSDTs.zip Link to comment Share on other sites More sharing options...
alianyn Posted June 13, 2012 Share Posted June 13, 2012 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 > Contentsand delete the following 2 lines <key>OSBundleRequired</key> <string>Network-Root</string> 1 Link to comment Share on other sites More sharing options...
yurick Posted July 8, 2012 Share Posted July 8, 2012 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 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) } } } Link to comment Share on other sites More sharing options...
kizwan Posted October 31, 2012 Share Posted October 31, 2012 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. Link to comment Share on other sites More sharing options...
LatinMcG Posted November 2, 2012 Share Posted November 2, 2012 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 Link to comment Share on other sites More sharing options...
kizwan Posted November 2, 2012 Share Posted November 2, 2012 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. Link to comment Share on other sites More sharing options...
LatinMcG Posted November 3, 2012 Share Posted November 3, 2012 nah i dont have wifi anymore . inspiron wiped .. desktop does have os x Link to comment Share on other sites More sharing options...
kizwan Posted November 3, 2012 Share Posted November 3, 2012 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. Link to comment Share on other sites More sharing options...
Recommended Posts