Questions tagged [acpi]

Advanced Configuration and Power Interface, a specification that provides an open standard for device configuration and power management by the operating system.

In computing, the Advanced Configuration and Power Interface (ACPI) specification provides an open standard for device configuration and by the operating system.

First released in December 1996, ACPI defines platform-independent interfaces for hardware discovery, configuration, power management and monitoring. With the intention of replacing Advanced Power Management, the MultiProcessor Specification and the Plug and Play BIOS Specification, the standard brings power management under the control of the operating system, as opposed to the previous BIOS-central system which relied on platform-specific firmware to determine power management and configuration policy. The specification is central to Operating System-directed configuration and Power Management (OSPM), a system implementing ACPI which removes device management responsibilities from legacy firmware interfaces.

The standard was originally developed by Intel, Microsoft and Toshiba, and was later joined by HP and Phoenix. As the ACPI technology gained wider adoption with many operating systems and processor architectures, the desire to improve the governance model of the specification has increased significantly. In October 2013, original developers of the ACPI standard agreed to transfer all assets to the Forum, where all future development will be taking place.3 The latest version of the standard is "Revision 6.2 Errata A", which was published by the UEFI Forum in September 2017.

References:

182 questions
2
votes
1 answer

How to configure ACPI *.asl for a virtual mdio-gpio device connected to a I2C gpio expander

I'm working with a Q7 Module (x86) and try to configure our peripherals with ACPI SSDT Overlay on Linux. But I strugle with it. I think I missunderstand some of the core concept of ACPI. Problem CPU -> I2C -> PCA9575 GPIO Expander ->…
2
votes
0 answers

linux: can't set cpu frequency governor with cpupower (ACPI failure)

Machine with AMD Epyc CPU, kernel 4.19.71 (also tried 5.4.0), attempting to set CPU performance governor fails: # cpupower frequency-set -g performance Setting cpu: 0 Error setting new values. Common errors: - Do you have proper administration…
Mark
  • 6,052
  • 8
  • 61
  • 129
2
votes
0 answers

Laptop fan control through Embedded Controller or ACPI

I've been trying to control the fan of my Lenovo Yoga 910-13IKB laptop (Windows 10) to avoid thermal throttling (I already undervolted the CPU and GPU). To achieve this I need to find a way of modifying the specific registers that control the fan on…
carloslockward
  • 335
  • 3
  • 8
2
votes
1 answer

How should I2C drivers be matched in ACPI with HID PRP0001

I am trying to instantiate this sensor in ACPI using device specific data, i.e., with Name (_DSD, ...) and with a compatible string, e.g., with the following ASL excerpt: Device (TOF1) { Name (_HID, "PRP0001") Name (_DDN, "STMicroelectronics…
mallwright
  • 1,670
  • 14
  • 31
2
votes
0 answers

Does anyone know how to call a ACPI method in C# on Windows?

For example, there is an EPSW method, how should I call it in C#? Is there any relevant information? OR Method(EPSW, 1) { ... }
Victor
  • 141
  • 1
  • 11
2
votes
1 answer

Qemu support for ACPI 2.0+

I'm learning x86-64 kernel, and moving from Windows to Linux. My Qemu version is 4.2 and running in the following command: qemu-system-x86_64 -machine q35 -cpu Broadwell -accel kvm Boot.disk It seems the ACPI version of Qemu is 0 and is using RSDT…
Shore
  • 827
  • 9
  • 24
2
votes
1 answer

Using BIOS int 0x15/E820 to view the memory map

I am doing some baremetal programming on x86. I am in 16 bit mode and I emulate using qemu... I use int 0x15/ax = 0xE820 to view the memory map... Using the qemu monitor (to examine the region where I wrote the map) I get the following information…
Suraaj K S
  • 600
  • 3
  • 21
2
votes
2 answers

parsing different files of the same grammar and calculating file to file similarities

I've got a bunch of ACPI Source Language files and I want to calculate file to file similarities between them. I thought of using something like Perl's Parse::RecDescent but I am stuck at: 1) Translating the ACPI Grammar…
719016
  • 9,922
  • 20
  • 85
  • 158
2
votes
1 answer

What's the last instruction to cause the machine go to S3 sleep?

From ACPI Spec 4.0 page 299, there is some sample code to show how to put the machine into S3 sleep. I just wondering what are the last instructions to cause the hardware to sleep? What happens after following code, and why? mov edx, PM1a_SLP_TYP ;…
Jiang
  • 491
  • 5
  • 9
2
votes
1 answer

Debug ACPI calls

I recently bought new laptop (HP Omen) with RGB keyboard which can be customized done only by special app for Windows OS. I'm Linux user and want to customize it from my favorite distro. I have some experience debugging ACPI in Linux, but not in…
Alex
  • 845
  • 6
  • 12
  • 22
2
votes
1 answer

Mapping ACPI events for brightness buttons on Lenovo Yoga X1 v2

I installed Ubuntu Gnome 17.04 on my new Lenovo Yoga X1 (version 2) and the brightness buttons don't work out of the box. I've gone through the steps (below) I thought necessary to map these keys to xrandr calls, but nothing happens, even if I log…
Jorvis
  • 3,159
  • 1
  • 17
  • 16
2
votes
1 answer

What does these ACPI names mean?

I dumped the ACPI tables on my laptop with the RW Everything. But I don't know what all these strange abbreviations mean. I can guess _PR stands for processor, but where can I look up the others? ADD 1 I have a feeling that these names are…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
2
votes
1 answer

how to acpi shutdown in assembly in custom os?

I am running a custom os in virtualbox and have parsed the ACPI, FACP, DSDT etc tables to get the PM1a_CNT and SLP_TYPa values. These seem to be correct. However when I try to do an ACPI shutdown with: xor eax, eax mov edx, [PM1a_CNT] mov ax,…
poby
  • 1,572
  • 15
  • 39
2
votes
1 answer

How to register acpi event notify?(AcpiInterfaces.RegisterForDeviceNotifications)

now I want to add the function in my acpi driver . the function is:get the BIOS Notify . I search some doc, And Write code NTSTATUS XxxAddDevice( __in struct _DRIVER_OBJECT *DriverObject, __in struct _DEVICE_OBJECT *PhysicalDeviceObject …
LeenLi
  • 51
  • 5
2
votes
2 answers

How to reboot in x86 assembly from 16 bit real mode?

APM shutdown has been covered at X86 instructions to power off computer in real mode? How to reboot instead of shutting down the computer? Please quote and explain the relevant documentation / standard in your answer. I've understood that APM and…
Ciro Santilli OurBigBook.com
  • 347,512
  • 102
  • 1,199
  • 985