newapple4g Posted October 16, 2014 Share Posted October 16, 2014 First I try to disassemble Dsdt and Ssdt located at Clover\ACPI\Origin ,but iasl gives error. Then I try Dsdt created from linux but dissembled dsdt have errors that I can't fix. Please help me ? origin.zip Linux ACPI Tables.zip Link to comment Share on other sites More sharing options...
RehabMan Posted October 16, 2014 Share Posted October 16, 2014 First I try to disassemble Dsdt and Ssdt located at Clover\ACPI\Origin ,but iasl gives error. Then I try Dsdt created from linux but dissembled dsdt have errors that I can't fix. Please help me ? With Linux DSDT.dsl, use ACPI 4.0. Remove the (two) lines causing the errors. Link to comment Share on other sites More sharing options...
newapple4g Posted October 16, 2014 Author Share Posted October 16, 2014 Done 0 errors . But will this dsdt work without those lines ? I apply Brightness fix(Haswell) patch and get 2 errors and lots of warnings. Can it be caused by deleting two lines ? 19652, 4064, Object does not exist (\_SB.PCI0.IGPU.BAR1) 19717, 4065, Object not found or not accessible from scope (^^PCI0.IGPU._DOS) Link to comment Share on other sites More sharing options...
RehabMan Posted October 16, 2014 Share Posted October 16, 2014 Done 0 errors . But will this dsdt work without those lines ? Yes. The two lines are not necessary (bug in iasl disassembler). I apply Brightness fix(Haswell) patch and get 2 errors and lots of warnings. Can it be caused by deleting two lines ? 19652, 4064, Object does not exist (\_SB.PCI0.IGPU.BAR1) 19717, 4065, Object not found or not accessible from scope (^^PCI0.IGPU._DOS) You're applying to the wrong file. GFX0 device is defined in ssdt4.dsl: Speedy-ML:Linux ACPI Tables RehabMan$ grep Device.*GFX0 *.dsl ssdt4.dsl: Device (GFX0) Link to comment Share on other sites More sharing options...
newapple4g Posted October 16, 2014 Author Share Posted October 16, 2014 Yes. The two lines are not necessary (bug in iasl disassembler). You're applying to the wrong file. GFX0 device is defined in ssdt4.dsl: Speedy-ML:Linux ACPI Tables RehabMan$ grep Device.*GFX0 *.dsl ssdt4.dsl: Device (GFX0) Apply to this file but same errors. Link to comment Share on other sites More sharing options...
RehabMan Posted October 16, 2014 Share Posted October 16, 2014 Apply to this file but same errors. No problem here... Make sure you apply "Rename GFX0 to IGPU" as it is pre-req for "Brightness Fix (Haswell)". Always a good idea to read the comments in the patch :-) Link to comment Share on other sites More sharing options...
newapple4g Posted October 16, 2014 Author Share Posted October 16, 2014 I modify ssdt.aml to ssdt-1.aml and modified patched one to ssdt-2.aml and install acpibacklight kext on boot brightness apear on display settings but not work. Link to comment Share on other sites More sharing options...
RehabMan Posted October 16, 2014 Share Posted October 16, 2014 I modify ssdt.aml to ssdt-1.aml and modified patched one to ssdt-2.aml on boot brightness apear on display settings but not work You probably forgot to drop OEM SSDT tables. Post ioreg with IORegistryExplorer v2.1. Link to comment Share on other sites More sharing options...
newapple4g Posted October 16, 2014 Author Share Posted October 16, 2014 Do you mean this file ? Do you mean this file ? Armen’s MacBook Air.zip Link to comment Share on other sites More sharing options...
RehabMan Posted October 16, 2014 Share Posted October 16, 2014 Do you mean this file ? Do you mean this file ? You need to disable nvidia. In SSDT5 you find _INI and _OFF for your nvidia... Method (_INI, 0, NotSerialized) // _INI: Initialize { Store (Zero, \_SB.PCI0.PEG0.PEGP._ADR) Store (NVSD, \_SB.PCI0.PEG0.PEGP.NVID) _OFF() //added to turn nvidia off } Make sure "Rename GFX0 to IGPU" on all SSDTs you're including (renames must be balanced across all files). Link to comment Share on other sites More sharing options...
newapple4g Posted October 16, 2014 Author Share Posted October 16, 2014 I will try. What means "renames must be balanced across all files" and does need rename on dsdt ? Link to comment Share on other sites More sharing options...
RehabMan Posted October 16, 2014 Share Posted October 16, 2014 I will try. What means "renames must be balanced across all files" and does need rename on dsdt ? It means if you use "Rename GFX0 to IGPU", you must use it for DSDT or any SSDT that contains references to GFX0. Like an algebraic equation, you must apply any rename equally to all files which contain references to the object being renamed. Link to comment Share on other sites More sharing options...
newapple4g Posted October 16, 2014 Author Share Posted October 16, 2014 If i have intel hd 4600 and when i click patch for it says 2 patches 0 changes and apply button not enabled i cant click on it Link to comment Share on other sites More sharing options...
newapple4g Posted October 16, 2014 Author Share Posted October 16, 2014 And for patching gpu i must patch ssdt4.dsl ? Link to comment Share on other sites More sharing options...
RehabMan Posted October 16, 2014 Share Posted October 16, 2014 If i have intel hd 4600 and when i click patch for it says 2 patches 0 changes and apply button not enabled i cant click on it What patch are you referring to? And for patching gpu i must patch ssdt4.dsl ? ssdt4 had your GFX0 (IGPU) definition. It gets rename+brightness fix. Link to comment Share on other sites More sharing options...
newapple4g Posted October 16, 2014 Author Share Posted October 16, 2014 Intel hd 4400/4600 patch. P.S. brightness works, battery works but not showing correct time , and when pc boot ups there is a big scratches on screen but when log on there disappears , and how to check if nvidia graphics are disabled Scratches like this Link to comment Share on other sites More sharing options...
RehabMan Posted October 16, 2014 Share Posted October 16, 2014 Intel hd 4400/4600 patch. Most just use bootloader config. P.S. brightness works, battery works but not showing correct time , and when pc boot ups there is a big scratches on screen but when log on there disappears , and how to check if nvidia graphics are disabled ImageUploadedByTapatalk1413483451.109736.jpg Scratches like this Battery status generally requires DSDT patches and a kext... (such as my version of ACPIBatteryManager.kext). You can look in ioreg or System Information to see if nvidia is disabled. If your brightness controls started working after applying the patch to turn it off, then it is very likely turned off. You could try a few more things (for 'scratches'): - set bootloader resolution to native resolution - try different ig-platform-id values (0xa260006, 0xa260005, 0xa260000, 0xa160000, 0xa2e0008) - set slide=0 kernel flag - set a color profile - inject EDID - login/logout/login - rollback Azul/HD5000 kexts to 10.9.1 - patch framebuffer... (requires much research) Link to comment Share on other sites More sharing options...
newapple4g Posted October 16, 2014 Author Share Posted October 16, 2014 Changin profile works thanks. Last questions after sleep it says usb not injected properly and there is an error at clover boot " no interval found for . Using 800000" Link to comment Share on other sites More sharing options...
RehabMan Posted October 16, 2014 Share Posted October 16, 2014 ...Last questions after sleep it says usb not injected properly Probably 'ejected'... Eject/remove the USB device before sleep. and there is an error at clover boot " no interval found for . Using 800000" Normal. Link to comment Share on other sites More sharing options...
newapple4g Posted October 17, 2014 Author Share Posted October 17, 2014 Thanks for your help i am totally new on dsdt patching. I will try patch intel hd4400/4600 patch on ssdt. For other problems i know where to ask . Thanks a lot. Link to comment Share on other sites More sharing options...
newapple4g Posted October 17, 2014 Author Share Posted October 17, 2014 RehabMan do you have dsdt patch for correct initialyzing keyboard. my keyboards alt becomes command fn not working and other f1-f12 not working too. Link to comment Share on other sites More sharing options...
RehabMan Posted October 17, 2014 Share Posted October 17, 2014 RehabMan do you have dsdt patch for correct initialyzing keyboard. my keyboards alt becomes command fn not working and other f1-f12 not working too. Most laptops' Fn does not generate a scan code (My Lenovo u430 is an exception, and I used it in the custom keyboard profile in my VoodooPS2 driver). F1-F12 should work fine (to generate F1-F12), but the Fn+F1...F12 is a different story. Some BIOS switch the function of Fn+F1..F12 and F1..F12. You should be clear about whether you're talking about F1..F12 or Fn+F1..F12. Using Alt as Command is consistent with the physical layout of Apple keyboards. Link to comment Share on other sites More sharing options...
newapple4g Posted October 17, 2014 Author Share Posted October 17, 2014 I found your hp envy dsdt patch and some file for dsdt errors fix then i change acpi to 5.0 and apply that patch to dsdt and everything works can this mean that my dsdt use acpi5.0 version ? Link to comment Share on other sites More sharing options...
newapple4g Posted October 17, 2014 Author Share Posted October 17, 2014 p.s. Acpi 5.0 compiler works Link to comment Share on other sites More sharing options...
RehabMan Posted October 17, 2014 Share Posted October 17, 2014 p.s. Acpi 5.0 compiler works Newer computers generally need APCI 5.0... Link to comment Share on other sites More sharing options...
Recommended Posts