You are not logged in.

#1 2017-05-17 15:30:00

Speranskiy
Member
From: Moscow
Registered: 2013-11-10
Posts: 51

ACPI breaks on resume from suspend

Hi there!
I've got a very old laptop Toshiba Sattelite L40-14G and despite the fact that some say that Linux runs perfectly on old hardware I've got an unsolvable (so far) issue.
If I resume the laptop from suspend it to RAM using (put by either systemd or pm-utils) ACPI doesn't see LID state change.

cat /proc/acpi/button/lid/LID/state

remains always "open".
I've already updated BIOS to the latest available version. Is there any way to restart ACPI (or something else to have LID reading state working again, I'm not familiar with it) on resume from suspend?
I've failed to find any resume hooks that are being executed.

Resume from hibernation (suspend to disk) works fine btw, so it would be useful to understand what hooks are being executed on resume from suspend to disk to copy them. Moreover if I try to suspend to disk after suspend to ram, ACPI start seeing LID state change, but the laptop doesn't go to sleep on LID close though.

Any help or ideas would be highly appreciated!

Edit: incorrect info

Last edited by Speranskiy (2017-05-17 15:43:19)

Offline

#2 2017-05-17 15:39:11

Speranskiy
Member
From: Moscow
Registered: 2013-11-10
Posts: 51

Re: ACPI breaks on resume from suspend

dmesg through suspend to ram -> suspend to disk -> suspend to ram cicle and LID state is stuck in "opened" now

