194 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Best practices
0
votes
3
replies
86
views
Linux embedded system : poweroff best practices
I’m working on an embedded Linux system built with Buildroot, using BusyBox init on an x86 board
# /etc/inittab
#
# Copyright (C) 2001 Erik Andersen <[email protected]>
#
# Note: BusyBox ...
1
vote
0
answers
91
views
What do the `event_type` and `event_data` fields in the datastructure sent on the ACPI Netlink Multicast correspond to?
I've been experimenting with the ACPI netlink on linux. Mainly, I subscribe to the acpi_mc_group to get ACPI event notifications, using libnl and some datastuctures defined by acpid2. While the ...
1
vote
1
answer
347
views
How do i get IRQ for sc16is741 UART on DLN-2 compatible USB adapter working on Linux
I have a Linux/ACPI problem on kernel 6.16 (Debian). I have a Pico USB I/O Board (USB to SPI and GPIO adapter) used with the DLN-2 driver that is initialized thru a (for my laptop adapted) ACPI SSDT ...
0
votes
0
answers
125
views
ACPI device does not exist after adding custom ACPI table to Windows11 virtual machine in VirtualBox
I'm using VirtualBox v7.1.6 with a Windows11 virtual machine.
I want to add a custom acpi table to the virtual machine
DefinitionBlock ("DSDT.AML", "DSDT", 0x02, "VMW", &...
0
votes
0
answers
142
views
Call ACPI control method failed from kernel mode driver with status = STATUS_INVALID_PARAMETER
I have a kernel mode driver that handles an acpi device called \_SB.SECO has a custom control method called FIRE. In ACPI UEFI, I define it as:
Scope (\_SB_)
{
Device (SECO)
{
...
1
vote
1
answer
145
views
How can I make power shutdown by ACPI?
I want to shutdown a x86 architecture based 64 bit under developing OS by ACPI, So I maintain following steps
Finding ACPI RSDP table
Validate with Sign. & Checksum
Find RSDT/XSDT
Find FADT
Parse ...
1
vote
1
answer
347
views
Trying to run EINJ but not able to find <debugfs mount point>/apei/einj
I'm running CentOS Stream 10 on a system, and I'm trying to run EINJ on it. According to documentation, I'm supposed to find a file named available_error_type over there, but it isn't.
This is the ...
1
vote
0
answers
252
views
Alder Lake N - ACPI/DSDT - GPIO - Change default value
I purchased an obscure NAS only sold to the Chinese domestic market (Zspace Z4Pro) with a view to using another OS on it since it was intel based. I can boot and run another OS (ESXi/Proxmox/etc) fine ...
1
vote
0
answers
85
views
How does the OSPM know if an incoming interrupt is SCI or not?
According to the ACPI spec:
The SCI interrupt is defined to be a shareable interrupt and is connected to an OS visible interrupt that uses a shareable
protocol. The FADT has an entry that indicates ...
0
votes
1
answer
91
views
How to tell what kind of event a SCI represents?
I am trying to understand the ACPI event programming model.
According to the ACPI 6.5 spec, SCI (System Control Interrupt) will be raised for two kinds of events: fixed event and general-purpose event....
0
votes
1
answer
234
views
Understand the flow of ACPI Generic Event Device (GED), Hardware Error Device (HED) and OS handler
In below ASL code, a GED and a HED are defined.
My understanding of the flow when an hardware error happens is as below:
1. The firmware part
The OSPM subsystem of the OS realizes that interrupts 51 ...
0
votes
0
answers
166
views
Is there a way by which PCIe devices can tell the host/OS that they support D3 power management state or not
Does ACPI have a method by which individual devices like PCIe devices etc can let the BIOS/OS know that it does or does not support D3 state (or any low power state for that matter)?
Tried searching ...
1
vote
1
answer
524
views
ACPI ASL/AML: Get GPIOs and LEDs working withing linux-drivers
I have a GPIO-Expander (PCF8574) in my x86-based System which is connected to the SMBus.
GPIO0-3 are used as GPIOs.
GPIO4-7 are used to controll LEDs.
To get it to work and later hopefully into the ...
3
votes
1
answer
246
views
How to pass a buffer argument to a control method in `acpiexec` prompt?
I defined a buffer object and a control method to iterate the buffer object.
DefinitionBlock ("dsdt.asl", "DSDT", 0x02, "", "", 0x0)
{
Name (BUF0, Buffer()...
1
vote
0
answers
718
views
Troubleshooting 'i2c_hid_acpi i2c-: failed to set a report to device' Error in Linux Kernel
Context:
I'm working on a Chromebook and encountered an issue with I2C communication. I have a specific I2C device that's causing the following error message to appear in the dmesg output after ...