From 46f75dcd885b2b7c1e4050229ac391372ca44778 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Fri, 30 Jul 2021 14:48:05 -0500 Subject: [PATCH] AcpiAudioCompositor: add AACD device Use ACPI0017 for now Signed-off-by: Pierre-Louis Bossart --- AcpiAudioCompositor/aacd.asl | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 AcpiAudioCompositor/aacd.asl diff --git a/AcpiAudioCompositor/aacd.asl b/AcpiAudioCompositor/aacd.asl new file mode 100644 index 0000000..d041584 --- /dev/null +++ b/AcpiAudioCompositor/aacd.asl @@ -0,0 +1,44 @@ +/** @file + The definition block in ACPI table for ACPI0017 device under \\SB + +Copyright (c) 2021, Intel Corporation. All rights reserved.
+ This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +**/ + +DefinitionBlock ( + "", + "SSDT", + 2, + "INTEL ", + "AACDTabl", + 0x1000 + ) +{ + External(\_SB, DeviceObj) + + Scope (\_SB) { + Device (AACD) + { + Name (_ADR, Zero) // _ADR: Address + Name (_HID, "ACPI0017" /* ACPI Audio Compositor Device */) // _HID: Hardware ID + Name (_CID, "ACPI0017" /* ACPI Audio Compositor Device */) // _CID: Compatible ID + Name (_DDN, "ACPI Audio Compositor") // _DDN: DOS Device Name + Name (_UID, One) // _UID: Unique ID + + Method (_STA, 0, NotSerialized) // _STA: Status + { + Return (0x0F) + } + + Method (_DIS, 0, NotSerialized) // _DIS: Disable Device + { + } + } + } +}