diff --git a/ACPI/SSDT-BrcmFix.asl b/ACPI/SSDT-BrcmFix.asl new file mode 100644 index 0000000..fe1778f --- /dev/null +++ b/ACPI/SSDT-BrcmFix.asl @@ -0,0 +1,31 @@ +/** + * DW1820A Property Injection + */ +DefinitionBlock ("", "SSDT", 2, "OSY86 ", "BrcmFix", 0x00001000) +{ + External (DTGP, MethodObj) // 5 Arguments + External (OSDW, MethodObj) // 0 Arguments + External (\_SB.PCI0.RP03.PXSX, DeviceObj) + + Scope (\_SB.PCI0.RP03.PXSX) + { + Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method + { + If (OSDW ()) + { + If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b"))) + { + Local0 = Package () + { + "pci-aspm-default", Buffer() { 0x00 }, + "brcmfx-country", Buffer() { "#a" }, + } + DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) + Return (Local0) + } + } + + Return (Zero) + } + } +} diff --git a/Installer/Package.pkgproj b/Installer/Package.pkgproj index 0cee179..c54e255 100644 --- a/Installer/Package.pkgproj +++ b/Installer/Package.pkgproj @@ -5970,6 +5970,39 @@ CHILDREN + + CHILDREN + + + CHILDREN + + GID + 0 + PATH + data/ACPI/SSDT-BrcmFix.aml + PATH_TYPE + 1 + PERMISSIONS + 420 + TYPE + 3 + UID + 0 + + + GID + 0 + PATH + ACPI + PATH_TYPE + 2 + PERMISSIONS + 509 + TYPE + 2 + UID + 0 + CHILDREN @@ -6224,8 +6257,6 @@ PREINSTALL_PATH - PATH - scripts/set_brcm.sh PATH_TYPE 1 diff --git a/Installer/data/BrcmPatchRAM/source.txt b/Installer/data/BrcmPatchRAM/source.txt index e84f925..d05f83a 100644 --- a/Installer/data/BrcmPatchRAM/source.txt +++ b/Installer/data/BrcmPatchRAM/source.txt @@ -1,2 +1,2 @@ -https://github.com/acidanthera/BrcmPatchRAM/releases/download/2.5.1/BrcmPatchRAM-2.5.1-RELEASE.zip -628e78da284af830b368b3006e2d5c910d5feb74cb121a8d522b7824654d184c \ No newline at end of file +https://github.com/acidanthera/BrcmPatchRAM/releases/download/2.5.2/BrcmPatchRAM-2.5.2-RELEASE.zip +f86017d005ac166a5905d133add854620780ff6cc0cb9b0d4ae95d4ea75fc0f5 \ No newline at end of file diff --git a/Installer/scripts/set_brcm.sh b/Installer/scripts/set_brcm.sh deleted file mode 100644 index 7ce8579..0000000 --- a/Installer/scripts/set_brcm.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -printf "%s " "brcmfx-country=#a" > "$INSTALLER_TEMP/boot-args-brcm.txt"