You are not logged in.

#1 2018-06-25 20:00:52

nicohansi
Member
Registered: 2018-06-25
Posts: 1

S3 on Clevo W840SU not working on kernel 4.17

Hi all,
Since updating to the 4.17 kernel I have problems with suspend. The system suspends and wakes up as expected once after a reboot, for all following attempts I get instant wakeups. Before the update it worked as expected. In fact I have an older parallel installation that still suspends fine.
I already tried disabeling the various methods in

$ cat /proc/acpi/wakeup 
Device	S-state	  Status   Sysfs node
RP01	  S4	*disabled  pci:0000:00:1c.0
PXSX	  S4	*disabled
RP02	  S4	*disabled
PXSX	  S4	*disabled
RP03	  S4	*disabled  pci:0000:00:1c.2
PXSX	  S4	*disabled  pci:0000:02:00.0
RP04	  S4	*disabled  pci:0000:00:1c.3
PXSX	  S4	*disabled  pci:0000:03:00.0
		*disabled  platform:rtsx_pci_sdmmc.0
		*disabled  platform:rtsx_pci_ms.0
RLAN	  S4	*disabled
RP05	  S4	*disabled
PXSX	  S4	*disabled
RP06	  S4	*disabled
PXSX	  S4	*disabled
RP07	  S4	*disabled
PXSX	  S4	*disabled
RP08	  S4	*disabled
PXSX	  S4	*disabled
GLAN	  S4	*disabled
EHC1	  S3	*enabled   pci:0000:00:1d.0
EHC2	  S3	*disabled
XHC	  S3	*enabled   pci:0000:00:14.0
HDEF	  S4	*disabled  pci:0000:00:1b.0
TPD4	  S4	*disabled
PEG0	  S4	*disabled
PEGP	  S4	*disabled
PEG1	  S4	*disabled
PEG2	  S4	*disabled
PWRB	  S3	*enabled   platform:PNP0C0C:00
SLPB	  S3	*enabled   platform:PNP0C0E:00
LID0	  S3	*enabled   platform:PNP0C0D:00

but this did not help.

