Jump to content

Clover General discussion


ErmaC
29,866 posts in this topic

Recommended Posts

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

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.

  • Like 2
Link to comment
Share on other sites

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

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 by ellaosx
  • Confused 1
Link to comment
Share on other sites

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

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

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

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

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

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 by vector sigma
Link to comment
Share on other sites

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

 

  • Like 2
Link to comment
Share on other sites

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

 

What log do you want?

 

I haven't changed anything other than Clover version. HD4000 laptop

install 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

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

  • Like 1
Link to comment
Share on other sites

3 minutes ago, Dr. Hurt said:

 

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 by Sherlocks
  • Thanks 1
Link to comment
Share on other sites

×
×
  • Create New...