Results 1 to 2 of 2
Hi hope all enjoying the dynamic world of Linux. i need help from someone who has expertise in c/c++,kernel development especially ACPI related module and BIOS stuff. Infact i want ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-22-2008 #1
- Join Date
- Sep 2008
Thank in advance
unix (out of box)
- 09-23-2008 #2
ACPI is a bit more involved than your laid out.
BIOS utilises a special x86 execution mode triggered via system management interrupts (SMI's). To notify Linux about ACPI events detected in SMI mode, the BIOS asserts a system control interrupt (SCI). Look at drivers/acpi/osl.c for the linux ACPI code that request this SCI/IRQ. and drivers/misc/thinkpad_acpi.c for example. The files under /proc/acpi/ are generated by the standard ACPI drivers, so use these to your advantage.
A core layer that provides ACPI essentials is written in AML a language that runs on a VM implemented by the OS AML intereter. ACPI drivers for interfacing standard components (fan, buttons etc)
If your machine is using OEM specific drivers the only way to use any ACPI information is via the /proc/acpi interface.
Use tools like: acpitool, and cat to probe for what you require I suggest is the best way to start. As well as looking through the ACPI source code under various drivers.