# dmesg | grep  ACPI 
[    0.000000] BIOS-e820: [mem 0x00000000d7963000-0x00000000d7969fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000d9971000-0x00000000d9a7dfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000d9e08000-0x00000000d9e08fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000d9e19000-0x00000000d9e2efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000d9f11000-0x00000000d9f14fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000d9f1d000-0x00000000d9f1dfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000d9f36000-0x00000000d9f36fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000d9f38000-0x00000000d9f38fff] ACPI NVS
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F0490 000024 (v02 ALASKA)
[    0.000000] ACPI: XSDT 0x00000000D9E19088 00008C (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FACP 0x00000000D9E28CB0 00010C (v05 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: DSDT 0x00000000D9E191A8 00FB04 (v02 ALASKA A M I    00000024 INTL 20120711)
[    0.000000] ACPI: FACS 0x00000000D9F36080 000040
[    0.000000] ACPI: APIC 0x00000000D9E28DC0 000072 (v03 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FPDT 0x00000000D9E28E38 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: ASF! 0x00000000D9E28E80 0000A5 (v32 INTEL   HCG     00000001 TFSM 000F4240)
[    0.000000] ACPI: SSDT 0x00000000D9E28F28 000F92 (v01 TrmRef PtidDevc 00001000 INTL 20091112)
[    0.000000] ACPI: SSDT 0x00000000D9E29EC0 000539 (v01 PmRef  Cpu0Ist  00003000 INTL 20051117)
[    0.000000] ACPI: SSDT 0x00000000D9E2A400 000AD8 (v01 PmRef  CpuPm    00003000 INTL 20051117)
[    0.000000] ACPI: MCFG 0x00000000D9E2AED8 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
[    0.000000] ACPI: HPET 0x00000000D9E2AF18 000038 (v01 ALASKA A M I    01072009 AMI. 00000005)
[    0.000000] ACPI: SSDT 0x00000000D9E2AF50 000315 (v01 SataRe SataTabl 00001000 INTL 20091112)
[    0.000000] ACPI: SSDT 0x00000000D9E2B268 0033F3 (v01 SaSsdt SaSsdt   00003000 INTL 20091112)
[    0.000000] ACPI: DMAR 0x00000000D9E2E660 000088 (v01 INTEL  HSW      00000001 INTL 00000001)
[    0.000000] ACPI: CSRT 0x00000000D9E2E6E8 0000C4 (v01 INTL   HSWULT-R 00000001 INTL 20100528)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: PM-Timer IO Port: 0x1808
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.000000] ACPI: Core revision 20180313
[    0.141216] PM: Registering ACPI NVS region [mem 0xd7963000-0xd7969fff] (28672 bytes)
[    0.141216] PM: Registering ACPI NVS region [mem 0xd9971000-0xd9a7dfff] (1101824 bytes)
[    0.141216] PM: Registering ACPI NVS region [mem 0xd9e08000-0xd9e08fff] (4096 bytes)
[    0.141216] PM: Registering ACPI NVS region [mem 0xd9e19000-0xd9e2efff] (90112 bytes)
[    0.141216] PM: Registering ACPI NVS region [mem 0xd9f11000-0xd9f14fff] (16384 bytes)
[    0.141216] PM: Registering ACPI NVS region [mem 0xd9f1d000-0xd9f1dfff] (4096 bytes)
[    0.141216] PM: Registering ACPI NVS region [mem 0xd9f36000-0xd9f36fff] (4096 bytes)
[    0.141216] PM: Registering ACPI NVS region [mem 0xd9f38000-0xd9f38fff] (4096 bytes)
[    0.141216] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.141216] ACPI: bus type PCI registered
[    0.141216] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.143792] ACPI: Added _OSI(Module Device)
[    0.143792] ACPI: Added _OSI(Processor Device)
[    0.143792] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.143792] ACPI: Added _OSI(Processor Aggregator Device)
[    0.143792] ACPI: Added _OSI(Linux-Dell-Video)
[    0.158817] ACPI: 6 ACPI AML tables successfully acquired and loaded
[    0.163549] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.164230] ACPI: Dynamic OEM Table Load:
[    0.164230] ACPI: SSDT 0xFFFF9CF80D144400 0003D3 (v01 PmRef  Cpu0Cst  00003001 INTL 20051117)
[    0.164230] ACPI: Dynamic OEM Table Load:
[    0.164230] ACPI: SSDT 0xFFFF9CF80D7AC000 0005AA (v01 PmRef  ApIst    00003000 INTL 20051117)
[    0.166839] ACPI: Dynamic OEM Table Load:
[    0.166846] ACPI: SSDT 0xFFFF9CF80D160000 000119 (v01 PmRef  ApCst    00003000 INTL 20051117)
[    0.168188] ACPI: EC: EC started
[    0.168189] ACPI: EC: interrupt blocked
[    0.168413] ACPI: \_SB_.PCI0.LPCB.EC__: Used as first EC
[    0.168413] ACPI: \_SB_.PCI0.LPCB.EC__: GPE=0x1, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.168413] ACPI: \_SB_.PCI0.LPCB.EC__: Used as boot DSDT EC to handle transactions
[    0.168413] ACPI: Interpreter enabled
[    0.168413] ACPI: (supports S0 S3 S4 S5)
[    0.168413] ACPI: Using IOAPIC for interrupt routing
[    0.168413] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.168413] ACPI: Enabled 7 GPEs in block 00 to 7F
[    0.184763] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[    0.191341] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 *11 12 14 15)
[    0.191410] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.191478] ACPI: PCI Interrupt Link [LNKC] (IRQs *3 4 5 6 10 11 12 14 15)
[    0.191546] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *10 11 12 14 15)
[    0.191614] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.191681] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.191749] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 6 10 11 12 14 15)
[    0.191818] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 *4 5 6 10 11 12 14 15)
[    0.192221] ACPI: EC: interrupt unblocked
[    0.192231] ACPI: EC: event unblocked
[    0.192238] ACPI: \_SB_.PCI0.LPCB.EC__: GPE=0x1, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.192239] ACPI: \_SB_.PCI0.LPCB.EC__: Used as boot DSDT EC to handle transactions and events
[    0.192314] PCI: Using ACPI for IRQ routing
[    0.207476] pnp: PnP ACPI init
[    0.207595] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.208008] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.208032] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.208089] system 00:03: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active)
[    0.208117] pnp 00:04: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.208201] pnp 00:05: Plug and Play ACPI device, IDs ETD0403 PNP0f13 (active)
[    0.208279] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.208812] system 00:07: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.209269] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.209592] pnp: PnP ACPI: found 9 devices
[    0.430700] ACPI: Power Button [PWRB]
[    0.430754] ACPI: Sleep Button [SLPB]
[    0.430790] ACPI: Lid Switch [LID0]
[    0.430826] ACPI: Power Button [PWRF]
[    0.431249] ACPI: Thermal Zone [TZ0] (14 C)
[    0.770987] ACPI: bus type USB registered
[   65.710392] ACPI: AC Adapter [AC] (on-line)
[   65.724194] ACPI: Battery Slot [BAT0] (battery present)
[   66.494781] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[  668.019854] ACPI: EC: interrupt blocked
[  668.036411] ACPI: Preparing to enter system sleep state S3
[  668.038273] ACPI: EC: event blocked
[  668.038275] ACPI: EC: EC stopped
[  668.191060] ACPI: Low-level resume complete
[  668.191116] ACPI: EC: EC started
[  668.197048] ACPI: Waking up from system sleep state S3
[  668.198486] ACPI: EC: interrupt unblocked
[  668.217533] ACPI: EC: event unblocked
[  668.217793] ACPI: button: The lid device is not compliant to SW_LID.
[  672.958819] ACPI: EC: interrupt blocked
[  672.975386] ACPI: Preparing to enter system sleep state S3
[  672.977340] ACPI: EC: event blocked
[  672.977341] ACPI: EC: EC stopped
[  673.096007] ACPI: Low-level resume complete
[  673.096063] ACPI: EC: EC started
[  673.102020] ACPI: Waking up from system sleep state S3
[  673.103465] ACPI: EC: interrupt unblocked
[  673.123006] ACPI: EC: event unblocked