sansan@tosh:~$ dmesg|grep -i acpi
[    0.000000] BIOS-e820: [mem 0x000000003f7a0000-0x000000003f7adfff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000003f7ae000-0x000000003f7effff] ACPI NVS
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F8840 000024 (v02 ACPIAM)
[    0.000000] ACPI: XSDT 0x000000003F7A0100 00008C (v01 TOSASU TOSASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: FACP 0x000000003F7A0290 0000F4 (v03 TOSASU T0SASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: DSDT 0x000000003F7A0680 00C325 (v01 TOSASU TOSASU00 00000000 INTL 20051117)
[    0.000000] ACPI: FACS 0x000000003F7AE000 000040
[    0.000000] ACPI: FACS 0x000000003F7AE000 000040
[    0.000000] ACPI: APIC 0x000000003F7A0390 00005C (v01 TOSASU T0SASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: MCFG 0x000000003F7A0430 00003C (v01 TOSASU T0SASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: SLIC 0x000000003F7A0470 000176 (v01 TOSASU TOSASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: DBGP 0x000000003F7A03F0 000034 (v01 TOSASU T0SASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: BOOT 0x000000003F7A05F0 000028 (v01 TOSASU T0SASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: ECDT 0x000000003F7A0620 000054 (v01 TOSASU T0SASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: OEMB 0x000000003F7AE040 000060 (v01 TOSASU T0SASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: HPET 0x000000003F7AC9B0 000038 (v01 TOSASU TOSASU00 05000814 MSFT 00000097)
[    0.000000] ACPI: GSCI 0x000000003F7AE0A0 002024 (v01 TOSASU GMCHSCI  05000814 MSFT 00000097)
[    0.000000] ACPI: ATKG 0x000000003F7B02D0 008024 (v01 A_M_I_ OEMATKG  00000000      00000000)
[    0.000000] ACPI: SSDT 0x000000003F7B8300 00060F (v01 PmRef  Cpu0Cst  00003001 INTL 20051117)
[    0.000000] ACPI: SSDT 0x000000003F7B8910 0002CD (v01 PmRef  CpuPm1   00003000 INTL 20051117)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: PM-Timer IO Port: 0x808
[    0.000000] ACPI: Local APIC address 0xfee00000
[    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: 0x8086a201 base: 0xfed00000
[    0.003376] ACPI: Core revision 20160930
[    0.003519] ACPI: Forced DSDT copy: length 0x0C325 copied locally, original unmapped
[    0.018787] ACPI: 3 ACPI AML tables successfully acquired and loaded
[    0.123361] PM: Registering ACPI NVS region [mem 0x3f7ae000-0x3f7effff] (270336 bytes)
[    0.143383] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.143384] ACPI: bus type PCI registered
[    0.143386] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.173416] ACPI: Added _OSI(Module Device)
[    0.173417] ACPI: Added _OSI(Processor Device)
[    0.173418] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.173419] ACPI: Added _OSI(Processor Aggregator Device)
[    0.173433] ACPI : EC: EC started
[    0.173434] ACPI : EC: interrupt blocked
[    0.174421] ACPI: \: Used as first EC
[    0.174423] ACPI: \: GPE=0x1c, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.174425] ACPI: \: Used as boot ECDT EC to handle transactions
[    0.174620] ACPI: Executed 1 blocks of module-level executable AML code
[    0.180462] ACPI : EC: EC stopped
[    0.180463] ACPI : EC: EC started
[    0.180464] ACPI : EC: interrupt blocked
[    0.180616] ACPI: \_SB_.PCI0.SBRG.EC0_: Used as first EC
[    0.180619] ACPI: \_SB_.PCI0.SBRG.EC0_: GPE=0x1c, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.180621] ACPI: \_SB_.PCI0.SBRG.EC0_: Used as boot DSDT EC to handle transactions
[    0.180622] ACPI: Interpreter enabled
[    0.180651] ACPI: (supports S0 S3 S4 S5)
[    0.180653] ACPI: Using IOAPIC for interrupt routing
[    0.182373] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI motherboard resources
[    0.182390] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.190986] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.190994] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.191420] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability]
[    0.191423] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configuration
[    0.192433] pci 0000:00:1a.0: System wakeup disabled by ACPI
[    0.192646] pci 0000:00:1a.1: System wakeup disabled by ACPI
[    0.192939] pci 0000:00:1a.7: System wakeup disabled by ACPI
[    0.193178] pci 0000:00:1b.0: System wakeup disabled by ACPI
[    0.193602] pci 0000:00:1c.1: System wakeup disabled by ACPI
[    0.194031] pci 0000:00:1d.0: System wakeup disabled by ACPI
[    0.194246] pci 0000:00:1d.1: System wakeup disabled by ACPI
[    0.194455] pci 0000:00:1d.2: System wakeup disabled by ACPI
[    0.194745] pci 0000:00:1d.7: System wakeup disabled by ACPI
[    0.194907] pci 0000:00:1e.0: System wakeup disabled by ACPI
[    0.195061] pci 0000:00:1f.0: quirk: [io  0x0800-0x087f] claimed by ICH6 ACPI/GPIO/TCO
[    0.197098] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12)
[    0.197173] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 12)
[    0.197244] ACPI: PCI Interrupt Link [LNKC] (IRQs *3 4 5 6 7 10 12)
[    0.197316] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 12)
[    0.197386] ACPI: PCI Interrupt Link [LNKE] (IRQs *6)
[    0.197454] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 *7 10 12)
[    0.197525] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 *4 5 6 7 10 12)
[    0.197595] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *10 12)
[    0.197836] ACPI: Enabled 6 GPEs in block 00 to 1F
[    0.197964] ACPI : EC: interrupt unblocked
[    0.197973] ACPI : EC: event unblocked
[    0.197981] ACPI: \_SB_.PCI0.SBRG.EC0_: GPE=0x1c, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.197983] ACPI: \_SB_.PCI0.SBRG.EC0_: Used as boot DSDT EC to handle transactions and events
[    0.200017] PCI: Using ACPI for IRQ routing
[    0.221613] pnp: PnP ACPI init
[    0.221764] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.221863] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.221938] pnp 00:02: Plug and Play ACPI device, IDs PNP0303 PNP030b (active)
[    0.222023] pnp 00:03: Plug and Play ACPI device, IDs SYN0a0e SYN0a00 SYN0002 PNP0f03 PNP0f13 PNP0f12 (active)
[    0.222237] system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.222382] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.222606] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.223107] system 00:07: Plug and Play ACPI device, IDs PNP0c01 (active)
[    0.223282] pnp: PnP ACPI: found 8 devices
[    0.230274] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.688367] ACPI: bus type USB registered
[    1.247463] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.247517] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[    1.247520] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    1.618535] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.618627] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[    1.618629] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[   10.272481] ACPI: Power Button [PWRB]
[   10.272563] ACPI: Sleep Button [SLPB]
[   10.273591] ACPI: Lid Switch [LID]
[   10.273675] ACPI: Power Button [PWRF]
[   10.390516] ACPI: Battery Slot [BAT0] (battery present)
[   10.390670] ACPI: AC Adapter [AC0] (on-line)
[   10.689105] ACPI: Thermal Zone [THRM] (58 C)
[   10.930713] ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000800-0x000000000000084F (\PMIO) (20160930/utaddress-247)
[   10.930723] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   10.930726] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x000000000000053F (\GPIO) (20160930/utaddress-247)
[   10.930731] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   10.930732] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000053F (\GPIO) (20160930/utaddress-247)
[   10.930736] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   11.033850] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[   11.033984] acpi device:1f: registered as cooling_device1
[   12.303725] systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
[   88.441752] ACPI : EC: event blocked
[   88.947382] ehci-pci 0000:00:1d.7: System wakeup enabled by ACPI
[   88.947454] uhci_hcd 0000:00:1d.2: System wakeup enabled by ACPI
[   88.947518] uhci_hcd 0000:00:1d.1: System wakeup enabled by ACPI
[   88.947579] uhci_hcd 0000:00:1d.0: System wakeup enabled by ACPI
[   88.947836] ehci-pci 0000:00:1a.7: System wakeup enabled by ACPI
[   88.947902] uhci_hcd 0000:00:1a.1: System wakeup enabled by ACPI
[   88.947963] uhci_hcd 0000:00:1a.0: System wakeup enabled by ACPI
[   88.948046] ACPI : EC: interrupt blocked
[   88.963513] ACPI: Preparing to enter system sleep state S3
[   88.968006] ACPI : EC: EC stopped
[   88.968258] ACPI: Low-level resume complete
[   88.968258] ACPI : EC: EC started
[   88.968258] ACPI: Waking up from system sleep state S3
[   89.083072] uhci_hcd 0000:00:1a.0: System wakeup disabled by ACPI
[   89.083134] uhci_hcd 0000:00:1a.1: System wakeup disabled by ACPI
[   89.083429] uhci_hcd 0000:00:1d.0: System wakeup disabled by ACPI
[   89.083490] uhci_hcd 0000:00:1d.1: System wakeup disabled by ACPI
[   89.083551] uhci_hcd 0000:00:1d.2: System wakeup disabled by ACPI
[   89.083883] ACPI : EC: interrupt unblocked
[   89.096877] ehci-pci 0000:00:1a.7: System wakeup disabled by ACPI
[   89.100199] ehci-pci 0000:00:1d.7: System wakeup disabled by ACPI
[   89.100665] ACPI : EC: event unblocked
[   89.102763] rtc_cmos 00:01: System wakeup disabled by ACPI
[   89.683689] ata4.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out
[   89.683692] ata4.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[   90.977727] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[   90.977798] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[   90.977800] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[   90.979695] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[   90.979745] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[   90.979748] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[  996.804008] ACPI : EC: event blocked
[  997.236926] ACPI : EC: interrupt blocked
[  997.237645] ACPI: Preparing to enter system sleep state S4
[  997.242100] ACPI : EC: EC stopped
[  997.243247] ACPI : EC: EC started
[  997.243247] ACPI: Waking up from system sleep state S4
[  997.356977] ACPI : EC: interrupt unblocked
[  997.403525] ACPI : EC: event unblocked
[  997.403673] ACPI : button: The lid device is not compliant to SW_LID.
[  997.406686] rtc_cmos 00:01: System wakeup disabled by ACPI
[  997.623600] ata4.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out
[  997.623602] ata4.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[  997.947581] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[  997.947632] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[  997.947634] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[  998.280373] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[  998.280793] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[  998.280796] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 1058.943724] ACPI : EC: event blocked
[ 1059.480618] ehci-pci 0000:00:1d.7: System wakeup enabled by ACPI
[ 1059.480689] uhci_hcd 0000:00:1d.2: System wakeup enabled by ACPI
[ 1059.480752] uhci_hcd 0000:00:1d.1: System wakeup enabled by ACPI
[ 1059.480813] uhci_hcd 0000:00:1d.0: System wakeup enabled by ACPI
[ 1059.481070] ehci-pci 0000:00:1a.7: System wakeup enabled by ACPI
[ 1059.481136] uhci_hcd 0000:00:1a.1: System wakeup enabled by ACPI
[ 1059.481197] uhci_hcd 0000:00:1a.0: System wakeup enabled by ACPI
[ 1059.481279] ACPI : EC: interrupt blocked
[ 1059.496746] ACPI: Preparing to enter system sleep state S3
[ 1059.501232] ACPI : EC: EC stopped
[ 1059.501501] ACPI: Low-level resume complete
[ 1059.501501] ACPI : EC: EC started
[ 1059.501501] ACPI: Waking up from system sleep state S3
[ 1059.616473] uhci_hcd 0000:00:1a.0: System wakeup disabled by ACPI
[ 1059.616536] uhci_hcd 0000:00:1a.1: System wakeup disabled by ACPI
[ 1059.616829] uhci_hcd 0000:00:1d.0: System wakeup disabled by ACPI
[ 1059.616889] uhci_hcd 0000:00:1d.1: System wakeup disabled by ACPI
[ 1059.616950] uhci_hcd 0000:00:1d.2: System wakeup disabled by ACPI
[ 1059.617415] ACPI : EC: interrupt unblocked
[ 1059.630067] ehci-pci 0000:00:1a.7: System wakeup disabled by ACPI
[ 1059.633397] ehci-pci 0000:00:1d.7: System wakeup disabled by ACPI
[ 1059.638246] ACPI : EC: event unblocked
[ 1059.638414] rtc_cmos 00:01: System wakeup disabled by ACPI
[ 1060.213547] ata4.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out
[ 1060.213550] ata4.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[ 1061.610973] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 1061.611028] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[ 1061.611031] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 1061.612928] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 1061.612975] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[ 1061.612978] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 1108.290666] ACPI : EC: event blocked
[ 1108.620615] ACPI : EC: interrupt blocked
[ 1108.621098] ACPI: Preparing to enter system sleep state S4
[ 1108.625569] ACPI : EC: EC stopped
[ 1108.626571] ACPI : EC: EC started
[ 1108.626571] ACPI: Waking up from system sleep state S4
[ 1108.740288] ACPI : EC: interrupt unblocked
[ 1108.789134] ACPI : EC: event unblocked
[ 1108.790045] rtc_cmos 00:01: System wakeup disabled by ACPI
[ 1108.963549] ata4.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out
[ 1108.963552] ata4.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[ 1109.290693] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 1109.291130] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[ 1109.291133] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 1109.636584] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 1109.636649] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[ 1109.636651] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 1144.833263] ACPI : EC: event blocked
[ 1145.287280] ehci-pci 0000:00:1d.7: System wakeup enabled by ACPI
[ 1145.287352] uhci_hcd 0000:00:1d.2: System wakeup enabled by ACPI
[ 1145.287415] uhci_hcd 0000:00:1d.1: System wakeup enabled by ACPI
[ 1145.287476] uhci_hcd 0000:00:1d.0: System wakeup enabled by ACPI
[ 1145.287732] ehci-pci 0000:00:1a.7: System wakeup enabled by ACPI
[ 1145.287797] uhci_hcd 0000:00:1a.1: System wakeup enabled by ACPI
[ 1145.287857] uhci_hcd 0000:00:1a.0: System wakeup enabled by ACPI
[ 1145.287939] ACPI : EC: interrupt blocked
[ 1145.303398] ACPI: Preparing to enter system sleep state S3
[ 1145.307898] ACPI : EC: EC stopped
[ 1145.308156] ACPI: Low-level resume complete
[ 1145.308156] ACPI : EC: EC started
[ 1145.308156] ACPI: Waking up from system sleep state S3
[ 1145.423249] uhci_hcd 0000:00:1a.0: System wakeup disabled by ACPI
[ 1145.423311] uhci_hcd 0000:00:1a.1: System wakeup disabled by ACPI
[ 1145.423589] uhci_hcd 0000:00:1d.0: System wakeup disabled by ACPI
[ 1145.423649] uhci_hcd 0000:00:1d.1: System wakeup disabled by ACPI
[ 1145.423709] uhci_hcd 0000:00:1d.2: System wakeup disabled by ACPI
[ 1145.424173] ACPI : EC: interrupt unblocked
[ 1145.440105] ehci-pci 0000:00:1a.7: System wakeup disabled by ACPI
[ 1145.440244] ehci-pci 0000:00:1d.7: System wakeup disabled by ACPI
[ 1145.445043] ACPI : EC: event unblocked
[ 1145.445212] rtc_cmos 00:01: System wakeup disabled by ACPI
[ 1146.016874] ata4.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out
[ 1146.016877] ata4.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[ 1147.360941] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 1147.361010] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[ 1147.361013] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 1147.362905] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 1147.362952] ata1.00: ACPI cmd ef/10:06:00:00:00:a0 (SET FEATURES) succeeded
[ 1147.362954] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out

