[PATCH] data: cater for _PTS not existing
Keng-Yu Lin
kengyu at canonical.com
Thu Mar 7 04:56:09 UTC 2013
On Wed, Mar 6, 2013 at 7:07 PM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Sometimes _PTS is not implemented and the kernel complains. It appears
> it is a control that helps the firmware do housekeeping before suspend
> and for some firmware it is not implemented because it does not need
> _PTS. Cater for this by adding some suitable advice and marking this
> as not a high level error.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> data/klog.json | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 2847ce0..7c99c03 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -2796,6 +2796,14 @@
> },
> {
> "compare_mode": "regex",
> + "log_level": "LOG_LEVEL_INFO",
> + "tag": "FWTS_TAG_ACPI_PARSE_EXEC_FAIL",
> + "pattern": "ACPI Error.*Method (execution|parse\/execution) failed.*_PTS.*AE_NOT_EXIST",
> + "advice": "The kernel has attempted to execute the _PTS (Prepare to Suspend) control but it has not been implemented on this platform. Section 6.1 of the ACPI specification states: 'The _PTS control method provides the BIOS a mechanism for performing some housekeeping, such as writing the sleep type value to the embedded controller, before entering the system sleeping state'. Hence _PTS is provided for the firmware to do housekeeping and therefore does not appear to be mandatory. In this case, the platform seems to have omitted _PTS because it may not need it. Unfortunately the kernel complains about this not existing. This is most probably not an error.",
> + "label": "KlogAcpiObjectDoesNotExist"
> + },
> + {
> + "compare_mode": "regex",
> "log_level": "LOG_LEVEL_HIGH",
> "tag": "FWTS_TAG_ACPI_PARSE_EXEC_FAIL",
> "pattern": "ACPI Error.*Method (execution|parse\/execution) failed.*AE_NOT_EXIST",
> --
> 1.8.1.2
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>
More information about the fwts-devel
mailing list