Slice Posted October 6, 2018 Share Posted October 6, 2018 On 10/5/2018 at 8:22 AM, WinstonAce said: Hi Is there a way to use the ACPI patcher to delete device/scope from dsdt? for example delete this from DSDT Scope (_SB.PCI0.XHC.RHUB.HS04) { Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { If (!PRTE (_ADR)) { Return (UPCN) /* \_SB_.PCI0.XHC_.RHUB.UPCN */ } Return (UPC3) /* \_SB_.PCI0.XHC_.RHUB.UPC3 */ } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Return (PLD4) /* \_SB_.PCI0.XHC_.RHUB.PLD4 */ } } Thanks Clover's AcpiPatcher can delete part of ACPI code. It works in binary mode so you have to define in Find aml codes to delete and empty in Replace data. Link to comment Share on other sites More sharing options...
WinstonAce Posted October 6, 2018 Share Posted October 6, 2018 Can you show me how to generate a find pattern for example? Thanks Link to comment Share on other sites More sharing options...
Slice Posted October 6, 2018 Share Posted October 6, 2018 On 10/3/2018 at 2:53 AM, ellaosx said: Ahh, i didn't know this. Because the last time i asked, it was still under developement. So its ok to replace osxfatbinary with appleimageloader now? Thanks! Both OsxFatBinary and AppleImageLoader needed for loading 32/64 bit images. Fat images which exists in systems before 10.8. For systems 10.13-10.14 no sense to bother about fat images. Both drivers not needed. EfiImageLoad protocol already exists in our UEFI BIOSes as well as in legacy Clover. 2 Link to comment Share on other sites More sharing options...
Slice Posted October 6, 2018 Share Posted October 6, 2018 20 minutes ago, WinstonAce said: Can you show me how to generate a find pattern for example? Thanks OK, example 1 Link to comment Share on other sites More sharing options...
WinstonAce Posted October 6, 2018 Share Posted October 6, 2018 Thanks when I try to replace the code with empty <> I get invalid patch! in bdmesg an it obviously do nothing when I try to replace it with spaces <20 20 20 20 20 20 20 20> it's working (ioreg showing the device is gone) but the DSDT is corrupted (can't open it with MacIasl) Link to comment Share on other sites More sharing options...
LockDown Posted October 6, 2018 Share Posted October 6, 2018 (edited) 51 minutes ago, Slice said: Both OsxFatBinary and AppleImageLoader needed for loading 32/64 bit images. Fat images which exists in systems before 10.8. For systems 10.13-10.14 no sense to bother about fat images. Both drivers not needed. EfiImageLoad protocol already exists in our UEFI BIOSes as well as in legacy Clover. @Slice If i underatand it correctly, 10.6 - 10.12 = both needed 10.13+ = both NOT needed Yes? Edited October 6, 2018 by ellaosx 1 Link to comment Share on other sites More sharing options...
D-an-W Posted October 6, 2018 Share Posted October 6, 2018 I now have the drivers below present and use both 10.12.6 and 10.14.2, how do I check for correct operation? Link to comment Share on other sites More sharing options...
Slice Posted October 6, 2018 Share Posted October 6, 2018 2 hours ago, WinstonAce said: Thanks when I try to replace the code with empty <> I get invalid patch! in bdmesg an it obviously do nothing when I try to replace it with spaces <20 20 20 20 20 20 20 20> it's working (ioreg showing the device is gone) but the DSDT is corrupted (can't open it with MacIasl) not 20 20..., it is not valid AML code. AFAIK 90 is valid empty aml command. 1 hour ago, ellaosx said: @Slice If i underatand it correctly, 10.6 - 10.12 = both needed 10.13+ = both NOT needed Yes? 10.4 - 10.8 = one of them needed 10.9 - 10.14 = both not needed 1 1 Link to comment Share on other sites More sharing options...
WinstonAce Posted October 6, 2018 Share Posted October 6, 2018 3 minutes ago, Slice said: not 20 20..., it is not valid AML code. AFAIK 90 is valid empty aml command. Thanks again already tried it, unfortunately it's adding an extra "(" don't know why for now I replaced it with debug code and it's working fine Link to comment Share on other sites More sharing options...
D-an-W Posted October 6, 2018 Share Posted October 6, 2018 2 hours ago, Slice said: not 20 20..., it is not valid AML code. AFAIK 90 is valid empty aml command. 10.4 - 10.8 = one of them needed 10.9 - 10.14 = both not needed Please excuse my ignorance here but is not that the same thing? Link to comment Share on other sites More sharing options...
Slice Posted October 7, 2018 Share Posted October 7, 2018 23 hours ago, D-an-W said: Please excuse my ignorance here but is not that the same thing? What is the same? "needed" and "not needed". Link to comment Share on other sites More sharing options...
D-an-W Posted October 7, 2018 Share Posted October 7, 2018 2 hours ago, Slice said: What is the same? "needed" and "not needed". One of them needed = Only one of the two files is needed? Both not needed = Both of the two files are not needed which suggests only one is needed OR is that neither of the two files are needed? Not trying to be a pain here at all Slice, just trying to clear it up for my own knowledge! Link to comment Share on other sites More sharing options...
vector sigma Posted October 7, 2018 Share Posted October 7, 2018 (edited) 8 minutes ago, D-an-W said: One of them needed = Only one of the two files is needed? Both not needed = Both of the two files are not needed which suggests only one is needed OR is that neither of the two files are needed? Are you using 10.8 and below? Edited October 7, 2018 by vector sigma Link to comment Share on other sites More sharing options...
D-an-W Posted October 7, 2018 Share Posted October 7, 2018 Hi vector sigma, Currently the lowest I use is 10.12.6. As I said, I am just trying to get it clear in my own head...wasn't trying to be a pest. Link to comment Share on other sites More sharing options...
vector sigma Posted October 7, 2018 Share Posted October 7, 2018 1 minute ago, D-an-W said: Hi vector sigma, Currently the lowest I use is 10.12.6. don't use them! 2 1 Link to comment Share on other sites More sharing options...
Slice Posted October 8, 2018 Share Posted October 8, 2018 12 hours ago, D-an-W said: One of them needed = Only one of the two files is needed? Both not needed = Both of the two files are not needed which suggests only one is needed OR is that neither of the two files are needed? Not trying to be a pain here at all Slice, just trying to clear it up for my own knowledge! 1 - needed 0 - not needed then 01 or 10 - one of them needed 00 - both are not needed 2 Link to comment Share on other sites More sharing options...
LockDown Posted October 8, 2018 Share Posted October 8, 2018 @Slice "One of them" But i thought AppleImageLoader is not ready yet to be the replacement of the older osxfatbinary according to this by@Sherlocks Link to comment Share on other sites More sharing options...
Slice Posted October 8, 2018 Share Posted October 8, 2018 Savvas, the author, said that AppleImageLoader may be excluded at all. 1 1 Link to comment Share on other sites More sharing options...
Dr. Hurt Posted October 10, 2018 Share Posted October 10, 2018 SetIntelMaxBacklight=True broke after updating clover!! Link to comment Share on other sites More sharing options...
Sherlocks Posted October 10, 2018 Share Posted October 10, 2018 SetIntelMaxBacklight=True broke after updating clover!! please log. my sandy bridge laptop and skylaptop is no problem. logic is same like rehabman PNLF나의 LG-F800S 의 Tapatalk에서 보냄 Link to comment Share on other sites More sharing options...
Dr. Hurt Posted October 10, 2018 Share Posted October 10, 2018 23 minutes ago, Sherlocks said: please log. my sandy bridge laptop and skylaptop is no problem. logic is same like rehabman PNLF 나의 LG-F800S 의 Tapatalk에서 보냄 What log do you want? I haven't changed anything other than Clover version. HD4000 laptop Link to comment Share on other sites More sharing options...
Sherlocks Posted October 10, 2018 Share Posted October 10, 2018 What log do you want? I haven't changed anything other than Clover version. HD4000 laptopinstall latest clover and press f2 with setintelmaxbacklight for clover in GUI. then upload log here. 나의 LG-F800S 의 Tapatalk에서 보냄 Link to comment Share on other sites More sharing options...
Slice Posted October 10, 2018 Share Posted October 10, 2018 1 minute ago, Sherlocks said: install latest clover and press f4 with setmaxbacklight for clover in GUI. then upload log here. 나의 LG-F800S 의 Tapatalk에서 보냄 F2 1 Link to comment Share on other sites More sharing options...
Dr. Hurt Posted October 10, 2018 Share Posted October 10, 2018 preboot.log Link to comment Share on other sites More sharing options...
Sherlocks Posted October 10, 2018 Share Posted October 10, 2018 (edited) 3 minutes ago, Dr. Hurt said: preboot.log you are not set SetIntelBacklight option 17:027 0:000 120 | 33 2D 54 4C 45 31 00 4E 17:027 0:000 Intel GFX injection not set 17:028 0:000 stringlength = 150 17:028 0:000 CurrentMode: Width=1366 Height=768 17:028 0:000 Beginning FSInjection 17:028 0:000 - ERROR: gFSInjectProtocolGuid not found! 17:028 0:000 Use origin smbios table type 1 guid. 17:028 0:000 Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other there was no log for intel backlight try <key>Devices</key> <dict> <key>SetIntelBacklight</key> <true/> <key>SetIntelMaxBacklight</key> <true/> </dict> Edited October 10, 2018 by Sherlocks 1 Link to comment Share on other sites More sharing options...
Recommended Posts