1- ACPI testcase - 2 ACPI must be enabled in the kernel. Since ACPI will control devices and possibly put them to sleep, 3 it's not recommended that any other tests be run concurrently with these tests since you may 4 get unexpected results. 5 These tests are currently ONLY supported on the 2.5 kernels. 2.4 kernels probably won't even build much 6 less run. 7 run ltpacpi.sh -r run to execute the tests 8 93.a. A function "acpi_get_object_info" has been added to the LtpAcpiCmds.c file of LTP project. 10 (\ltp\testcases\kernel\device-drivers\acpi\LtpAcpiCmds.c) 11 This function returns information about an object as seen from the namespace node. 12 133.b. A function "acpi_install_fixed_event_handler" has been added to the LtpAcpiCmds.c file of LTP project. 14 This function saves the pointer to the handler function and then enables the event. 15 163.c. A function "acpi_remove_fixed_event_handler" has been added to the LtpAcpiCmds.c file. 17 Disables the event and unregisters the event handler. 18 193.d. A function "acpi_acquire_global_lock" has been added to LtpAcpiCmds.c file. 20 Acquire the ACPI Global Lock 21 223.e. A function "acpi_release_global_lock" has been added to LtpAcpiCmds.c file. 23 Release the ACPI Global Lock 24 253.f. A function "acpi_bus_find_driver" has been added to LtpAcpiCmds.c file. 26 Parses the list of registered drivers looking for a driver applicable for the specified device. 27 283.g. A function "acpi_bus_get_power" has been added to LtpAcpiCmds.c file. 29 Get the device's power state either directly (via _PSC) or indirectly (via power resources). 30 313.h. A function "acpi_evaluate_integer" has been added to LtpAcpiCmds.c file. 32 Looks for _GPE object (an integer). If _GPE evaluates to an integer, 33the value is the bit assignment of the SCI interrupt within the GPEx_STS register of a GPE 34block described in the FADT that the embedded controller will trigger. 35 364. Including ACPI support into the kernel 37 38 By default, the kernel may not enable ACPI feature. A kernel configuration option must be selected 39 to enable ACPI support. 40 415. FAQ 42 43Q.5.1. Are there any limitations on using this patch? 44 45A.5.1. If the device supports ACPI feature and the ACPI feature is enabled in the kernel, 46then only a user will be able to use these scripts. 47 48