You are not logged in.

#1 2013-03-21 03:36:14

whille
Member
Registered: 2013-03-21
Posts: 2

[SOLVED]laptop suspend when LID close, even set HandleLidSwitch=ignore

i've modify
HandleLidSwitch=ignore
systemctl restart systemd-logind.service

But when close LID, it suspend.
Then i click some key on keybord , it come back.

/var/log/everything:

Mar 21 11:20:59 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:21:06 localhost dbus-daemon[317]: dbus[317]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.229" (uid=1000 pid=22838 comm="systemctl stop laptop-mode.service ") interface="org.freedesktop.systemd1.Manager" member="StopUnit" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ")
Mar 21 11:21:13 localhost systemd[1]: Stopped Laptop Mode Tools.
Mar 21 11:21:15 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:21:37 localhost systemd[1]: Reloading.
Mar 21 11:21:37 localhost systemd[1]: /usr/lib/systemd/system-generators/systemd-fstab-generator exited with exit status 1.
Mar 21 11:21:37 localhost [358276.901952] systemd-fstab-generator[22955]: Failed to create mount unit file /run/systemd/generator/tmp.mount, as it already exists. Duplicate entry in /etc/fstab?
Mar 21 11:21:47 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:22:02 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:22:23 localhost logger: LID opened
Mar 21 11:22:31 localhost systemd[1]: Starting Sleep.
Mar 21 11:22:31 localhost systemd[1]: Reached target Sleep.
Mar 21 11:22:31 localhost systemd[1]: Starting Suspend...
Mar 21 11:22:31 localhost logger: LID closed
Mar 21 11:22:31 localhost systemd-sleep[23159]: Suspending system...
Mar 21 11:22:32 localhost kernel: [358330.844138] PM: Syncing filesystems ... done.
Mar 21 11:22:32 localhost kernel: [358331.305611] PM: Preparing system for mem sleep
Mar 21 11:22:47 localhost kernel: [358331.412348] Freezing user space processes ... (elapsed 0.02 seconds) done.
Mar 21 11:22:47 localhost kernel: [358331.439427] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Mar 21 11:22:47 localhost kernel: [358331.452995] PM: Entering mem sleep
Mar 21 11:22:47 localhost kernel: [358331.453150] Suspending console(s) (use no_console_suspend to debug)
Mar 21 11:22:47 localhost kernel: [358331.466400] e1000e 0000:00:19.0: irq 48 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358331.749415] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Mar 21 11:22:47 localhost kernel: [358331.749546] sd 0:0:0:0: [sda] Stopping disk
Mar 21 11:22:47 localhost kernel: [358332.106062] i915 0000:00:02.0: power state changed by ACPI to D3hot
Mar 21 11:22:47 localhost kernel: [358332.242667] PM: suspend of devices complete after 497.619 msecs
Mar 21 11:22:47 localhost kernel: [358332.243146] PM: late suspend of devices complete after 0.473 msecs
Mar 21 11:22:47 localhost kernel: [358332.243658] xhci_hcd 0000:03:00.0: wake-up capability enabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.269361] ehci_hcd 0000:00:1d.0: wake-up capability enabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.282850] ehci_hcd 0000:00:1a.0: wake-up capability enabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.309313] PM: noirq suspend of devices complete after 66.169 msecs
Mar 21 11:22:47 localhost kernel: [358332.309974] ACPI: Preparing to enter system sleep state S3
Mar 21 11:22:47 localhost kernel: [358332.310597] PM: Saving platform NVS memory
Mar 21 11:22:47 localhost kernel: [358332.317339] Disabling non-boot CPUs ...
Mar 21 11:22:47 localhost kernel: [358332.320383] smpboot: CPU 1 is now offline
Mar 21 11:22:47 localhost kernel: [358332.323050] smpboot: CPU 2 is now offline
Mar 21 11:22:47 localhost kernel: [358332.325460] smpboot: CPU 3 is now offline
Mar 21 11:22:47 localhost kernel: [358332.327433] ACPI: Low-level resume complete
Mar 21 11:22:47 localhost kernel: [358332.327483] PM: Restoring platform NVS memory
Mar 21 11:22:47 localhost kernel: [358332.328066] Enabling non-boot CPUs ...
Mar 21 11:22:47 localhost kernel: [358332.331542] smpboot: Booting Node 0 Processor 1 APIC 0x1
Mar 21 11:22:47 localhost kernel: [358332.355520] CPU1 is up
Mar 21 11:22:47 localhost kernel: [358332.358971] smpboot: Booting Node 0 Processor 2 APIC 0x2
Mar 21 11:22:47 localhost kernel: [358332.587540] CPU2 is up
Mar 21 11:22:47 localhost kernel: [358332.590984] smpboot: Booting Node 0 Processor 3 APIC 0x3
Mar 21 11:22:47 localhost kernel: [358332.605172] CPU3 is up
Mar 21 11:22:47 localhost kernel: [358332.610534] ACPI: Waking up from system sleep state S3
Mar 21 11:22:47 localhost systemd[1]: Time has been changed
Mar 21 11:22:47 localhost systemd[1]: systemd-tmpfiles-clean.timer: time change, recalculating next elapse.
Mar 21 11:22:47 localhost acpid: client 328[0:0] has disconnected
Mar 21 11:22:47 localhost systemd-sleep[23159]: System resumed.
Mar 21 11:22:47 localhost kernel: [358332.611098] i915 0000:00:02.0: power state changed by ACPI to D0
Mar 21 11:22:47 localhost kernel: [358332.661492] ehci_hcd 0000:00:1a.0: wake-up capability disabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.688143] ehci_hcd 0000:00:1d.0: wake-up capability disabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.715055] sdhci-pci 0000:01:00.0: MMC controller base frequency changed to 50Mhz.
Mar 21 11:22:47 localhost kernel: [358332.741549] xhci_hcd 0000:03:00.0: wake-up capability disabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.741712] PM: noirq resume of devices complete after 130.745 msecs
Mar 21 11:22:47 localhost kernel: [358332.743008] PM: early resume of devices complete after 0.206 msecs
Mar 21 11:22:47 localhost kernel: [358332.743043] i915 0000:00:02.0: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743146] mei 0000:00:16.0: irq 46 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358332.743195] ehci_hcd 0000:00:1a.0: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743215] e1000e 0000:00:19.0: irq 48 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358332.743301] snd_hda_intel 0000:00:1b.0: irq 49 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358332.743481] ehci_hcd 0000:00:1d.0: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743508] ahci 0000:00:1f.2: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743611] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
Mar 21 11:22:47 localhost kernel: [358332.744213] mei 0000:00:16.0: wd: failed to find the client
Mar 21 11:22:47 localhost kernel: [358332.811881] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
Mar 21 11:22:47 localhost kernel: [358332.981624] usb 4-1.2: reset high-speed USB device number 3 using ehci_hcd
Mar 21 11:22:47 localhost kernel: [358333.061455] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Mar 21 11:22:47 localhost kernel: [358333.061936] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.061944] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._SDD] (Node ffff880149a55cf8), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062035] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.062041] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._GTF] (Node ffff880149a55d20), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062591] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.062599] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._SDD] (Node ffff880149a55cf8), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062690] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.062696] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._GTF] (Node ffff880149a55d20), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062739] ata1.00: configured for UDMA/100
Mar 21 11:22:47 localhost kernel: [358333.074899] sd 0:0:0:0: [sda] Starting disk
Mar 21 11:22:47 localhost kernel: [358333.246448] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
Mar 21 11:22:47 localhost kernel: [358333.253820] iwlwifi 0000:02:00.0: Radio type=0x0-0x0-0x3
Mar 21 11:22:47 localhost kernel: [358333.391539] restoring control 00000000-0000-0000-0000-000000000101/0/2
Mar 21 11:22:47 localhost kernel: [358333.391541] restoring control 00000000-0000-0000-0000-000000000101/1/3
Mar 21 11:22:47 localhost kernel: [358333.391543] restoring control 00000000-0000-0000-0000-000000000101/2/6
Mar 21 11:22:47 localhost kernel: [358333.391544] restoring control 00000000-0000-0000-0000-000000000101/3/7
Mar 21 11:22:47 localhost kernel: [358333.391545] restoring control 00000000-0000-0000-0000-000000000101/5/9
Mar 21 11:22:47 localhost kernel: [358333.693001] PM: resume of devices complete after 950.103 msecs
Mar 21 11:22:47 localhost kernel: [358333.694210] PM: Finishing wakeup.
Mar 21 11:22:47 localhost kernel: [358333.694214] Restarting tasks ... done.
Mar 21 11:22:47 localhost kernel: [358333.706265] video LNXVIDEO:01: Restoring backlight state
Mar 21 11:22:47 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:22:47 localhost acpid: client connected from 328[0:0]
Mar 21 11:22:47 localhost acpid: 1 client rule loaded
Mar 21 11:22:47 localhost systemd[1]: Started Suspend.
Mar 21 11:22:47 localhost systemd[1]: Service sleep.target is not needed anymore. Stopping.
Mar 21 11:22:47 localhost systemd[1]: Stopping Sleep.
Mar 21 11:22:47 localhost systemd[1]: Stopped target Sleep.
Mar 21 11:22:47 localhost systemd[1]: Starting Suspend.
Mar 21 11:22:47 localhost systemd[1]: Reached target Suspend.
Mar 21 11:22:50 localhost logger: ACPI action undefined: PNP0C0A:00

Last edited by whille (2013-03-21 05:26:24)

Offline

#2 2013-03-21 03:37:32

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED]laptop suspend when LID close, even set HandleLidSwitch=ignore

You are still using acpid.  That is triggering the suspend, not logind.


Edit: Also use [ code ] [ /code ] tags (without the spaces) for things like your logs.  Hit the "quote" button if you are more of a visual learner.

 This is how you use code tags. 

Last edited by WonderWoofy (2013-03-21 03:38:53)

Offline

#3 2013-03-21 03:59:18

whille
Member
Registered: 2013-03-21
Posts: 2

Re: [SOLVED]laptop suspend when LID close, even set HandleLidSwitch=ignore

thx. i removed acpid, it stop suspend.

Last edited by whille (2013-03-21 04:02:12)

Offline

#4 2013-03-21 04:37:07

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED]laptop suspend when LID close, even set HandleLidSwitch=ignore

Please mark the thread as [Solved] by editing the first post, which will allow you to also edit the title.

Offline

Board footer

Powered by FluxBB