nosound8976 Posted April 19, 2020 Share Posted April 19, 2020 Hello, I'm looking to assign manual IRQs and directly patch the .rom bios file to replace the standard ACPI Table with the customized one. Is there a way to do that? I've edited the DSDT.dsl DSDT.7z to change the IRQ, I tried to compile it in .aml but there are several syntax errors that actually I don't know how to fix those This is my bios image Z390ROM, if you can't do it directly can you link some good guides to do it myself because I couldn't find anything online how to do it correctly. Thank you for your time and help. Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted April 19, 2020 Administrators Share Posted April 19, 2020 Extract tables with F4 key in Clover boot screen, files generated in Clover/Acpi/origin, post here Donation with Paypal HERE Donation with Stripe HERE Donation with BuyMeaCoffee HERE Donation with Mercado Livre HERE Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714 Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 Donation with PicPay @danielnmaldonado Donation with PiX @danielnmaldonado@gmail.com Problems with Paypal Donate? Check HERE Donated? Send me PM with files or use DSDT Patch Requests Link to comment Share on other sites More sharing options...
nosound8976 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) Ok, I installed Cloverboot via EFI Partition and managed to get the ACPI/origin/dsdt.aml I would like to setup my IRQ devices to something like this : Device (LNKA) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {11} }) CreateWordField (RTLA, One, IRQ0) IRQ0 = PIRA /* \PIRA */ Return (RTLA) /* \_SB_.LNKA._CRS.RTLA */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x02) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLB, ResourceTemplate () { IRQ (Level, ActiveLow, ) {10} }) CreateWordField (RTLB, One, IRQ0) IRQ0 = PIRB /* \PIRB */ Return (RTLB) /* \_SB_.LNKB._CRS.RTLB */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x03) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLC, ResourceTemplate () { IRQ (Level, ActiveLow, ) {03} }) CreateWordField (RTLC, One, IRQ0) IRQ0 = PIRC /* \PIRC */ Return (RTLC) /* \_SB_.LNKC._CRS.RTLC */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x04) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLD, ResourceTemplate () { IRQ (Level, ActiveLow, ) {04} }) CreateWordField (RTLD, One, IRQ0) IRQ0 = PIRD /* \PIRD */ Return (RTLD) /* \_SB_.LNKD._CRS.RTLD */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKE) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x05) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLE, ResourceTemplate () { IRQ (Level, ActiveLow, ) {05} }) CreateWordField (RTLE, One, IRQ0) IRQ0 = PIRE /* \PIRE */ Return (RTLE) /* \_SB_.LNKE._CRS.RTLE */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKF) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x06) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLF, ResourceTemplate () { IRQ (Level, ActiveLow, ) {06} }) CreateWordField (RTLF, One, IRQ0) IRQ0 = PIRF /* \PIRF */ Return (RTLF) /* \_SB_.LNKF._CRS.RTLF */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKG) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x07) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLG, ResourceTemplate () { IRQ (Level, ActiveLow, ) {07} }) CreateWordField (RTLG, One, IRQ0) IRQ0 = PIRG /* \PIRG */ Return (RTLG) /* \_SB_.LNKG._CRS.RTLG */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } I will modify via AMIBCP the Int A/B/C/D/ to config the devices. Can you tell me if this is the correct way to do that? Thank you. Â DSDT.7z Edited April 19, 2020 by nosound8976 Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted April 19, 2020 Administrators Share Posted April 19, 2020 DSDT.aml.zip Donation with Paypal HERE Donation with Stripe HERE Donation with BuyMeaCoffee HERE Donation with Mercado Livre HERE Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714 Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 Donation with PicPay @danielnmaldonado Donation with PiX @danielnmaldonado@gmail.com Problems with Paypal Donate? Check HERE Donated? Send me PM with files or use DSDT Patch Requests Link to comment Share on other sites More sharing options...
nosound8976 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) Thank you for trying but the IRQs are not changed with your DSDT file. I checked with the DSDT Editor and the values are the same. The values that I would like to be are the ones in the previous post. Â Â Edited April 19, 2020 by nosound8976 Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted April 19, 2020 Administrators Share Posted April 19, 2020 why u need this patch? for macos u dont need it, for macos u need patches inside my dsdt above Donation with Paypal HERE Donation with Stripe HERE Donation with BuyMeaCoffee HERE Donation with Mercado Livre HERE Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714 Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 Donation with PicPay @danielnmaldonado Donation with PiX @danielnmaldonado@gmail.com Problems with Paypal Donate? Check HERE Donated? Send me PM with files or use DSDT Patch Requests Link to comment Share on other sites More sharing options...
nosound8976 Posted April 19, 2020 Author Share Posted April 19, 2020 (edited) I'm trying to avoid IRQ Sharing because I'm having major problems with high load devices in the same IRQ line. Can you please edit those lines as I wrote? Thank you Edited April 20, 2020 by nosound8976 Link to comment Share on other sites More sharing options...
nosound8976 Posted April 20, 2020 Author Share Posted April 20, 2020 Sorry for double posting but can you do that please? If you can't just let me know. Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted April 20, 2020 Administrators Share Posted April 20, 2020 DSDT.IRQs.zip Donation with Paypal HERE Donation with Stripe HERE Donation with BuyMeaCoffee HERE Donation with Mercado Livre HERE Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714 Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 Donation with PicPay @danielnmaldonado Donation with PiX @danielnmaldonado@gmail.com Problems with Paypal Donate? Check HERE Donated? Send me PM with files or use DSDT Patch Requests Link to comment Share on other sites More sharing options...
nosound8976 Posted April 20, 2020 Author Share Posted April 20, 2020 (edited) EDIT : I managed somehow to load it in windows. Now it gives me ACPI BIOS ERROR while loading the system at that is fine because the bootloader load the customized DSDT. Is it possible to have just the IRQ Edits inside the DSDT.aml file instead having the MACOS patches? Â Device (LNKA) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {11} }) CreateWordField (RTLA, One, IRQ0) IRQ0 = PIRA /* \PIRA */ Return (RTLA) /* \_SB_.LNKA._CRS.RTLA */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x02) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLB, ResourceTemplate () { IRQ (Level, ActiveLow, ) {10} }) CreateWordField (RTLB, One, IRQ0) IRQ0 = PIRB /* \PIRB */ Return (RTLB) /* \_SB_.LNKB._CRS.RTLB */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x03) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLC, ResourceTemplate () { IRQ (Level, ActiveLow, ) {03} }) CreateWordField (RTLC, One, IRQ0) IRQ0 = PIRC /* \PIRC */ Return (RTLC) /* \_SB_.LNKC._CRS.RTLC */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x04) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLD, ResourceTemplate () { IRQ (Level, ActiveLow, ) {04} }) CreateWordField (RTLD, One, IRQ0) IRQ0 = PIRD /* \PIRD */ Return (RTLD) /* \_SB_.LNKD._CRS.RTLD */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKE) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x05) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLE, ResourceTemplate () { IRQ (Level, ActiveLow, ) {05} }) CreateWordField (RTLE, One, IRQ0) IRQ0 = PIRE /* \PIRE */ Return (RTLE) /* \_SB_.LNKE._CRS.RTLE */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKF) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x06) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLF, ResourceTemplate () { IRQ (Level, ActiveLow, ) {06} }) CreateWordField (RTLF, One, IRQ0) IRQ0 = PIRF /* \PIRF */ Return (RTLF) /* \_SB_.LNKF._CRS.RTLF */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } Device (LNKG) { Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID Name (_UID, 0x07) // _UID: Unique ID Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings { Name (RTLG, ResourceTemplate () { IRQ (Level, ActiveLow, ) {07} }) CreateWordField (RTLG, One, IRQ0) IRQ0 = PIRG /* \PIRG */ Return (RTLG) /* \_SB_.LNKG._CRS.RTLG */ } Method (_STA, 0, Serialized) // _STA: Status { Return (0x0B) } } DSDT.7z Edited April 20, 2020 by nosound8976 Link to comment Share on other sites More sharing options...
nosound8976 Posted April 20, 2020 Author Share Posted April 20, 2020 *Added DSDT Link to comment Share on other sites More sharing options...