bilbo Posted February 19, 2018 Share Posted February 19, 2018 Hi.I'm trying to fix an error relating to some Xeon cpus. It seems that in the original SSDT, the order of C00X processor devices is weird for MacOsX. Comparing to the SSDT of other XEON without this problem, it seems that the only I have to do is:into Processor (C001, 0x81, 0x00000410, 0x06) { Name (_HID, "ACPI0007") // _HID: Hardware ID Name (_UID, "PCI0-CP001") // _UID: Unique ID Name (_PXM, Zero) // _PXM: Device Proximity Method (_STA, 0, NotSerialized) // _STA: Status { If (LEqual (\_SB.CSTA (Zero, One), Zero)) { Return (Zero) } Else { Return (0x0F) } } } change: Processor (C001, 0x81, 0x00000410, 0x06) to: Processor (C001, 0x00, 0x00000410, 0x06) 0x81 to 0x00 (and so on) I'm trying to write the apropiate code , to apply as many times as I need it, and apply to other ssdts (manually I have to fix almost 100 lines). Copying the structure of other patches with similar syntax fixes, It seems easy, but anything works.For instance: into Processor label C001 code_regex 0x81 replace_matched begin 0x00, end; ... it doesn't work. But if I replace 0x81 by Name (for example) , yes, it matches it with all "names" founded under the Processor device.. It seems that all variables to the right of Processor are excluded, even if I use into_all all thanks Link to comment https://www.insanelymac.com/forum/topic/332801-help-with-patch-code/ Share on other sites More sharing options...
bilbo Posted February 27, 2018 Author Share Posted February 27, 2018 anybody? I'm still trying it... Link to comment https://www.insanelymac.com/forum/topic/332801-help-with-patch-code/#findComment-2598664 Share on other sites More sharing options...
Cyberdevs Posted February 27, 2018 Share Posted February 27, 2018 anybody? I'm still trying it... Hi there, you should ask @MaLd0n or @artur_pt to help you solve the problem, They are the masters of all DSDT/SSDT related problems. Link to comment https://www.insanelymac.com/forum/topic/332801-help-with-patch-code/#findComment-2598767 Share on other sites More sharing options...
spakk Posted February 27, 2018 Share Posted February 27, 2018 (edited) download this tool, start it and then upload the generated files here. Edited February 27, 2018 by spakk Link to comment https://www.insanelymac.com/forum/topic/332801-help-with-patch-code/#findComment-2598799 Share on other sites More sharing options...
Recommended Posts