Jump to content
  • 0
Dmos

New solved patch

Question

Here post you solved patches.Please don not ask Questions here.Use Desktop and Laptop section.

?

?

ig-platform-ids for HD 4000:

ig-platform-id: 01660000, Stolen RAM for FB: 96MB, Pipes: 3, Ports: 4, FBMem: 3ig-platform-id: 01660001, Stolen RAM for FB: 96MB, Pipes: 3, Ports: 4, FBMem: 3ig-platform-id: 01660002, Stolen RAM for FB: 64MB, Pipes: 3, Ports: 1, FBMem: 1ig-platform-id: 01660003, Stolen RAM for FB: 64MB, Pipes: 2, Ports: 2, FBMem: 2ig-platform-id: 01660004, Stolen RAM for FB: 32MB, Pipes: 3, Ports: 1, FBMem: 1ig-platform-id: 01660008, Stolen RAM for FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3ig-platform-id: 01660009, Stolen RAM for FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3ig-platform-id: 0166000A, Stolen RAM for FB: 32MB, Pipes: 2, Ports: 3, FBMem: 2ig-platform-id: 0166000B, Stolen RAM for FB: 32MB, Pipes: 2, Ports: 3, FBMem: 2ig-platform-id: 01620005, Stolen RAM for FB: 32MB, Pipes: 2, Ports: 3, FBMem: 2ig-platform-id: 01620006, Stolen RAM for FB: 0MB, Pipes: 0, Ports: 0, FBMem: 0ig-platform-id: 01620007, Stolen RAM for FB: 0MB, Pipes: 0, Ports: 0, FBMem: 0

DSDT patch for HD4000:

into device name_adr 0x00020000 insertbeginMethod (_DSM, 4, NotSerialized)\n{\nStore (Package (0x02)\n{\n"AAPL,ig-platform-id",\nBuffer (0x04)\n{\n0x03, 0x00, 0x66, 0x01\n <-- put your ig platform value here.}\n}, Local0)\nDTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\nReturn (Local0)\n}end

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Patch for USB 3.

into method label _DSM parent_adr 0x00140000 remove_entry;into device name_adr 0x00140000 insertbeginMethod (_DSM, 4, NotSerialized)\n{\n? ? Store (Package ()\n? ? ? ? {\n? ? ? ? ? ? "device-id", \n? ? ? ? ? ? Buffer (0x04)\n? ? ? ? ? ? {\n? ? ? ? ? ? ? ? 0x31, 0x1e, 0x00, 0x00\n? ? ? ? ? ? }, \n? ? ? ? ? ? "built-in", \n? ? ? ? ? ? Buffer (One)\n? ? ? ? ? ? {\n? ? ? ? ? ? ? ? 0x00\n? ? ? ? ? ? }, \n? ? ? ? ? ? "AAPL,clock-id", \n? ? ? ? ? ? Buffer (One)\n? ? ? ? ? ? {\n? ? ? ? ? ? ? ? 0x03\n? ? ? ? ? ? }, \n? ? ? ? ? ? "device_type", \n? ? ? ? ? ? Buffer (0x05)\n? ? ? ? ? ? {\n? ? ? ? ? ? ? ? "XHCI"\n? ? ? ? ? ? }, \n? ? ? ? ? ? "AAPL,current-available", \n? ? ? ? ? ? 0x0834, \n? ? ? ? ? ? "AAPL,current-extra", \n? ? ? ? ? ? 0x0898, \n? ? ? ? ? ? "AAPL,current-extra-in-sleep", \n? ? ? ? ? ? 0x0640, \n? ? ? ? ? ? "AAPL,device-internal",\n? ? ? ? ? ? 0x00, \n? ? ? ? ? ? "AAPL,max-port-current-in-sleep",\n? ? ? ? ? ? 0x0834, \n? ? ? ? ? ? Buffer (One)\n? ? ? ? ? ? {\n? ? ? ? ? ? ? ? 0x00\n? ? ? ? ? ? }\n? ? ? ? }, Local0)\n? ? DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n? ? Return (Local0)\n}end

USB 3.0 patch for ProBook 4x40s based on Mieze's DSDT examples:

These patches can be used instead of GenericUSBXHCI.kext in order to use native AppleUSBXHCI.kext

