Hi Ramalama,
I am trying to understand your mods to the original DSDTs. I fetched every thing from your git. I see very often a block of code is being removed in your version of DSDT, I can seem to figure out what the removed code is supposed to do or not to do and why you deleted them. Do appreciate if you could give me some explanation of the purpose of deleted code and why you decided to take them out. Here is a complete example in which the highlighted part is removed in your version.
Thanks.
Device (PR15) { Name (_ADR, 0x05) // _ADR: Address Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities { Name (UPCP, Package (0x04) { 0xFF, 0xFF, Zero, Zero }) Return (UPCP) } Method (_PLD, 0, Serialized) // _PLD: Physical Location of Device { Name (PLDP, Package (0x01) { Buffer (0x10) { /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0008 */ 0xB1, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }) Return (PLDP) } Alias (SBV2, SDGV) Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method { Name (_T_0, Zero) // _T_x: Emitted by ASL Compiler If (LEqual (Arg0, ToUUID ("a5fc708f-8775-4ba6-bd0c-ba90a1ec72f8"))) { While (One) { Store (ToInteger (Arg2), _T_0) If (LEqual (_T_0, Zero)) { If (LEqual (Arg1, One)) { Return (Buffer (One) { 0x07 }) } Else { Return (Buffer (One) { 0x00 }) } } Else { If (LEqual (_T_0, One)) { If (LEqual (SDGV, 0xFF)) { Return (Zero) } Else { Return (One) } } Else { If (LEqual (_T_0, 0x02)) { Return (SDGV) } } } Break } } Return (Zero) } }