Saya menggunakan archlinux. Ini tidak pernah ditangguhkan secara otomatis sebelum peningkatan sistem baru-baru ini (mungkin saya memperbarui kernel?).
Saya pikir ini terkait dengan laptop-mode
atau acpid
, jadi saya menghentikan mereka:
/etc/rc.d/laptop-mode stop
/etc/rc.d/acpid stop
Saya juga mengedit /etc/laptop-mode/laptop-mode.conf
:
ENABLE_LAPTOP_MODE_TOOLS=0
Lalu saya edit /etc/acpi/actions/lm_lid.sh
, berkomentar di baris terakhir:
# /usr/sbin/laptop_mode auto
Tetapi semua hal di atas tidak berhasil. Baris berikut ditemukan di /var/log/kernel.log
(baris yang tidak terkait dihilangkan):
Oct 23 15:29:20 localhost kernel: [18617.549098] PM: Syncing filesystems ... done.
Oct 23 15:29:20 localhost kernel: [18618.001898] PM: Preparing system for mem sleep
Oct 23 15:29:30 localhost kernel: [18618.039565] Freezing user space processes ... (elapsed 0.01 seconds) done.
Oct 23 15:29:30 localhost kernel: [18618.052596] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Oct 23 15:29:30 localhost kernel: [18618.065999] PM: Entering mem sleep
Oct 23 15:29:30 localhost kernel: [18618.066167] Suspending console(s) (use no_console_suspend to debug)
Oct 23 15:29:30 localhost kernel: [18618.097917] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Oct 23 15:29:30 localhost kernel: [18618.098103] sd 0:0:0:0: [sda] Stopping disk
Oct 23 15:29:30 localhost kernel: [18618.270537] snd_hda_intel 0000:00:14.2: power state changed by ACPI to D3hot
Oct 23 15:29:30 localhost kernel: [18619.274374] PM: suspend of devices complete after 1196.192 msecs
Oct 23 15:29:30 localhost kernel: [18619.274691] PM: late suspend of devices complete after 0.313 msecs
Oct 23 15:29:30 localhost kernel: [18619.440877] ohci_hcd 0000:00:14.5: wake-up capability enabled by ACPI
Oct 23 15:29:30 localhost kernel: [18619.642144] ACPI: Waking up from system sleep state S3
Oct 23 15:29:30 localhost kernel: [18620.049424] PM: noirq resume of devices complete after 333.503 msecs
Oct 23 15:29:30 localhost kernel: [18620.049852] PM: early resume of devices complete after 0.334 msecs
Oct 23 15:29:30 localhost kernel: [18622.418605] PM: resume of devices complete after 2371.906 msecs
Oct 23 15:29:30 localhost kernel: [18622.419018] PM: Finishing wakeup.
Oct 23 15:29:30 localhost kernel: [18622.419019] Restarting tasks ... done.
Oct 23 15:29:30 localhost kernel: [18622.464752] video LNXVIDEO:01: Restoring backlight state
Saya pikir ini bukan disebabkan oleh pm-susend
, karena /var/log/pm-suspend.log
jangan mencatat apa pun.
Saya tidak ingin laptop saya tidur ketika saya menutup tutupnya. Bagaimana cara melakukannya?
Versi kernel: 3.6.2-1-ARCH
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
menonaktifkan setiap jenis suspensi.