linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Introduce acpi_validate and ec_acces in tools/power/acpi
@ 2014-04-07 13:16 Thomas Renninger
  2014-04-07 13:16 ` [PATCH 1/4] tools/power/acpi: Minor bugfixes Thomas Renninger
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Thomas Renninger @ 2014-04-07 13:16 UTC (permalink / raw)
  To: rjw; +Cc: lv.zheng, linux-acpi

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-04-21 20:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 13:16 Introduce acpi_validate and ec_acces in tools/power/acpi Thomas Renninger
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

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).