Lines Matching full:method
1 Linux ACPI Custom Control Method How To
10 1. override an existing method which may not work correctly,
12 2. insert a completely new method in order to create a missing
13 method such as _OFF, _ON, _STA, _INI, etc.
15 control method rather than override the entire DSDT, because kernel
18 Note: Only ACPI METHOD can be overridden, any other object types like
21 Note: The same ACPI control method can be overridden for many times,
26 1. override an existing method
30 c) rewrite the ASL code of the method and save it in a new file,
32 Here is an example of a customized \_SB._AC._PSR method,
36 Method (\_SB_.AC._PSR, 0, NotSerialized)
42 Note that the full pathname of the method in ACPI namespace
44 e) assemble the file to generate the AML code of the method.
49 g) override the old method via the debugfs by running
52 2. insert a new method
53 This is easier than overriding an existing method.
54 We just need to create the ASL code of the method we want to
58 The "undo" operation is not supported for a new inserted method
59 right now, i.e. we can not remove a method currently.
60 For an overridden method, in order to undo your changes, please
61 save a copy of the method original ASL code in step c) section 1,
62 and redo step c) ~ g) to override the method with the original one.
65 Note: We can use a kernel with multiple custom ACPI method running,
67 method override. i.e. if we want to insert/override multiple