From: Antonio Ospite Date: Mon, 8 Aug 2016 10:51:41 +0000 (+0200) Subject: Remove useless audio devices X-Git-Url: https://git.ao2.it/Teclast-X98-Air-3G_C6J6_custom_DSDT.git/commitdiff_plain/72674ee09430cb35c4a318fed9d298c3bdb1eadf?ds=inline Remove useless audio devices --- diff --git a/dsdt.dsl b/dsdt.dsl index d9d09cc..f4afcc3 100644 --- a/dsdt.dsl +++ b/dsdt.dsl @@ -3727,178 +3727,6 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) Local0 = PSAT /* \_SB_.LPEA.PSAT */ } } - - Device (ADMA) - { - Name (_ADR, Zero) // _ADR: Address - Name (_HID, "ADMA0F28" /* Intel Audio DMA */) // _HID: Hardware ID - Name (_CID, "ADMA0F28" /* Intel Audio DMA */) // _CID: Compatible ID - Name (_DDN, "Intel(R) Audio DMA0 - DMA0F28") // _DDN: DOS Device Name - Name (_UID, One) // _UID: Unique ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If ((OSSL & 0x80)) - { - Return (0x0F) - } - - Return (Zero) - } - - Name (RBUF, ResourceTemplate () - { - Memory32Fixed (ReadWrite, - 0xDF498000, // Address Base - 0x00001000, // Address Length - _Y07) - Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) - { - 0x00000018, - } - }) - - Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings - { - CreateDWordField (RBUF, \_SB.LPEA.ADMA._Y07._BAS, B0BA) // _BAS: Base Address - B0BA = LPE0 /* \LPE0 */ - Return (RBUF) /* \_SB_.LPEA.ADMA.RBUF */ - } - } - - Device (SSP1) - { - Name (_ADR, Zero) // _ADR: Address - Name (_HID, "SSPX0000" /* Intel SSP Device */) // _HID: Hardware ID - Name (_CID, "SSPX0000" /* Intel SSP Device */) // _CID: Compatible ID - Name (_DDN, "Intel(R) SSP Device") // _DDN: DOS Device Name - Name (_UID, One) // _UID: Unique ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If ((OSSL & 0x80)) - { - Return (0x0F) - } - - Return (Zero) - } - - Name (RBUF, ResourceTemplate () - { - Memory32Fixed (ReadWrite, - 0xDF4A1000, // Address Base - 0x00001000, // Address Length - _Y08) - Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) - { - 0x0000001B, - } - }) - - Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings - { - CreateDWordField (RBUF, \_SB.LPEA.SSP1._Y08._BAS, B0BA) // _BAS: Base Address - B0BA = (LPE0 + 0x000A1000) - Return (RBUF) /* \_SB_.LPEA.SSP1.RBUF */ - } - - Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method - { - Name (T_0, Zero) // _T_x: Emitted by ASL Compiler - If ((Arg0 == ToUUID ("886a3f26-600c-4401-b7b1-01e9c2e7e77e"))) - { - Return ("BLUET") - } - - If ((Arg0 == ToUUID ("30d3f83e-2ee1-4bf0-86e9-f69ded2887ee"))) - { - Return (One) - } - - If ((Arg0 == ToUUID ("208b1400-f7c8-4325-ab32-53cd79b7d0a6"))) - { - Return (0xFF2A1000) - } - - If ((Arg0 == ToUUID ("e6e37c60-e78b-4fbd-bd26-5bd3667a6c9a"))) - { - While (One) - { - T_0 = ToInteger (Arg1) - If ((T_0 == 0x08)) - { - Return (Buffer (0x05) - { - 0x00, 0x00, 0x00, 0x00, 0x01 /* ..... */ - }) - } - Else - { - If ((T_0 == 0x10)) - { - Return (Buffer (0x05) - { - 0x06, 0x02, 0x00, 0x0E, 0x10 /* ..... */ - }) - } - Else - { - If ((T_0 == 0x30)) - { - Return (Buffer (0x05) - { - 0x06, 0x02, 0x00, 0x0E, 0x10 /* ..... */ - }) - } - } - } - - Break - } - - Return ("ERR-T") - } - - Return ("ERR-M") - } - } - } - - Device (TIMC) - { - Name (_ADR, Zero) // _ADR: Address - Name (_HID, "TIMC0F28") // _HID: Hardware ID - Name (_CID, "TIMC0F28") // _CID: Compatible ID - Name (_DDN, "Intel(R) Audio Machine Driver - TIMC0F28") // _DDN: DOS Device Name - Name (_UID, One) // _UID: Unique ID - Name (_DEP, Package (0x02) // _DEP: Dependencies - { - GPO2, - ^I2C2.TTLV - }) - Method (_STA, 0, NotSerialized) // _STA: Status - { - Return (Zero) - } - - Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings - { - Name (RBUF, ResourceTemplate () - { - GpioInt (Edge, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000, - "\\_SB.GPO2", 0x00, ResourceConsumer, , - ) - { // Pin list - 0x0004 - } - GpioInt (Edge, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000, - "\\_SB.GPO2", 0x00, ResourceConsumer, , - ) - { // Pin list - 0x001B - } - }) - Return (RBUF) /* \_SB_.TIMC._CRS.RBUF */ - } } Device (AMCR) @@ -9929,48 +9757,6 @@ DefinitionBlock ("dsdt.aml", "DSDT", 2, "ALASKA", "A M I ", 0x00000003) } } - Device (TTLV) - { - Name (_ADR, Zero) // _ADR: Address - Name (_HID, "10TI3100") // _HID: Hardware ID - Name (_CID, "10TI3100") // _CID: Compatible ID - Name (_DDN, "TI TLV320AIC3100 Codec Controller ") // _DDN: DOS Device Name - Name (_UID, One) // _UID: Unique ID - Name (OBJ1, Package (0x0A) - { - One, - 0x017D7840, - One, - 0x97, - One, - 0x86, - One, - One, - 0x14, - 0xB3 - }) - Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings - { - Name (SBUF, ResourceTemplate () - { - I2cSerialBus (0x0018, ControllerInitiated, 0x00061A80, - AddressingMode7Bit, "\\_SB.I2C2", - 0x00, ResourceConsumer, , - ) - }) - Return (SBUF) /* \_SB_.I2C2.TTLV._CRS.SBUF */ - } - - Method (_STA, 0, NotSerialized) // _STA: Status - { - Return (Zero) - } - - Method (_DIS, 0, NotSerialized) // _DIS: Disable Device - { - } - } - Device (CAM1) { Name (_ADR, Zero) // _ADR: Address