Jump to content

SSDT patch for instant wake (LG SD550 - HM77)


illyfs
 Share

5 posts in this topic

Recommended Posts

hello,

I have installed Catalina 10.15.7 on my laptop and most of the features are working.

There was a problem with the sleep function, so I tried patching it, but it didn't solve the problem.

I'd like to get some help on whether my patch is correct.

 

2022-08-14 16:11:37.820194+0900  localhost kernel[0]: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: GLAN

 

cpu - ivy bridge i5-3230m

mb - HM77

 

install os - catalina 10.15.7 

smbios - MacBookPro10,2

 

bootloader - Opencore 0.8.3

 

extract dsdt from windows10

    Scope (_SB.PCI0)

    {

        Device (GLAN)

        {

            Name (_ADR, 0x00190000)  // _ADR: Address

            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake

            {

                If (WOLE)

                {

                    Return (Package (0x02)

                    {

                        0x0D,

                        0x05

                    })

                }

                Else

                {

                    Return (Package (0x02)

                    {

                        0x0D,

                        Zero

                    })

                }

            }


            Method (_PSW, 1, NotSerialized)  // _PSW: Power State Wake

            {

                LNPW = Arg0

            }

        }

 

my patch

DefinitionBlock ("", "SSDT", 2, "CORP ", "SsdtGLAN", 0x00001000)

{

    External (\_SB.PCI0, DeviceObj)

    External (\_SB.PCI0.GLAN, DeviceObj)


    Scope (\_SB.PCI0)

    {

        Device (GLAN)

        {

          Name (_ADR, 0x00190000)  // _ADR: Address

            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake

            {

                    Return (Package (0x02)

                    {

                        0x09,

                        0x04

                    })


            }


        }

    }

}

 

Edited by Allan
Code tag
Link to comment
Share on other sites

Thank you,

 

With your help, GLAN problerm was solved!!!

 

but,,,

 

2022-08-14 22:22:47 +0900 Wake                Wake from Normal Sleep [CDNVA] : due to EH01 EH02 XHC/UserActivity Assertion Using AC

 

anyway, thank you

Link to comment
Share on other sites

Try adding _DSM USB. Ioreg true mac same as your SMBios.

Screenshot 2022-08-15 alle 17.50.10.png

 

Give me the whole EFI thanks.

Describe the brand model of the laptop.
Post ioreg please , you could disable and swichare the USB 2.0 on XHC and solve various problems.

 

Example: take care of HP 630 SMBios MacbookPro 6.2, you need other values.

1125025177_Screenshot2022-08-15alle17_59_00.thumb.png.868f85e0fa85363c145798b2c394e580.png

Edited by Baio77
Link to comment
Share on other sites

Here is my EFI folder.

 

By adding 060D rename patch, sleeping seems to work.

 

─ CPU
  └── Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
      ├── Cores: 2
      ├── Threads: 4
      ├── SSE: SSE4.2
      ├── SSSE3: Supported
      └── Codename: Ivy Bridge

─ Motherboard
  ├── Model: LG4C
  └── Manufacturer: Quanta

─ GPU
  └── Intel(R) HD Graphics 4000
      ├── Device ID: 0x0166
      ├── Vendor: 0x8086
      ├── PCI Path: PciRoot(0x0)/Pci(0x2,0x0)
      └── ACPI Path: \_SB.PCI0.GFX0

─ Memory
  ├── M471B5273DH0-CH9 (Part-Number)
  │   ├── Type: DDR3
  │   ├── Slot
  │   │   ├── Bank: BANK 0
  │   │   └── Channel: DIMM0
  │   ├── Frequency (MHz): 1333 MHz
  │   ├── Manufacturer: Samsung
  │   └── Capacity: 4096MB
  └── M471B5273DH0-CH9 (Part-Number)
      ├── Type: DDR3
      ├── Slot
      │   ├── Bank: BANK 2
      │   └── Channel: DIMM1
      ├── Frequency (MHz): 1333 MHz
      ├── Manufacturer: Samsung
      └── Capacity: 4096MB

─ Network
  ├── AR928X Wireless Network Adapter (PCI-Express)
  │   ├── Device ID: 0x002A
  │   ├── Vendor: 0x168C
  │   ├── PCI Path: PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)
  │   └── ACPI Path: \_SB.PCI0.RP01.PXSX
  └── AR8161 Gigabit Ethernet
      ├── Device ID: 0x1091
      ├── Vendor: 0x1969
      ├── PCI Path: PciRoot(0x0)/Pci(0x1c,0x1)/Pci(0x0,0x0)
      └── ACPI Path: \_SB.PCI0.RP02.PXSX

─ Audio
  ├── Unknown Sound Device
  │   ├── Device ID: 0x2806
  │   └── Vendor: 0x8086
  └── Realtek ALC269
      ├── Device ID: 0x0269
      └── Vendor: 0x10EC

─ Storage
  ├── Samsung SSD 860 EVO 250GB
  │   ├── Type: Solid State Drive (SSD)
  │   ├── Connector: Serial ATA (SATA)
  │   └── Location: Internal
  └── JetFlash Transcend 16GB
      ├── Type: Unspecified
      ├── Connector: USB
      └── Location: External

EFI.zip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...