LINUX.ORG.RU

Переходит в ждущий режим, хотя acpid выключен

 ,


0

1

В общем, странная проблема. Void Linux, ядро 5.8.9. Выключил службу acpid. Но ноутбук упорно переходит в ждущий режим при закрытии крышки. Но не всегда, что характерно. В dmesg при этом такие записи:

2020-09-15T03:48:48.98048 kern.info: [13369.081190] PM: suspend entry (deep)
2020-09-15T03:48:49.15038 kern.info: [13369.251259] Filesystems sync: 0.170 seconds
kern.info: [13369.252197] Freezing user space processes ... (elapsed 0.001 seconds) done.
kern.info: [13369.253923] OOM killer disabled.
kern.info: [13369.253924] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
kern.info: [13369.255228] printk: Suspending console(s) (use no_console_suspend to debug)
kern.notice: [13369.303815] sd 0:0:0:0: [sda] Synchronizing SCSI cache
kern.notice: [13369.330281] sd 0:0:0:0: [sda] Stopping disk
kern.info: [13369.606824] ACPI: EC: interrupt blocked
kern.info: [13369.630891] ACPI: Preparing to enter system sleep state S3
kern.info: [13369.632049] ACPI: EC: event blocked
kern.info: [13369.632051] ACPI: EC: EC stopped
kern.info: [13369.632052] PM: Saving platform NVS memory
kern.info: [13369.632347] Disabling non-boot CPUs ...
kern.info: [13369.633934] smpboot: CPU 1 is now offline
kern.info: [13369.635875] smpboot: CPU 2 is now offline
kern.info: [13369.637806] smpboot: CPU 3 is now offline
kern.warn: [13044.323586] [Firmware Bug]: TSC ADJUST differs: CPU0 0 --> -837171438. Restoring
kern.info: [13369.640029] ACPI: Low-level resume complete
kern.info: [13369.640250] ACPI: EC: EC started
kern.info: [13369.640252] PM: Restoring platform NVS memory
kern.info: [13369.641551] Enabling non-boot CPUs ...
kern.info: [13369.641774] x86: Booting SMP configuration:
kern.info: [13369.641778] smpboot: Booting Node 0 Processor 1 APIC 0x2
kern.info: [13369.643627] CPU1 is up
kern.info: [13369.643760] smpboot: Booting Node 0 Processor 2 APIC 0x4
kern.info: [13369.645577] CPU2 is up
kern.info: [13369.645655] smpboot: Booting Node 0 Processor 3 APIC 0x6
kern.info: [13369.647553] CPU3 is up
kern.info: [13369.648316] ACPI: Waking up from system sleep state S3
kern.info: [13369.767241] ACPI: EC: interrupt unblocked
kern.err: [13369.767286] pci 0000:00:0f.2: can't change power state from D3cold to D0 (config space inaccessible)
kern.err: [13369.767359] pci 0000:00:0f.1: can't change power state from D3cold to D0 (config space inaccessible)
kern.info: [13369.793887] ACPI: EC: event unblocked
kern.notice: [13369.805227] sd 0:0:0:0: [sda] Starting disk
kern.info: [13370.009717] r8169 0000:02:00.0 enp2s0: Link is Down
kern.info: [13370.070244] usb 1-8: reset full-speed USB device number 4 using xhci_hcd
kern.info: [13370.274789] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
kern.info: [13370.282411] ata2.00: configured for UDMA/33
kern.info: [13370.310148] usb 1-7: reset high-speed USB device number 3 using xhci_hcd
kern.info: [13371.730682] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
kern.info: [13371.792389] ata1.00: configured for UDMA/133
kern.info: [13371.818413] OOM killer enabled.
kern.info: [13371.818414] Restarting tasks ... done.
kern.warn: [13371.824532] thermal thermal_zone1: failed to read out thermal zone (-61)
kern.info: [13371.833413] Bluetooth: hci0: read Intel version: 370810011003110e00
kern.info: [13371.833568] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
kern.info: [13371.952409] PM: suspend exit
kern.err: [13372.146166] Bluetooth: hci0: unexpected event for opcode 0xfc2f
kern.info: [13372.165244] Bluetooth: hci0: Intel BT fw patch 0x32 completed & activated

При в этом с Debian (установлен рядом) такой проблемы нет, то есть если выполнить

# systemctl mask suspend.target

– то перехода и спящий не будет. Может, в Void ядро плохое? В Debian версия младше.