From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 435C7C4338F for ; Mon, 2 Aug 2021 11:43:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 26B5960FC4 for ; Mon, 2 Aug 2021 11:43:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233433AbhHBLnS (ORCPT ); Mon, 2 Aug 2021 07:43:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:31474 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233341AbhHBLnP (ORCPT ); Mon, 2 Aug 2021 07:43:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1627904585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ULaVpUXh2F13C4yX38EbKPIOT3aJ5u1VZcaCHV2C/fY=; b=EhCUKyPF9PPLQWfm/W9C7+ruWs0FZ5GbP56zuQiJLJ9KUG2OWXC00FxJvDKaTzAL285iur CrqzwgJBld2e0neyNMN3v9NCI+dh/zu2pmgmYB0CfiubCKXc8Oyq6PGr0XMj37jXQayORS qaQOUZnodXSH8Iz0pn3nOTvz94eh1NA= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-320-wPxa_L7dMpyB_0xzgnObcg-1; Mon, 02 Aug 2021 07:43:04 -0400 X-MC-Unique: wPxa_L7dMpyB_0xzgnObcg-1 Received: by mail-ed1-f72.google.com with SMTP id n24-20020aa7c7980000b02903bb4e1d45aaso8552795eds.15 for ; Mon, 02 Aug 2021 04:43:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ULaVpUXh2F13C4yX38EbKPIOT3aJ5u1VZcaCHV2C/fY=; b=k1uA4q7yrjtT/xJocLUeiaCybM71T6S5yTBewK2xVVrlnrVNxDKhC+yClpk8gfxBUT 5yGRooM/XuAvgj3zcask/F7YP2+NkEK0wyRPPo1ffHXEI0TzMtnLBCFuGubvBt8Msflx Ho1BjPzOki2X2LUcJqaVddxDnSBp1Qz94T+1BwxNI8ZUotevC2pAvoUvrVIelney4A1M v/PmOqBso+W9lej+P6KJQ93h3IJQVFUje8UzRWMg8g0B9kRXCpseZWVWU4vmYFrkcAnB wZQQ9LIgpPLQe7rJ5rCYs4W59w962TCYN9WiJmgncZ2zFgZ85jZBYtuXBSNGZS6at1Sc bu5w== X-Gm-Message-State: AOAM5317Em3kDQJ4RgiUNB9waJHfus+4MpUyWz/vpd5luIlERrptgRh6 AXxqNTsdMTeE5NBlSQGgU/h09LYjYJ2l1yaSdD1xUhLkVmJQ3JwU5CQYtWenAvmUCtp7hDLduf4 fmgdJcOFsV+bmqELEV8mujQ== X-Received: by 2002:a17:906:cb96:: with SMTP id mf22mr10660706ejb.50.1627904582697; Mon, 02 Aug 2021 04:43:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqXJ8nUYLFhFDqZYCx5CnsY+35MDwYq0JucUq9WhEORDoOkY3TnU6sDUMyHZBKPaq0YuNvXw== X-Received: by 2002:a17:906:cb96:: with SMTP id mf22mr10660690ejb.50.1627904582494; Mon, 02 Aug 2021 04:43:02 -0700 (PDT) Received: from x1.localdomain ([81.30.35.201]) by smtp.gmail.com with ESMTPSA id p5sm4502532ejl.73.2021.08.02.04.43.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Aug 2021 04:43:02 -0700 (PDT) Subject: Re: AMD laptops defaulting to S3 instead of S0ix (was amd_sfh) To: Basavaraj Natikar , "Shah, Nehal-bakulchandra" , Stephen MacNeil , "Limonciello, Mario" , "Rafael J . Wysocki" Cc: Linux PM , linux-acpi , "Natikar, Basavaraj" , "S-k, Shyam-sundar" References: <309288ec-27ac-0321-dce5-e9ba2bbab7ed@redhat.com> From: Hans de Goede Message-ID: Date: Mon, 2 Aug 2021 13:43:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Hi, On 8/2/21 11:34 AM, Basavaraj Natikar wrote: > On 8/1/2021 5:15 PM, Shah, Nehal-bakulchandra wrote: >> [AMD Official Use Only] >> >> Adding few more folks >> >> -----Original Message----- >> From: Hans de Goede >> Sent: Sunday, August 1, 2021 3:17 PM >> To: Stephen MacNeil ; Limonciello, Mario ; Rafael J . Wysocki >> Cc: Linux PM ; linux-acpi >> Subject: AMD laptops defaulting to S3 instead of S0ix (was amd_sfh) >> >> Hi Rafael, Mario, >> >> Stephen is having an issue with a recent AMD laptop (a Lenovo Ideapad model) where Linux defaults to using S3/deep suspend instead of S0ix/s2idle. > > Hi Hans, Et al. > > Looks like the Lenovo platform Stephen MacNeil is using does not support the S2Idle as the FADT flags as not set (looking at the output of the script). I believe it does, if it would not support s2idle at all, then this would not be offered as an option in the "cat /sys/power/mem_sleep" output. Part of the problem seems to be that the system supports s2idle, but does not use it by default > If sensors are not working after ACPI S3 resume, I am suspecting that it could be because the PM support is missing in the amd-sfh driver > (which is already WIP from my side). Right, making sure the SFH code also works with S3 suspend is good regardless, but AFAIK most modern systems should use S01x / s2idle suspend by default. Regards, Hans >> This is causing the sensors provided by the AMD Sensor Fusion Hub to stop working after a suspend/resume. Adding mem_sleep_default=s2idle to the kernel commandline fixes this. >> >> Do you have any idea what might be causing this ? >> >> Regards, >> >> Hans >> >> >> >> On 7/31/21 2:31 PM, Stephen MacNeil wrote: >>> I wrote Basavaraj Natikar the new maintainer of amd_sfh for the kernel, after sending the information he wanted his reply was... >>> >>>>> Thanks Stephen MacNeil, >>> On our hardware we do not see any amd_sfh issue with 5.14.0-rc2 kernel. >>>   >>> Could you please check with Lenovo, as we are not observing amd_sfh issue on our reference platforms too. >>> >>> Thanks, >>> Basavaraj >>> << >>> looking at the information I sent him  i looks like the issue is (to >>> me anyway) >>> >>> cat /sys/power/mem_sleep >>> [s2idle] deep >>> >>> without >>> cat /sys/power/mem_sleep >>> s2idle [deep] >>> >>> >>> this is the info he requested... any idea who else I can contact. >>> this is the output with and without the kernel param >>> >>>   >>> >>> Thanks a lot Stephen MacNeil  for the information. >>> >>>   >>> >>> Could you please provide me below information:- >>> >>> ·  what version of kernel is running. >>> >>> uname -a >>> Linux ideapad 5.14.0-051400rc2-generic #202107182230 SMP Sun Jul 18 >>> 22:34:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux >>> >>> >>> ·  Are you using latest patches from amd-sfh >>> >>> only the kernel >>> >>> ·  Could you please provide me output of /sys/power/mem_sleep >>> >>> with kernel option mem_sleep_default=s2idle >>> >>> cat /sys/power/mem_sleep >>> [s2idle] deep >>> >>> without >>> cat /sys/power/mem_sleep >>> s2idle [deep] >>> >>> ·  Could you please provide output of below script after installing >>> "apt install iasl*". acpica-tools >>> >>> with kernel option mem_sleep_default=s2idle >>> >>> Intel ACPI Component Architecture >>> ASL+ Optimizing Compiler/Disassembler version 20190509 >>> Copyright (c) 2000 - 2019 Intel Corporation >>> >>> File appears to be binary: found 265 non-ASCII characters, >>> disassembling Binary file appears to be a valid ACPI table, >>> disassembling Input file apic.dat, Length 0x138 (312) bytes >>> ACPI: APIC 0x0000000000000000 000138 (v02 LENOVO CB-01    00000000 >>> LENO 00000001) Acpi Data Table [APIC] decoded Formatted output:   >>> apic.dsl - 16071 bytes File appears to be binary: found 40 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file batb.dat, Length 0x4A (74) bytes >>> ACPI: BATB 0x0000000000000000 00004A (v02 LENOVO CB-01    00000000 >>> LENO 00000001) Unknown ACPI table signature [BATB], decoding ACPI >>> table header only Acpi Data Table [BATB] decoded Formatted output:   >>> batb.dsl - 1274 bytes File appears to be binary: found 31 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file bgrt.dat, Length 0x38 (56) bytes >>> ACPI: BGRT 0x0000000000000000 000038 (v01 LENOVO CB-01    00000002 >>> LENO 00000001) Acpi Data Table [BGRT] decoded Formatted output:   >>> bgrt.dsl - 1606 bytes File appears to be binary: found 16 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file cdit.dat, Length 0x29 (41) bytes >>> ACPI: CDIT 0x0000000000000000 000029 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Unknown ACPI table signature [CDIT], decoding ACPI >>> table header only Acpi Data Table [CDIT] decoded Formatted output:   >>> cdit.dsl - 1115 bytes File appears to be binary: found 2765 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file crat.dat, Length 0xB80 (2944) bytes >>> ACPI: CRAT 0x0000000000000000 000B80 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Unknown ACPI table signature [CRAT], decoding ACPI >>> table header only Acpi Data Table [CRAT] decoded Formatted output:   >>> crat.dsl - 15424 bytes File appears to be binary: found 15189 >>> non-ASCII characters, disassembling Binary file appears to be a valid >>> ACPI table, disassembling Input file dsdt.dat, Length 0xAE9B (44699) >>> bytes >>> ACPI: DSDT 0x0000000000000000 00AE9B (v01 LENOVO AMD      00001000 >>> INTL 20180313) Pass 1 parse of [DSDT] Pass 2 parse of [DSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    dsdt.dsl - 384071 bytes File appears to be binary: >>> found 229 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file facp.dat, Length 0x10C >>> (268) bytes >>> ACPI: FACP 0x0000000000000000 00010C (v05 LENOVO CB-01    00000003 >>> LENO 00000001) Acpi Data Table [FACP] decoded Formatted output:   >>> facp.dsl - 10098 bytes File appears to be binary: found 59 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file facs.dat, Length 0x40 (64) bytes >>> ACPI: FACS 0x0000000000000000 000040 >>> Acpi Data Table [FACS] decoded >>> Formatted output:  facs.dsl - 1368 bytes File appears to be binary: >>> found 28 non-ASCII characters, disassembling Binary file appears to be >>> a valid ACPI table, disassembling Input file fpdt.dat, Length 0x34 >>> (52) bytes >>> ACPI: FPDT 0x0000000000000000 000034 (v01 LENOVO CB-01    00000002 >>> LENO 00000001) Acpi Data Table [FPDT] decoded Formatted output:   >>> fpdt.dsl - 1452 bytes File appears to be binary: found 30 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file hpet.dat, Length 0x38 (56) bytes >>> ACPI: HPET 0x0000000000000000 000038 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [HPET] decoded Formatted output:   >>> hpet.dsl - 1865 bytes File appears to be binary: found 279 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file ivrs.dat, Length 0x1A4 (420) bytes >>> ACPI: IVRS 0x0000000000000000 0001A4 (v02 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [IVRS] decoded Formatted output:   >>> ivrs.dsl - 6001 bytes File appears to be binary: found 36 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file mcfg.dat, Length 0x3C (60) bytes >>> ACPI: MCFG 0x0000000000000000 00003C (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [MCFG] decoded Formatted output:   >>> mcfg.dsl - 1526 bytes File appears to be binary: found 32 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file msdm.dat, Length 0x55 (85) bytes >>> ACPI: MSDM 0x0000000000000000 000055 (v03 LENOVO CB-01    00000000 >>> LENO 00000001) Acpi Data Table [MSDM] decoded Formatted output:   >>> msdm.dsl - 1557 bytes File appears to be binary: found 25 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file sbst.dat, Length 0x30 (48) bytes >>> ACPI: SBST 0x0000000000000000 000030 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [SBST] decoded Formatted output:   >>> sbst.dsl - 1282 bytes File appears to be binary: found 410 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file ssdt10.dat, Length 0x47F (1151) bytes >>> ACPI: SSDT 0x0000000000000000 00047F (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt10.dsl - 5673 bytes File appears to be binary: >>> found 708 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt11.dat, Length >>> 0xC1D (3101) bytes >>> ACPI: SSDT 0x0000000000000000 000C1D (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt11.dsl - 15424 bytes File appears to be binary: >>> found 848 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt12.dat, Length >>> 0x9AD (2477) bytes >>> ACPI: SSDT 0x0000000000000000 0009AD (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt12.dsl - 12474 bytes File appears to be binary: >>> found 9207 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt1.dat, Length >>> 0x7216 (29206) bytes >>> ACPI: SSDT 0x0000000000000000 007216 (v02 LENOVO AmdTable 00000002 >>> MSFT 04000000) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt1.dsl - 208699 bytes File appears to be binary: >>> found 3968 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt2.dat, Length >>> 0x1500 (5376) bytes >>> ACPI: SSDT 0x0000000000000000 001500 (v01 LENOVO AmdTable 00000001 AMD   >>> 00000001) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt2.dsl - 59265 bytes File appears to be binary: >>> found 449 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt3.dat, Length >>> 0x53A (1338) bytes >>> ACPI: SSDT 0x0000000000000000 00053A (v01 LENOVO Tpm2Tabl 00009999 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt3.dsl - 10738 bytes File appears to be binary: >>> found 474 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt4.dat, Length >>> 0x64C (1612) bytes >>> ACPI: SSDT 0x0000000000000000 00064C (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt4.dsl - 8258 bytes >>> File appears to be binary: found 400 non-ASCII characters, >>> disassembling Binary file appears to be a valid ACPI table, >>> disassembling Input file ssdt5.dat, Length 0x480 (1152) bytes >>> ACPI: SSDT 0x0000000000000000 000480 (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt5.dsl - 5582 bytes >>> File appears to be binary: found 1140 non-ASCII characters, >>> disassembling Binary file appears to be a valid ACPI table, >>> disassembling Input file ssdt6.dat, Length 0x1497 (5271) bytes >>> ACPI: SSDT 0x0000000000000000 001497 (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt6.dsl - 20293 bytes File appears to be binary: >>> found 1314 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt7.dat, Length >>> 0x1576 (5494) bytes >>> ACPI: SSDT 0x0000000000000000 001576 (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt7.dsl - 30076 bytes File appears to be binary: >>> found 4095 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt8.dat, Length >>> 0x353C (13628) bytes >>> ACPI: SSDT 0x0000000000000000 00353C (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt8.dsl - 78242 bytes File appears to be binary: >>> found 74 non-ASCII characters, disassembling Binary file appears to be >>> a valid ACPI table, disassembling Input file ssdt9.dat, Length 0x90 >>> (144) bytes >>> ACPI: SSDT 0x0000000000000000 000090 (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt9.dsl - 1767 bytes >>> File appears to be binary: found 32 non-ASCII characters, >>> disassembling Binary file appears to be a valid ACPI table, >>> disassembling Input file tpm2.dat, Length 0x38 (56) bytes >>> ACPI: TPM2 0x0000000000000000 000038 (v04 LENOVO CB-01    00000002 >>> LENO 00000001) Acpi Data Table [TPM2] decoded Formatted output:   >>> tpm2.dsl - 1515 bytes File appears to be binary: found 189 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file uefi.dat, Length 0x12A (298) bytes >>> ACPI: UEFI 0x0000000000000000 00012A (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [UEFI] decoded Formatted output:   >>> uefi.dsl - 2505 bytes File appears to be binary: found 37100 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file vfct.dat, Length 0xD484 (54404) bytes >>> ACPI: VFCT 0x0000000000000000 00D484 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Unknown ACPI table signature [VFCT], decoding ACPI >>> table header only Acpi Data Table [VFCT] decoded Formatted output:   >>> vfct.dsl - 269557 bytes File appears to be binary: found 17 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file wsmt.dat, Length 0x28 (40) bytes >>> ACPI: WSMT 0x0000000000000000 000028 (v01 LENOVO CB-01    00000000 >>> LENO 00000001) Acpi Data Table [WSMT] decoded Formatted output:   >>> wsmt.dsl - 1313 bytes Low Power S0 Idle is 0 The system does not >>> support S0ix! >>> >>> >>> without >>> >>> Intel ACPI Component Architecture >>> ASL+ Optimizing Compiler/Disassembler version 20190509 >>> Copyright (c) 2000 - 2019 Intel Corporation >>> >>> File appears to be binary: found 265 non-ASCII characters, >>> disassembling Binary file appears to be a valid ACPI table, >>> disassembling Input file apic.dat, Length 0x138 (312) bytes >>> ACPI: APIC 0x0000000000000000 000138 (v02 LENOVO CB-01    00000000 >>> LENO 00000001) Acpi Data Table [APIC] decoded Formatted output:   >>> apic.dsl - 16071 bytes File appears to be binary: found 40 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file batb.dat, Length 0x4A (74) bytes >>> ACPI: BATB 0x0000000000000000 00004A (v02 LENOVO CB-01    00000000 >>> LENO 00000001) Unknown ACPI table signature [BATB], decoding ACPI >>> table header only Acpi Data Table [BATB] decoded Formatted output:   >>> batb.dsl - 1274 bytes File appears to be binary: found 31 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file bgrt.dat, Length 0x38 (56) bytes >>> ACPI: BGRT 0x0000000000000000 000038 (v01 LENOVO CB-01    00000002 >>> LENO 00000001) Acpi Data Table [BGRT] decoded Formatted output:   >>> bgrt.dsl - 1606 bytes File appears to be binary: found 16 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file cdit.dat, Length 0x29 (41) bytes >>> ACPI: CDIT 0x0000000000000000 000029 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Unknown ACPI table signature [CDIT], decoding ACPI >>> table header only Acpi Data Table [CDIT] decoded Formatted output:   >>> cdit.dsl - 1115 bytes File appears to be binary: found 2765 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file crat.dat, Length 0xB80 (2944) bytes >>> ACPI: CRAT 0x0000000000000000 000B80 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Unknown ACPI table signature [CRAT], decoding ACPI >>> table header only Acpi Data Table [CRAT] decoded Formatted output:   >>> crat.dsl - 15424 bytes File appears to be binary: found 15189 >>> non-ASCII characters, disassembling Binary file appears to be a valid >>> ACPI table, disassembling Input file dsdt.dat, Length 0xAE9B (44699) >>> bytes >>> ACPI: DSDT 0x0000000000000000 00AE9B (v01 LENOVO AMD      00001000 >>> INTL 20180313) Pass 1 parse of [DSDT] Pass 2 parse of [DSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    dsdt.dsl - 384071 bytes File appears to be binary: >>> found 229 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file facp.dat, Length 0x10C >>> (268) bytes >>> ACPI: FACP 0x0000000000000000 00010C (v05 LENOVO CB-01    00000003 >>> LENO 00000001) Acpi Data Table [FACP] decoded Formatted output:   >>> facp.dsl - 10098 bytes File appears to be binary: found 59 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file facs.dat, Length 0x40 (64) bytes >>> ACPI: FACS 0x0000000000000000 000040 >>> Acpi Data Table [FACS] decoded >>> Formatted output:  facs.dsl - 1368 bytes File appears to be binary: >>> found 28 non-ASCII characters, disassembling Binary file appears to be >>> a valid ACPI table, disassembling Input file fpdt.dat, Length 0x34 >>> (52) bytes >>> ACPI: FPDT 0x0000000000000000 000034 (v01 LENOVO CB-01    00000002 >>> LENO 00000001) Acpi Data Table [FPDT] decoded Formatted output:   >>> fpdt.dsl - 1452 bytes File appears to be binary: found 30 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file hpet.dat, Length 0x38 (56) bytes >>> ACPI: HPET 0x0000000000000000 000038 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [HPET] decoded Formatted output:   >>> hpet.dsl - 1865 bytes File appears to be binary: found 279 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file ivrs.dat, Length 0x1A4 (420) bytes >>> ACPI: IVRS 0x0000000000000000 0001A4 (v02 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [IVRS] decoded Formatted output:   >>> ivrs.dsl - 6001 bytes File appears to be binary: found 36 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file mcfg.dat, Length 0x3C (60) bytes >>> ACPI: MCFG 0x0000000000000000 00003C (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [MCFG] decoded Formatted output:   >>> mcfg.dsl - 1526 bytes File appears to be binary: found 32 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file msdm.dat, Length 0x55 (85) bytes >>> ACPI: MSDM 0x0000000000000000 000055 (v03 LENOVO CB-01    00000000 >>> LENO 00000001) Acpi Data Table [MSDM] decoded Formatted output:   >>> msdm.dsl - 1557 bytes File appears to be binary: found 25 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file sbst.dat, Length 0x30 (48) bytes >>> ACPI: SBST 0x0000000000000000 000030 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [SBST] decoded Formatted output:   >>> sbst.dsl - 1282 bytes File appears to be binary: found 410 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file ssdt10.dat, Length 0x47F (1151) bytes >>> ACPI: SSDT 0x0000000000000000 00047F (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt10.dsl - 5673 bytes File appears to be binary: >>> found 708 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt11.dat, Length >>> 0xC1D (3101) bytes >>> ACPI: SSDT 0x0000000000000000 000C1D (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt11.dsl - 15424 bytes File appears to be binary: >>> found 848 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt12.dat, Length >>> 0x9AD (2477) bytes >>> ACPI: SSDT 0x0000000000000000 0009AD (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt12.dsl - 12474 bytes File appears to be binary: >>> found 9207 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt1.dat, Length >>> 0x7216 (29206) bytes >>> ACPI: SSDT 0x0000000000000000 007216 (v02 LENOVO AmdTable 00000002 >>> MSFT 04000000) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt1.dsl - 208699 bytes File appears to be binary: >>> found 3968 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt2.dat, Length >>> 0x1500 (5376) bytes >>> ACPI: SSDT 0x0000000000000000 001500 (v01 LENOVO AmdTable 00000001 AMD   >>> 00000001) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt2.dsl - 59265 bytes File appears to be binary: >>> found 449 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt3.dat, Length >>> 0x53A (1338) bytes >>> ACPI: SSDT 0x0000000000000000 00053A (v01 LENOVO Tpm2Tabl 00009999 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt3.dsl - 10738 bytes File appears to be binary: >>> found 474 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt4.dat, Length >>> 0x64C (1612) bytes >>> ACPI: SSDT 0x0000000000000000 00064C (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt4.dsl - 8258 bytes >>> File appears to be binary: found 400 non-ASCII characters, >>> disassembling Binary file appears to be a valid ACPI table, >>> disassembling Input file ssdt5.dat, Length 0x480 (1152) bytes >>> ACPI: SSDT 0x0000000000000000 000480 (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt5.dsl - 5582 bytes >>> File appears to be binary: found 1140 non-ASCII characters, >>> disassembling Binary file appears to be a valid ACPI table, >>> disassembling Input file ssdt6.dat, Length 0x1497 (5271) bytes >>> ACPI: SSDT 0x0000000000000000 001497 (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt6.dsl - 20293 bytes File appears to be binary: >>> found 1314 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt7.dat, Length >>> 0x1576 (5494) bytes >>> ACPI: SSDT 0x0000000000000000 001576 (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt7.dsl - 30076 bytes File appears to be binary: >>> found 4095 non-ASCII characters, disassembling Binary file appears to >>> be a valid ACPI table, disassembling Input file ssdt8.dat, Length >>> 0x353C (13628) bytes >>> ACPI: SSDT 0x0000000000000000 00353C (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt8.dsl - 78242 bytes File appears to be binary: >>> found 74 non-ASCII characters, disassembling Binary file appears to be >>> a valid ACPI table, disassembling Input file ssdt9.dat, Length 0x90 >>> (144) bytes >>> ACPI: SSDT 0x0000000000000000 000090 (v01 LENOVO AmdTable 00000001 >>> INTL 20180313) Pass 1 parse of [SSDT] Pass 2 parse of [SSDT] Parsing >>> Deferred Opcodes (Methods/Buffers/Packages/Regions) >>> >>> Parsing completed >>> Disassembly completed >>> ASL Output:    ssdt9.dsl - 1767 bytes >>> File appears to be binary: found 32 non-ASCII characters, >>> disassembling Binary file appears to be a valid ACPI table, >>> disassembling Input file tpm2.dat, Length 0x38 (56) bytes >>> ACPI: TPM2 0x0000000000000000 000038 (v04 LENOVO CB-01    00000002 >>> LENO 00000001) Acpi Data Table [TPM2] decoded Formatted output:   >>> tpm2.dsl - 1515 bytes File appears to be binary: found 189 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file uefi.dat, Length 0x12A (298) bytes >>> ACPI: UEFI 0x0000000000000000 00012A (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Acpi Data Table [UEFI] decoded Formatted output:   >>> uefi.dsl - 2505 bytes File appears to be binary: found 37100 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file vfct.dat, Length 0xD484 (54404) bytes >>> ACPI: VFCT 0x0000000000000000 00D484 (v01 LENOVO CB-01    00000001 >>> LENO 00000001) Unknown ACPI table signature [VFCT], decoding ACPI >>> table header only Acpi Data Table [VFCT] decoded Formatted output:   >>> vfct.dsl - 269557 bytes File appears to be binary: found 17 non-ASCII >>> characters, disassembling Binary file appears to be a valid ACPI >>> table, disassembling Input file wsmt.dat, Length 0x28 (40) bytes >>> ACPI: WSMT 0x0000000000000000 000028 (v01 LENOVO CB-01    00000000 >>> LENO 00000001) Acpi Data Table [WSMT] decoded Formatted output:   >>> wsmt.dsl - 1313 bytes Low Power S0 Idle is 0 The system does not >>> support S0ix! >>> >>> >>> ################################################# >>> #!/bin/bash >>> >>> cd /var/tmp/ >>> >>> acpidump -b >>> >>> iasl -d *.dat >>> >>> lp=$(grep "Low Power S0 Idle" /var/tmp/facp.dsl | awk '{print $(NF)}') >>> >>> if [ "$lp" -eq 1 ]; then >>> >>> echo "Low Power S0 Idle is" $lp >>> >>> echo "The system supports S0ix!" >>> >>> else >>> >>> echo "Low Power S0 Idle is" $lp >>> >>> echo "The system does not support S0ix!" >>> >>> fi >>> >>>   >>> >>> Thanks, >>> >>> Basavaraj >>> >>> >>> >>> >>> -- >>> Stephen MacNeil >>> 905 334 5092 >>> mglessons.com >>> >