Please note: You must remove GenericUSBXHCI.kext installed by the Probook Installer to use this solution.

?

Only for ProBooks that have native Intel USB3 (7-series chipset)

into device label XHC replace_contentbegin? ? Name (_ADR, 0x00140000)\n? ? OperationRegion (XPRT, PCI_Config, 0x74, 0x10)\n? ? Field (XPRT, DWordAcc, NoLock, Preserve)\n? ? {\n? ? ? ? Offset (0x01),\n?? ? ? ? PMEE, ? 1,\n?? ? ? ? ? ? , ? 6,\n?? ? ? ? PMES, ? 1\n? ? }\n? ? OperationRegion (XH1C, PCI_Config, 0xD0, 0x10)\n? ? Field (XH1C, ByteAcc, NoLock, Preserve)\n? ? {\n? ? ? ? PAHC, ? 1,\n?? ? ? ? PBHC, ? 1,\n?? ? ? ? PCHC, ? 1,\n?? ? ? ? PDHC, ? 1,\n?? ? ? ? Offset (0x08),\n?? ? ? ? PASS, ? 1,\n?? ? ? ? PBSS, ? 1,\n? ? ? ? PCSS, ? 1,\n?? ? ? ? PDSS, ? 1\n? ? }\n? ? OperationRegion (XHC2, PCI_Config, 0x44, 0x04)\n? ? Field (XHC2, ByteAcc, NoLock, Preserve)\n? ? {\n? ? ? ? Offset (0x01),\n?? ? ? ? MIAI, ? 2\n? ? }\n? ? Name (XRST, Zero)\n? ? Method (_INI, 0, NotSerialized)\n? ? {\n? ? ? ? Store (Zero, MIAI)\n? ? ? ? //rehabman: not necessary because system is always Darwin? ? ? ? //If (LAnd (LGreaterEqual (OSYS, 0x07DC), LLess (OSYS, 0x2710)))\n? ? ? ? //{\n? ? ? ? // ? ?Store (One, PASS)\n? ? ? ? // ? ?Store (One, PAHC)\n? ? ? ? // ? ?Store (One, PBSS)\n? ? ? ? // ? ?Store (One, PBHC)\n? ? ? ? // ? ?Store (One, PCSS)\n? ? ? ? // ? ?Store (One, PCHC)\n? ? ? ? // ? ?Store (One, PDSS)\n? ? ? ? // ? ?Store (One, PDHC)\n? ? ? ? //}\n? ? }\n? ? Name (_S3D, 0x02)\n? ? Name (_S4D, 0x02)\n? ? Device (RHUB)\n? ? {\n? ? ? ? Name (_ADR, Zero)\n? ? ? ? Device (PRT1)\n? ? ? ? {\n? ? ? ? ? ? Name (_ADR, One)\n? ? ? ? ? ? Name (_UPC, Package() { 0xFF, 0x03, Zero, Zero } )\n? ? ? ? ? ? Name (_PLD, Package()\n? ? ? ? ? ? {\n? ? ? ? ? ? ? ? Buffer()\n? ? ? ? ? ? ? ? {\n? ? ? ? ? ? ? ? ? ? /* 0000 */ ? 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,\n? ? ? ? ? ? ? ? ? ? /* 0008 */ ? 0x69, 0x0C, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00\n? ? ? ? ? ? ? ? }\n? ? ? ? ? ? })\n? ? ? ? ? ? Name (MUXS, "EHCA")\n? ? ? ? }\n? ? ? ? Device (PRT2)\n? ? ? ? {\n? ? ? ? ? ? Name (_ADR, 0x02)\n? ? ? ? ? ? Name (_UPC, Package() { 0xFF, 0x03, Zero, Zero } )\n? ? ? ? ? ? Name (_PLD, Package()\n? ? ? ? ? ? {\n? ? ? ? ? ? ? ? Buffer()\n? ? ? ? ? ? ? ? {\n? ? ? ? ? ? ? ? ? ? /* 0000 */ ? 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,\n? ? ? ? ? ? ? ? ? ? /* 0008 */ ? 0x69, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00\n? ? ? ? ? ? ? ? }\n? ? ? ? ? ? })\n? ? ? ? ? ? Name (MUXS, "EHCB")\n? ? ? ? }\n? ? ? ? Device (PRT3)\n? ? ? ? {\n? ? ? ? ? ? Name (_ADR, 0x03)\n? ? ? ? ? ? Name (_UPC, Package() { 0xFF, 0x03, Zero, Zero } )\n? ? ? ? ? ? Name (_PLD, Package()\n? ? ? ? ? ? {\n? ? ? ? ? ? ? ? Buffer()\n? ? ? ? ? ? ? ? {\n? ? ? ? ? ? ? ? ? ? /* 0000 */ ? 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,\n? ? ? ? ? ? ? ? ? ? /* 0008 */ ? 0x69, 0x0C, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00\n? ? ? ? ? ? ? ? }\n? ? ? ? ? ? })\n? ? ? ? ? ? Name (MUXS, "EHCC")\n? ? ? ? }\n? ? ? ? Device (PRT4)\n? ? ? ? {\n? ? ? ? ? ? Name (_ADR, 0x04)\n? ? ? ? ? ? Name (_UPC, Package() { 0xFF, 0x03, Zero, Zero } )\n? ? ? ? ? ? Name (_PLD, Package()\n? ? ? ? ? ? {\n? ? ? ? ? ? ? ? Buffer()\n? ? ? ? ? ? ? ? {\n? ? ? ? ? ? ? ? ? ? /* 0000 */ ? 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,\n? ? ? ? ? ? ? ? ? ? /* 0008 */ ? 0x69, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00\n? ? ? ? ? ? ? ? }\n? ? ? ? ? ? })\n? ? ? ? ? ? Name (MUXS, "EHCD")\n? ? ? ? }\n? ? }\n? ? Method (_DSM, 4, NotSerialized)\n? ? {\n? ? ? ? If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n? ? ? ? Return (Package()\n? ? ? ? {\n? ? ? ? ? ? "subsystem-id", Buffer() { 0x70, 0x72, 0x00, 0x00 },\n? ? ? ? ? ? "subsystem-vendor-id", Buffer() { 0x86, 0x80, 0x00, 0x00 },\n? ? ? ? ? ? "AAPL,current-available", 2100,\n? ? ? ? ? ? "AAPL,current-extra", 2200,\n? ? ? ? ? ? "AAPL,current-extra-in-sleep", 1600,\n? ? ? ? ? ? "AAPL,max-port-current-in-sleep", 2100,\n? ? ? ? ? ? "AAPL,device-internal", Zero,\n? ? ? ? })\n? ? }\n? ? Method (XHCA, 0, NotSerialized)\n? ? {\n? ? ? ? Store (One, PAHC)\n? ? }\n? ? Method (XHCB, 0, NotSerialized)\n? ? {\n? ? ? ? Store (One, PBHC)\n? ? }\n? ? Method (XHCC, 0, NotSerialized)\n? ? {\n? ? ? ? Store (One, PCHC)\n? ? }\n? ? Method (XHCD, 0, NotSerialized)\n? ? {\n? ? ? ? Store (One, PDHC)\n? ? }\n? ? Method (EHCA, 0, NotSerialized)\n? ? {\n? ? ? ? Store (Zero, PAHC)\n? ? }\n? ? Method (EHCB, 0, NotSerialized)\n? ? {\n? ? ? ? Store (Zero, PBHC)\n? ? }\n? ? Method (EHCC, 0, NotSerialized)\n? ? {\n? ? ? ? Store (Zero, PCHC)\n? ? }\n? ? Method (EHCD, 0, NotSerialized)\n? ? {\n? ? ? ? Store (Zero, PDHC)\n? ? }\nend;#Replace all instances of XHC with XHC1into_all all code_regex \.XHC replaceall_matched begin .XHC1 end;into_all all code_regex XHC\. replaceall_matched begin XHC1. end;into all label XHC set_label begin XHC1 end;#fix PR3 and XWAK XSEL errorsinto method label _PTS code_regex \s+And\s\(Local0,\s\\_SB\.PCI0\.XHC1\.PR3,\s\\_SB\.PCI0\.XHC1\.PR3\) remove_matched;into method label PWAK code_regex \s+\\_SB\.PCI0\.XHC1\.XWAK\s\(\) replace_matched begin \n\\_SB.PCI0.XHC1._INI() end;into method label _OSC replace_contentbegin? ? CreateDWordField (Arg3, 0x00, CDW1)\n? ? CreateDWordField (Arg3, 0x04, CDW2)\n? ? CreateDWordField (Arg3, 0x08, CDW3)\n? ? Store (Arg0, Local1)\n? ? If (LEqual (\SRCP (Local1, PUID), 0x01))\n? ? {\n? ? ? ? Store (CDW2, Local2)\n? ? ? ? Store (CDW3, Local3)\n? ? ? ? If (LNotEqual (And (Local2, 0x16), 0x16))\n? ? ? ? {\n? ? ? ? ? ? And (Local3, 0x1E, Local3)\n? ? ? ? }\n? ? ? ? And (Local3, 0x1D, Local3)\n? ? ? ? If (LNot (And (CDW1, 0x01)))\n? ? ? ? {\n? ? ? ? ? ? POSC (Local3, 0x01)\n? ? ? ? ? ? If (And (Local3, 0x10)) {}\n? ? ? ? }\n? ? ? ? If (LNotEqual (Arg1, One))\n? ? ? ? {\n? ? ? ? ? ? Or (CDW1, 0x08, CDW1)\n? ? ? ? }\n? ? ? ? If (LNotEqual (CDW3, Local3))\n? ? ? ? {\n? ? ? ? ? ? Or (CDW1, 0x10, CDW1)\n? ? ? ? }\n? ? ? ? Store (Local3, CDW3)\n? ? ? ? Store (Local3, OSCC)\n? ? ? ? Return (Arg3)\n? ? }\n? ? Else\n? ? {\n? ? ? ? Or (CDW1, 0x04, CDW1)\n? ? ? ? Return (Arg3)\n? ? }\nend;into device label EHC1 insertbegin? ? Method (XHCA, 0, NotSerialized)\n? ? {\n? ? ? ? Store (One, ^^XHC1.PAHC)\n? ? }\n? ? Method (XHCB, 0, NotSerialized)\n? ? {\n? ? ? ? Store (One, ^^XHC1.PBHC)\n? ? }\n? ? Method (XHCC, 0, NotSerialized)\n? ? {\n? ? ? ? Store (One, ^^XHC1.PCHC)\n? ? }\n? ? Method (XHCD, 0, NotSerialized)\n? ? {\n? ? ? ? Store (One, ^^XHC1.PDHC)\n? ? }\n? ? Method (EHCA, 0, NotSerialized)\n? ? {\n? ? ? ? Store (Zero, ^^XHC1.PAHC)\n? ? }\n? ? Method (EHCB, 0, NotSerialized)\n? ? {\n? ? ? ? Store (Zero, ^^XHC1.PBHC)\n? ? }\n? ? Method (EHCC, 0, NotSerialized)\n? ? {\n? ? ? ? Store (Zero, ^^XHC1.PCHC)\n? ? }\n? ? Method (EHCD, 0, NotSerialized)\n? ? {\n? ? ? ? Store (Zero, ^^XHC1.PDHC)\n? ? }\n? ? Name (XHCN, One)\nend;into device label EHC2 insertbegin? ? Name (XHCN, One)\nend;into device label HPT1 insert begin Name (MUXS, "XHCA") end;into device label HPT2 insert begin Name (MUXS, "XHCB") end;into device label HPT3 insert begin Name (MUXS, "XHCC") end;into device label HPT5 insert begin Name (MUXS, "XHCD") end;

Courtesy: BigDonkey

?

Share this post


Link to post
Share on other sites
  • 0

Duallink=0/1? patch in DSDT

into device name_adr 0x00010000 insertbeginMethod (_DSM, 4, NotSerialized)\n{\n    Store (Package (0x02)\n        {\n            "AAPL00,DualLink",\n            Buffer (0x04)\n            {\n                0x00, 0x00, 0x00, 0x00\n            }\n        }, Local0)\n    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n    Return (Local0)\n}end

If you want duallink=1 then change '0x01, 0x00, 0x00, 0x00 '

Share this post


Link to post
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
Answer this question...

×   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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.