From: Thomas Renninger <trenn@suse.de>
To: rjw@rjwysocki.net
Cc: lv.zheng@intel.com, linux-acpi@vger.kernel.org
Subject: Introduce acpi_validate and ec_acces in tools/power/acpi
Date: Mon, 7 Apr 2014 15:16:53 +0200 [thread overview]
Message-ID: <1396876617-53345-1-git-send-email-trenn@suse.de> (raw)
Hi Rafael,
these are tools we already have packaged in our acpica package for quite
a while:
- acpi_validate (disassemble and recompile dumped ACPI tables, or a
provided acpidump file. It references all SSDTs/DSDTs,
which people often do not know or is cumbersome to do).
- ec_access is the userspace tool for the ec_sys EC debug driver.
Formerly only the thinkpad_acpi driver could do this.
This got proplery moved into a ec_sys debug driver and
ec_access can monitor changes e.g. every second of the
EC registers, nicely shows them to find out about
EC problems.
IMO both perfectly fit into tools/power/acpi.
Other candidates could be:
- acpi_genl (Monitor ACPI events)
https://01.org/linux-acpi/utilities
- wmidump This one can interpret WMI objects from a raw _WDG
buffer (part of DSDT/SSDT BIOS code).
I didn't use the last one often, but it seem to be really useful if you
implement ACPI WMI stuff.
If you agree with these patches, can you please queue them up for the
next kernel release, please.
Tested: Created a tarball with tools/power/acpi directory added and
include/acpi copied into and build them separately as a package via
our build service via:
make -C %{acpi_tools_dir} CFLAGS="-DDEFINE_ALTERNATE_TYPES
-DACPI_USE_SYSTEM_INTTYPES=0 -I ../../include %{optflags}"
make -C %{acpi_tools_dir} install DESTDIR="%{buildroot}" mandir=%{_mandir}
Thanks a lot,
Thomas
next reply other threads:[~2014-04-07 13:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 13:16 Thomas Renninger [this message]
2014-04-07 13:16 ` [PATCH 1/4] tools/power/acpi: Minor bugfixes Thomas Renninger
2014-04-08 2:19 ` Zheng, Lv
2014-04-21 21:10 ` Rafael J. Wysocki
2014-04-07 13:16 ` [PATCH 2/4] tools/power/acpi: Make makefile work per subdirectory Thomas Renninger
2014-04-08 1:58 ` Zheng, Lv
2014-04-07 13:16 ` [PATCH 3/4] tools/power/acpi: Introduce acpi_validate with manpage for easy validation of ACPI BIOS tables Thomas Renninger
2014-04-08 2:34 ` Zheng, Lv
2014-04-07 13:16 ` [PATCH 4/4] tools/power/acpi: Introduce ec_access.c - tool to access the Embedded Controller (EC) safely for debugging purposes Thomas Renninger
2014-04-08 2:09 ` Introduce acpi_validate and ec_acces in tools/power/acpi Zheng, Lv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1396876617-53345-1-git-send-email-trenn@suse.de \
--to=trenn@suse.de \
--cc=linux-acpi@vger.kernel.org \
--cc=lv.zheng@intel.com \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).