Last edited by Speranskiy (2017-05-17 15:39:57)

Offline

#3 2017-05-17 15:46:16

Speranskiy
Member
From: Moscow
Registered: 2013-11-10
Posts: 51

Re: ACPI breaks on resume from suspend

I've found that "button" kernel module is responsible for LID state but trying to reload it returns this:

sansan@tosh:~$ sudo modprobe -r button
modprobe: FATAL: Module button is in use.
sansan@tosh:~$ sudo rmmod -f button
rmmod: ERROR: could not remove 'button': Resource temporarily unavailable
rmmod: ERROR: could not remove module button: Resource temporarily unavailable

Offline

#4 2017-05-17 16:00:44

Speranskiy
Member
From: Moscow
Registered: 2013-11-10
Posts: 51

Re: ACPI breaks on resume from suspend

Trying to create a resume hook containing this:

[Unit]
Description=Local system resume actions
After=suspend.target

[Service]
Type=oneshot
ExecStart=/usr/bin/rmmod button && /usr/bin/modprobe button

[Install]
WantedBy=suspend.target

returns this:

-- Logs begin at Wed 2017-05-17 10:05:05 MSK, end at Wed 2017-05-17 18:55:39 MSK. --
May 17 18:55:24 tosh rmmod[2324]: rmmod: ERROR: Module button is in use by: i915
May 17 18:55:24 tosh rmmod[2324]: rmmod: ERROR: Module && is not currently loaded
May 17 18:55:24 tosh rmmod[2324]: rmmod: ERROR: Module modprobe is not currently loaded
May 17 18:55:24 tosh rmmod[2324]: rmmod: ERROR: Module button is in use by: i915
May 17 18:55:23 tosh systemd[1]: Starting Local system resume actions...
May 17 18:55:23 tosh systemd[1]: root-resume.service: Main process exited, code=exited, status=1/FAILURE
May 17 18:55:23 tosh systemd[1]: Failed to start Local system resume actions.
May 17 18:55:23 tosh systemd[1]: root-resume.service: Unit entered failed state.
May 17 18:55:23 tosh systemd[1]: root-resume.service: Failed with result 'exit-code'.