The only thing that is different between the first and the second sleep is the LID warning.

The complete output of dmesg is here.

$ pacman -Qi linux
Name                     : linux
Version                  : 4.17.2-1
Beschreibung             : The Linux kernel and modules
Architektur              : x86_64
URL                      : https://www.kernel.org/
Lizenzen                 : GPL2
Gruppen                  : base
Stellt bereit            : Nichts
Hängt ab von             : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optionale Abhängigkeiten : crda: to set the correct wireless channels of your country
Benötigt von             : Nichts
Optional für             : Nichts
In Konflikt mit          : Nichts
Ersetzt                  : Nichts
Installationsgröße       : 114,63 MiB
Packer                   : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Erstellt am              : Sa 16 Jun 2018 12:08:26 WEST
Installiert am           : So 24 Jun 2018 08:51:00 WEST
Installationsgrund       : Ausdrücklich installiert
Installations-Skript     : Ja
Verifiziert durch        : Signatur
$ uname -a
Linux laptop 4.17.2-1-ARCH #1 SMP PREEMPT Sat Jun 16 11:08:59 UTC 2018 x86_64 GNU/Linux

This is all rellatively new to me. Since it worked before I don"t think it has to do with some sloppy BIOS, but I don't know. Do you know something I can try or some diagnostic, that could hint in the right direction?
Thank You!

Last edited by nicohansi (2018-06-26 08:59:20)

Offline

Board footer

Powered by FluxBB