I'm having a serious issue that makes my computer to wake up automatically without any keyboard or mouse click, it stays in sleep mode about 8 seconds.
Edit: It happens randomly, sometimes it just doesn't wake up and works properly, I can't find a constant way of reproducing it.
Is this possible to fix it? If not then how can i make my laptop to hibernate when i close the cover?
I'm using hp pavilion dv6 notebook with additional broadcom wireless and nvidia drivers if it helps.
Edit:
Here are some info about my /proc/acpi/wakeup;
nx1337@nx-HP-Pavilion-dv6-Notebook-PC:~$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P2 S4 *disabled
PEGP S4 *disabled
P0P3 S4 *disabled pci:0000:00:01.0
PEGP S4 *disabled
P0P1 S4 *disabled pci:0000:00:1e.0
CIR0 S5 *enabled pnp:00:00
PS2K S3 *enabled pnp:00:07
PS2M S3 *disabled pnp:00:08
EHC1 S3 *enabled pci:0000:00:1d.0
USB1 S3 *disabled
USB2 S3 *disabled
USB3 S3 *disabled
USB4 S3 *disabled
EHC2 S3 *enabled pci:0000:00:1a.0
USB5 S3 *disabled
USB6 S3 *disabled
USB7 S3 *disabled
HDEF S0 *disabled pci:0000:00:1b.0
RP01 S4 *disabled pci:0000:00:1c.0
RP02 S4 *disabled pci:0000:00:1c.1
PXSX S5 *enabled pci:0000:03:00.0
RP03 S4 *disabled
RP04 S4 *disabled
RP05 S4 *disabled pci:0000:00:1c.4
RP08 S4 *disabled pci:0000:00:1c.7
I'm afraid I don't even have a PBTN entry so I don't want to mess up my system making wild guesses and disabling things I don't know -what if one of them refers to my power button?
Here is some relevant info from my var/log/syslog;
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.383024] PM: Syncing filesystems ... done.
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.452554] PM: Preparing system for mem sleep
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.452826] Freezing user space processes ... (elapsed 0.002 seconds) done.
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.454994] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.456292] PM: Entering mem sleep
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.456339] Suspending console(s) (use no_console_suspend to debug)
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.456695] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.456746] sd 0:0:0:0: [sda] Stopping disk
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.553531] i8042 aux 00:08: System wakeup disabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.553549] i8042 kbd 00:07: System wakeup enabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8587.553575] ene_ir 00:00: System wakeup enabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.049478] PM: suspend of devices complete after 593.170 msecs
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.049702] PM: late suspend of devices complete after 0.220 msecs
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.050173] r8169 0000:03:00.0: System wakeup enabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.081795] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.097841] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.113370] PM: noirq suspend of devices complete after 63.685 msecs
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.113512] ACPI: Preparing to enter system sleep state S3
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.117408] PM: Saving platform NVS memory
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.117809] Disabling non-boot CPUs ...
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.221247] smpboot: CPU 1 is now offline
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.325216] smpboot: CPU 2 is now offline
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.325895] Broke affinity for irq 21
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.325908] Broke affinity for irq 42
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.580520] smpboot: CPU 3 is now offline
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.581674] ACPI: Low-level resume complete
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.581741] PM: Restoring platform NVS memory
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.582259] Enabling non-boot CPUs ...
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.582310] x86: Booting SMP configuration:
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.582311] smpboot: Booting Node 0 Processor 1 APIC 0x1
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.595760] CPU1 is up
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.595785] smpboot: Booting Node 0 Processor 2 APIC 0x4
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.609304] CPU2 is up
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.609328] smpboot: Booting Node 0 Processor 3 APIC 0x5
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.622906] CPU3 is up
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.625304] ACPI: Waking up from system sleep state S3
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.646462] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.678443] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.790598] PM: noirq resume of devices complete after 157.634 msecs
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.790762] PM: early resume of devices complete after 0.124 msecs
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.790996] snd_hda_intel 0000:00:1b.0: irq 43 for MSI/MSI-X
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.794640] r8169 0000:03:00.0: System wakeup disabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.839338] ene_ir 00:00: System wakeup disabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8588.839627] i8042 kbd 00:07: System wakeup disabled by ACPI
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8589.006396] usb 2-1.5: reset high-speed USB device number 3 using ehci-pci
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8589.122299] ata6: SATA link down (SStatus 0 SControl 300)
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8589.122359] ata5: SATA link down (SStatus 0 SControl 300)
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8589.130310] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8589.192118] ata2.00: configured for UDMA/100
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8589.350171] firewire_core 0000:04:00.0: rediscovered device fw0
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.473567] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.479306] ata1.00: configured for UDMA/100
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.493692] sd 0:0:0:0: [sda] Starting disk
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.510980] ERROR @wl_wowl_ind_wake_reason : Unable to get wake reason, err = -95
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.514192] PM: resume of devices complete after 2724.270 msecs
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.514478] PM: Finishing wakeup.
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.514752] firewire_ohci 0000:04:00.0: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.514779] sdhci-pci 0000:04:00.1: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.514803] pci 0000:04:00.2: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.514827] jmb38x_ms 0000:04:00.3: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.514851] pci 0000:04:00.4: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.514960] r8169 0000:03:00.0: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.515128] firewire_ohci 0000:04:00.0: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.515153] sdhci-pci 0000:04:00.1: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.515177] pci 0000:04:00.2: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.515215] jmb38x_ms 0000:04:00.3: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.515240] pci 0000:04:00.4: no hotplug settings from platform
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.514480] Restarting tasks ... done.
Mar 18 23:42:27 nx-HP-Pavilion-dv6-Notebook-PC kernel: [ 8591.598871] video LNXVIDEO:02: Restoring backlight state