It's obvios that syntax of ExecStart is wrong as rmmod consider every single word as a module, but the main issue is "button" module is being held by i915 and I get the same result trying to unload it from terminal.

Offline

#5 2017-05-17 16:03:43

Speranskiy
Member
From: Moscow
Registered: 2013-11-10
Posts: 51

Re: ACPI breaks on resume from suspend

I've fixed the unit and now I have just

May 17 19:02:45 tosh rmmod[2582]: rmmod: ERROR: Module button is in use by: i915
May 17 19:02:44 tosh systemd[1]: Starting Local system resume actions...
May 17 19:02:44 tosh systemd[1]: root-resume.service: Main process exited, code=exited, status=1/FAILURE
May 17 19:02:44 tosh systemd[1]: Failed to start Local system resume actions.
May 17 19:02:44 tosh systemd[1]: root-resume.service: Unit entered failed state.
May 17 19:02:44 tosh systemd[1]: root-resume.service: Failed with result 'exit-code'.

Offline

#6 2017-11-21 22:46:42

n29xm
Member
Registered: 2017-02-11
Posts: 18

Re: ACPI breaks on resume from suspend

I have the exact same issue on my np900x3d - https://bbs.archlinux.org/viewtopic.php?id=231202

How did you resolve the issue may i ask?

Offline

Board footer

Powered by FluxBB