Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,285
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Sorry for delay.


And Thank you for your help.

I attached the file from the tool! Very cool!

No (loadable AML) content in ACPI/patched.
 
Joined
Feb 9, 2012
Messages
307
Motherboard
Gigabyte X299 Desgnare EX
CPU
i9-9900x
Graphics
W5700
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS

Attachments

  • debug_28967.zip
    4.6 MB · Views: 84

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,285
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I am so sorry, I thought you need pure one. Ok I attached it again.

I don't see any patch in your config.plist/ACPI/DSDT/Patches that attempts to rename D05E under RP03 to ETH2.
But the rename is not needed.
And you can inject the cosmetic properties into the RP03.PXSX scope instead.

eg. in an SSDT:

Code:
Method(_SB.PCI0.RP03.PXSX._DSM, 4)
{
            Store (Package (0x0E)
                {
                    "built-in",
                    Buffer (One)
                    {
                         0x00                                          
                    },

                    "device-id",
                    Buffer (0x04)
                    {
                         0xA0, 0x43, 0x00, 0x00                        
                    },

                    "AAPL,slot-name",
                    Buffer (0x09)
                    {
                        "Built-In"
                    },

                    "device_type",
                    Buffer (0x14)
                    {
                        "Ethernet Controller"
                    },

                    "model",
                    Buffer (0x4A)
                    {
                        "Qualcomm Atheros Killer E2500 PCI Express Gigabit Ethernet"
                    },

                    "compatible",
                    Buffer (0x0D)
                    {
                        "pci14e4,43a0"
                    },

                    "name",
                    Buffer (0x16)
                    {
                        "Killer E2500 Ethernet"
                    }
                }, Local0)
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
}
 
Joined
Feb 9, 2012
Messages
307
Motherboard
Gigabyte X299 Desgnare EX
CPU
i9-9900x
Graphics
W5700
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
I don't see any patch in your config.plist/ACPI/DSDT/Patches that attempts to rename D05E under RP03 to ETH2.
But the rename is not needed.
And you can inject the cosmetic properties into the RP03.PXSX scope instead.

eg. in an SSDT:

Code:
Method(_SB.PCI0.RP03.PXSX._DSM, 4)
{
            Store (Package (0x0E)
                {
                    "built-in",
                    Buffer (One)
                    {
                         0x00                                         
                    },

                    "device-id",
                    Buffer (0x04)
                    {
                         0xA0, 0x43, 0x00, 0x00                       
                    },

                    "AAPL,slot-name",
                    Buffer (0x09)
                    {
                        "Built-In"
                    },

                    "device_type",
                    Buffer (0x14)
                    {
                        "Ethernet Controller"
                    },

                    "model",
                    Buffer (0x4A)
                    {
                        "Qualcomm Atheros Killer E2500 PCI Express Gigabit Ethernet"
                    },

                    "compatible",
                    Buffer (0x0D)
                    {
                        "pci14e4,43a0"
                    },

                    "name",
                    Buffer (0x16)
                    {
                        "Killer E2500 Ethernet"
                    }
                }, Local0)
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
}

Screen Shot 2018-04-10 at 1.06.46 PM.png


It won't show up if I did not use ETH1. (I put your code to SSDT, no luck and it keep renaming to D05E <-- no idea where this came from)

And I tried to change the name D05E to ETH1 but KP.

Screen Shot 2018-04-10 at 1.05.16 PM.png


Other idea?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,285
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
View attachment 324543

It won't show up if I did not use ETH1. (I put your code to SSDT, no luck and it keep renaming to D05E <-- no idea where this came from)

And I tried to change the name D05E to ETH1 but KP.

View attachment 324541

Other idea?

You must provide PR files that represent the problem scenario. No advice possible without it.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Joined
Feb 9, 2012
Messages
307
Motherboard
Gigabyte X299 Desgnare EX
CPU
i9-9900x
Graphics
W5700
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Sorry, I made mistake to rename part. :)) It shows up now.

Another question is in the Previous question about sleep/wake- monitor's built-in USB peripheral functions disabled issue.

Do you have any idea of that?

Post #2727

I appreciate a lot of your help and time to spend this.
 

Attachments

  • debug_28967.zip
    4.6 MB · Views: 46

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,285
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Sorry, I made mistake to rename part. :)) It shows up now.

Another question is in the Previous question about sleep/wake- monitor's built-in USB peripheral functions disabled issue.

Do you have any idea of that?

Post #2727

I appreciate a lot of your help and time to spend this.

Thunderbolt issues are off-topic here.
 
Joined
Feb 9, 2012
Messages
307
Motherboard
Gigabyte X299 Desgnare EX
CPU
i9-9900x
Graphics
W5700
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Thunderbolt issues are off-topic here.

Sorry, it is actually not TB3, it is about built-in USB function. I know how to make XHC USB patch from your guide. Thank you for the great guide. But this one is in RP21 and how to fix USB issue in that area?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,285
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Sorry, it is actually not TB3, it is about built-in USB function. I know how to make XHC USB patch from your guide. Thank you for the great guide. But this one is in RP21 and how to fix USB issue in that area?

Post #2727 shows images that relate to TB3.
The device at RP21 is your TB3 controller.
 
Joined
Feb 9, 2012
Messages
307
Motherboard
Gigabyte X299 Desgnare EX
CPU
i9-9900x
Graphics
W5700
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Post #2727 shows images that relate to TB3.
The device at RP21 is your TB3 controller.
Yeah, you are right!

Should I make a new thread for this issue? I will do that.

BTW, Thank you so much for such a long helpful conversation!
 
Top