Lines Matching refs:method
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
20 Note: The same ACPI control method can be overridden for many times,
25 1. override an existing method
29 c) rewrite the ASL code of the method and save it in a new file,
31 Here is an example of a customized \_SB._AC._PSR method,
43 Note that the full pathname of the method in ACPI namespace
46 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 overrided 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