[PATCH v4 09/63] Documentation: ACPI: move method-customizing.txt to firmware-guide/acpi and convert to reST
Mauro Carvalho Chehab
mchehab+samsung at kernel.org
Thu Apr 25 03:53:48 AEST 2019
Em Thu, 25 Apr 2019 00:28:52 +0800
Changbin Du <changbin.du at gmail.com> escreveu:
> On Tue, Apr 23, 2019 at 06:03:16PM -0300, Mauro Carvalho Chehab wrote:
> > Em Wed, 24 Apr 2019 00:28:38 +0800
> > Changbin Du <changbin.du at gmail.com> escreveu:
> >
> > > +.. note:: Only ACPI METHOD can be overridden, any other object types like
> > > + "Device", "OperationRegion", are not recognized. Methods
> > > + declared inside scope operators are also not supported.
> > > +.. note:: The same ACPI control method can be overridden for many times,
> > > + and it's always the latest one that used by Linux/kernel.
> > > +.. note:: To get the ACPI debug object output (Store (AAAA, Debug)),
> > > + please run "echo 1 > /sys/module/acpi/parameters/aml_debug_output".
> >
> > Hmm... this may work (not sure if Sphinx would warn or not), but it
> > is visually bad on text mode. I would code it, instead, with something
> > like:
> >
> > .. note::
> >
> > - Only ACPI METHOD can be overridden, any other object types like
> > "Device", "OperationRegion", are not recognized. Methods
> > declared inside scope operators are also not supported.
> >
> > - The same ACPI control method can be overridden for many times,
> > and it's always the latest one that used by Linux/kernel.
> >
> > - To get the ACPI debug object output (Store (AAAA, Debug)),
> > please run::
> >
> > echo 1 > /sys/module/acpi/parameters/aml_debug_output
> >
> > As this would make it visually better on both text and html formats.
> >
> No warnings given.
Interesting. I'm now wondering if it did the right thing or if it produced
some weird output... Maybe the answer depends on the Sphinx version one
would be using.
> Your suggested style is better so applied it. Thanks!
Thank you!
Thanks,
Mauro
More information about the Linuxppc-dev
mailing list