You are not logged in.

#1 2009-01-10 09:04:11

dr/owned
Member
Registered: 2009-01-09
Posts: 136

Having to hold down keys to get hibernate and suspend to resume

Whenever I hibernate (using the acpi + pm_utilities I think), I have to push down any key to get my system to resume (after turning the computer on)

Whenever I suspend, I have to explicitly push down my power button to get my system to resume.  Pushing other keys has no effect.  Push the power button twice...one to turn on the computer, once more to get to the desktop.

The only thing that even remotely relates to this problem is the fact that after I added cpu scaling to my computer, I had to hold down a key to get past the initial bootup (when loading modules) but fixed that with "hpet=disable".  Any ideas for what could be causing this or a possible solution?  Is this the appropriate place to post this or should this be a potential bug report?  EDIT: Bug report here: http://bugs.archlinux.org/task/12742?project=1

Last edited by dr/owned (2009-01-10 22:57:02)

Offline

#2 2009-01-10 10:33:17

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: Having to hold down keys to get hibernate and suspend to resume

ya i have noticed it too...but in my laptop after suspend to ram using pm-utils i see no lights and i have to hard reset


Acer Aspire V5-573P Antergos KDE

Offline

#3 2009-01-10 22:29:16

dr/owned
Member
Registered: 2009-01-09
Posts: 136

Re: Having to hold down keys to get hibernate and suspend to resume

Here's the relevant bit from /var/log/messages.log after I hibernated for the night and resumed this morning.

Jan 10 22:11:58 myhost -- MARK --
Jan 10 14:11:59 myhost PM: Syncing filesystems ... done.
Jan 10 14:11:59 myhost Freezing user space processes ... (elapsed 0.00 seconds) done.
Jan 10 14:11:59 myhost Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Jan 10 14:11:59 myhost PM: Shrinking memory...  -\done (281 pages freed)
Jan 10 14:11:59 myhost PM: Freed 1124 kbytes in 0.19 seconds (5.91 MB/s)
Jan 10 14:11:59 myhost Suspending console(s) (use no_console_suspend to debug)
Jan 10 14:11:59 myhost sd 2:0:0:0: [sda] Synchronizing SCSI cache
Jan 10 14:11:59 myhost wl 0000:03:00.0: PCI INT A disabled
Jan 10 14:11:59 myhost ricoh-mmc: Suspending.
Jan 10 14:11:59 myhost ricoh-mmc: Controller is now re-enabled.
Jan 10 14:11:59 myhost sdhci-pci 0000:02:05.1: PCI INT B disabled
Jan 10 14:11:59 myhost NVRM: RmPowerManagement: 3
Jan 10 14:11:59 myhost forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
Jan 10 14:11:59 myhost forcedeth 0000:00:0a.0: PME# disabled
Jan 10 14:11:59 myhost HDA Intel 0000:00:07.0: PCI INT A disabled
Jan 10 14:11:59 myhost ehci_hcd 0000:00:04.1: PCI INT B disabled
Jan 10 14:11:59 myhost ohci_hcd 0000:00:04.0: PCI INT A disabled
Jan 10 14:11:59 myhost ehci_hcd 0000:00:02.1: PCI INT B disabled
Jan 10 14:11:59 myhost ohci_hcd 0000:00:02.0: PCI INT A disabled
Jan 10 14:11:59 myhost ACPI: Preparing to enter system sleep state S4
Jan 10 14:11:59 myhost Disabling non-boot CPUs ...
Jan 10 14:11:59 myhost CPU 1 is now offline
Jan 10 14:11:59 myhost SMP alternatives: switching to UP code
Jan 10 14:11:59 myhost CPU1 is down
Jan 10 14:11:59 myhost Extended CMOS year: 2000
Jan 10 14:11:59 myhost PM: Creating hibernation image: 
Jan 10 14:11:59 myhost PM: Need to copy 126586 pages
Jan 10 14:11:59 myhost x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Jan 10 14:11:59 myhost Extended CMOS year: 2000
Jan 10 14:11:59 myhost Enabling non-boot CPUs ...
Jan 10 14:11:59 myhost SMP alternatives: switching to SMP code
Jan 10 14:11:59 myhost Booting processor 1 APIC 0x1 ip 0x6000
Jan 10 14:11:59 myhost Initializing CPU#1
Jan 10 14:11:59 myhost Calibrating delay using timer specific routine.. 3801.74 BogoMIPS (lpj=6333998)
Jan 10 14:11:59 myhost CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
Jan 10 14:11:59 myhost CPU: L2 Cache: 512K (64 bytes/line)
Jan 10 14:11:59 myhost CPU: Physical Processor ID: 0
Jan 10 14:11:59 myhost CPU: Processor Core ID: 1
Jan 10 14:11:59 myhost x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
Jan 10 14:11:59 myhost CPU1: AMD Turion(tm) 64 X2 Mobile Technology TL-58 stepping 01
Jan 10 14:11:59 myhost CPU1 is up
Jan 10 14:11:59 myhost ACPI: Waking up from system sleep state S4
Jan 10 14:11:59 myhost Clocksource tsc unstable (delta = 4398046146774 ns)
Jan 10 14:11:59 myhost ACPI: EC: non-query interrupt received, switching to interrupt mode
Jan 10 14:11:59 myhost ohci_hcd 0000:00:02.0: PCI INT A -> Link[LUS0] -> GSI 18 (level, low) -> IRQ 18
Jan 10 14:11:59 myhost usb usb2: root hub lost power or was reset
Jan 10 14:11:59 myhost ehci_hcd 0000:00:02.1: PCI INT B -> Link[LUS2] -> GSI 22 (level, low) -> IRQ 22
Jan 10 14:11:59 myhost usb usb1: root hub lost power or was reset
Jan 10 14:11:59 myhost ehci_hcd 0000:00:02.1: debug port 1
Jan 10 14:11:59 myhost ohci_hcd 0000:00:04.0: PCI INT A -> Link[Z018] -> GSI 18 (level, low) -> IRQ 18
Jan 10 14:11:59 myhost usb usb4: root hub lost power or was reset
Jan 10 14:11:59 myhost ehci_hcd 0000:00:04.1: PCI INT B -> Link[Z019] -> GSI 22 (level, low) -> IRQ 22
Jan 10 14:11:59 myhost usb usb3: root hub lost power or was reset
Jan 10 14:11:59 myhost ehci_hcd 0000:00:04.1: debug port 1
Jan 10 14:11:59 myhost HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 21 (level, low) -> IRQ 21
Jan 10 14:11:59 myhost forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
Jan 10 14:11:59 myhost forcedeth 0000:00:0a.0: PME# disabled
Jan 10 14:11:59 myhost NVRM: RmPowerManagement: 5
Jan 10 14:11:59 myhost ata1.00: ACPI cmd ef/03:22:00:00:00:a0 filtered out
Jan 10 14:11:59 myhost ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 filtered out
Jan 10 14:11:59 myhost ata1.00: configured for MWDMA2
Jan 10 14:11:59 myhost ata4: SATA link down (SStatus 0 SControl 300)
Jan 10 14:11:59 myhost ata5: SATA link down (SStatus 0 SControl 300)
Jan 10 14:11:59 myhost ata6: SATA link down (SStatus 0 SControl 300)
Jan 10 14:11:59 myhost ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Jan 10 14:11:59 myhost ata3.00: configured for UDMA/100
Jan 10 14:11:59 myhost sd 2:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
Jan 10 14:11:59 myhost sd 2:0:0:0: [sda] Write Protect is off
Jan 10 14:11:59 myhost sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan 10 14:11:59 myhost ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[5]  MMIO=[f2100000-f21007ff]  Max Packet=[2048]  IR/IT contexts=[4/4]
Jan 10 14:11:59 myhost sdhci-pci 0000:02:05.1: PCI INT B -> Link[LNK2] -> GSI 7 (level, low) -> IRQ 7
Jan 10 14:11:59 myhost ricoh-mmc: Resuming.
Jan 10 14:11:59 myhost ricoh-mmc: Controller is now disabled.
Jan 10 14:11:59 myhost wl 0000:03:00.0: PCI INT A -> Link[LK4E] -> GSI 19 (level, low) -> IRQ 19
Jan 10 14:11:59 myhost sd 2:0:0:0: [sda] Starting disk
Jan 10 14:11:59 myhost usb 2-4: reset low speed USB device using ohci_hcd and address 2
Jan 10 14:11:59 myhost usb 3-2: reset high speed USB device using ehci_hcd and address 2
Jan 10 14:11:59 myhost Restarting tasks ... done.
Jan 10 14:11:59 myhost acpid: client connected from 2674[0:0]
Jan 10 14:11:59 myhost acpid: 1 client rule loaded
Jan 10 14:11:59 myhost NetworkManager: <info>  Waking up from sleep.
Jan 10 14:11:59 myhost NetworkManager: <info>  Deactivating device eth1.
Jan 10 14:11:59 myhost NetworkManager: <info>  Deactivating device eth0.
Jan 10 14:12:00 myhost acpid: client connected from 2674[0:0]
Jan 10 14:12:00 myhost acpid: 1 client rule loaded
Jan 10 14:12:01 myhost NetworkManager: <WARN>  nm_device_802_11_wireless_set_wep_enc_key(): error setting key for device eth0: Invalid argument
Jan 10 14:12:01 myhost eth1: no link during initialization.
Jan 10 14:12:01 myhost ADDRCONF(NETDEV_UP): eth1: link is not ready
Jan 10 14:12:01 myhost NetworkManager: <info>  eth1: Device is fully-supported using driver '(null)'.

Here's the same log file when I try and suspend/resume.  This one is good because you can see when I push the power button to get it to resume fully:

Jan 10 14:37:09 myhost PM: Syncing filesystems ... done.
Jan 10 14:37:09 myhost Freezing user space processes ... (elapsed 0.00 seconds) done.
Jan 10 14:37:09 myhost Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Jan 10 14:37:09 myhost Suspending console(s) (use no_console_suspend to debug)
Jan 10 14:37:09 myhost sd 2:0:0:0: [sda] Synchronizing SCSI cache
Jan 10 14:37:09 myhost sd 2:0:0:0: [sda] Stopping disk
Jan 10 14:37:09 myhost wl 0000:03:00.0: PCI INT A disabled
Jan 10 14:37:09 myhost ricoh-mmc: Suspending.
Jan 10 14:37:09 myhost ricoh-mmc: Controller is now re-enabled.
Jan 10 14:37:09 myhost sdhci-pci 0000:02:05.1: PCI INT B disabled
Jan 10 14:37:09 myhost NVRM: RmPowerManagement: 4
Jan 10 14:37:09 myhost forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
Jan 10 14:37:09 myhost forcedeth 0000:00:0a.0: PME# disabled
Jan 10 14:37:09 myhost HDA Intel 0000:00:07.0: PCI INT A disabled
Jan 10 14:37:09 myhost ehci_hcd 0000:00:04.1: PCI INT B disabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: PCI INT A disabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: PME# enabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: wake-up capability enabled by ACPI
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: PME# enabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: wake-up capability enabled by ACPI
Jan 10 14:37:09 myhost ehci_hcd 0000:00:02.1: PCI INT B disabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: PCI INT A disabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: PME# enabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: wake-up capability enabled by ACPI
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: PME# enabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: wake-up capability enabled by ACPI
Jan 10 14:37:09 myhost ACPI: Preparing to enter system sleep state S3
Jan 10 14:37:09 myhost Disabling non-boot CPUs ...
Jan 10 14:37:09 myhost CPU 1 is now offline
Jan 10 14:37:09 myhost SMP alternatives: switching to UP code
Jan 10 14:37:09 myhost CPU1 is down
Jan 10 14:37:09 myhost Extended CMOS year: 2000
Jan 10 14:37:09 myhost x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
Jan 10 14:37:09 myhost Extended CMOS year: 2000
Jan 10 14:37:09 myhost Enabling non-boot CPUs ...
Jan 10 14:37:09 myhost SMP alternatives: switching to SMP code
Jan 10 14:37:09 myhost Booting processor 1 APIC 0x1 ip 0x6000
Jan 10 14:37:09 myhost Initializing CPU#1
Jan 10 14:37:09 myhost Calibrating delay using timer specific routine.. 3801.77 BogoMIPS (lpj=6334036)
Jan 10 14:37:09 myhost CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
Jan 10 14:37:09 myhost CPU: L2 Cache: 512K (64 bytes/line)
Jan 10 14:37:09 myhost CPU: Physical Processor ID: 0
Jan 10 14:37:09 myhost CPU: Processor Core ID: 1
Jan 10 14:37:09 myhost x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
Jan 10 14:37:09 myhost CPU1: AMD Turion(tm) 64 X2 Mobile Technology TL-58 stepping 01
Jan 10 14:37:09 myhost CPU1 is up
Jan 10 14:37:09 myhost ACPI: Waking up from system sleep state S3
Jan 10 14:37:09 myhost ACPI: EC: non-query interrupt received, switching to interrupt mode
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: wake-up capability disabled by ACPI
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: PME# disabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: wake-up capability disabled by ACPI
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: PME# disabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:02.0: PCI INT A -> Link[LUS0] -> GSI 18 (level, low) -> IRQ 18
Jan 10 14:37:09 myhost ehci_hcd 0000:00:02.1: PCI INT B -> Link[LUS2] -> GSI 22 (level, low) -> IRQ 22
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: wake-up capability disabled by ACPI
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: PME# disabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: wake-up capability disabled by ACPI
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: PME# disabled
Jan 10 14:37:09 myhost ohci_hcd 0000:00:04.0: PCI INT A -> Link[Z018] -> GSI 18 (level, low) -> IRQ 18
Jan 10 14:37:09 myhost ehci_hcd 0000:00:04.1: PCI INT B -> Link[Z019] -> GSI 22 (level, low) -> IRQ 22
Jan 10 14:37:09 myhost HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 21 (level, low) -> IRQ 21
Jan 10 14:37:09 myhost forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
Jan 10 14:37:09 myhost forcedeth 0000:00:0a.0: PME# disabled
Jan 10 14:37:09 myhost eth1: no link during initialization.
Jan 10 14:37:09 myhost NVRM: RmPowerManagement: 5
Jan 10 14:37:09 myhost ata1.00: ACPI cmd ef/03:22:00:00:00:a0 filtered out
Jan 10 14:37:09 myhost ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 filtered out
Jan 10 14:37:09 myhost ata1.00: configured for MWDMA2
Jan 10 14:37:09 myhost ata4: SATA link down (SStatus 0 SControl 300)
Jan 10 14:37:09 myhost ata5: SATA link down (SStatus 0 SControl 300)
Jan 10 14:37:09 myhost ata6: SATA link down (SStatus 0 SControl 300)
Jan 10 14:37:09 myhost ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Jan 10 14:37:09 myhost ata3.00: configured for UDMA/100
Jan 10 14:37:09 myhost ata3: EH complete
Jan 10 14:37:09 myhost sd 2:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
Jan 10 14:37:09 myhost sd 2:0:0:0: [sda] Write Protect is off
Jan 10 14:37:09 myhost sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan 10 14:37:09 myhost ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[5]  MMIO=[f2100000-f21007ff]  Max Packet=[2048]  IR/IT contexts=[4/4]
Jan 10 14:37:09 myhost sdhci-pci 0000:02:05.1: PCI INT B -> Link[LNK2] -> GSI 7 (level, low) -> IRQ 7
Jan 10 14:37:09 myhost ricoh-mmc: Resuming.
Jan 10 14:37:09 myhost ricoh-mmc: Controller is now disabled.
Jan 10 14:37:09 myhost wl 0000:03:00.0: PCI INT A -> Link[LK4E] -> GSI 19 (level, low) -> IRQ 19
Jan 10 14:37:09 myhost sd 2:0:0:0: [sda] Starting disk
Jan 10 14:37:09 myhost usb 2-4: reset low speed USB device using ohci_hcd and address 2
Jan 10 14:37:09 myhost acpid: client 2674[0:0] has disconnected
Jan 10 14:37:09 myhost acpid: client 2674[0:0] has disconnected
Jan 10 14:37:09 myhost NetworkManager: <WARN>  nm_device_802_11_wireless_set_wep_enc_key(): error setting key for device eth0: Invalid argument
Jan 10 14:37:09 myhost NetworkManager: <info>  Activation (eth0) started...
Jan 10 14:37:09 myhost NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Jan 10 14:37:09 myhost NetworkManager: <info>  DHCP daemon state is now 14 (normal exit) for interface eth0
Jan 10 14:37:09 myhost NetworkManager: <info>  DHCP daemon state is now 11 (unknown) for interface eth0
Jan 10 14:37:09 myhost NetworkManager: <info>  DHCP daemon state is now 14 (normal exit) for interface eth0
Jan 10 14:37:09 myhost NetworkManager: <info>  Going to sleep.
Jan 10 14:37:09 myhost Restarting tasks ... done.
Jan 10 14:37:09 myhost logger: PowerButton pressed: PWRF
Jan 10 14:37:09 myhost NetworkManager: <info>  Activation (eth0): cancelling...
Jan 10 14:37:09 myhost NetworkManager: <info>  Activation (eth0) cancellation handler scheduled...
Jan 10 14:37:09 myhost NetworkManager: <info>  Activation (eth0): waiting for device to cancel activation.
Jan 10 14:37:09 myhost NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Jan 10 14:37:09 myhost NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jan 10 14:37:09 myhost NetworkManager: <info>  Activation (eth0) cancellation handled.
Jan 10 14:37:09 myhost logger: PowerButton pressed: PWRF
Jan 10 14:37:09 myhost logger: PowerButton pressed: PWRF
Jan 10 14:37:09 myhost NetworkManager: <info>  Activation (eth0): cancelled.
Jan 10 14:37:09 myhost acpid: client connected from 2674[0:0]
Jan 10 14:37:09 myhost acpid: 1 client rule loaded
Jan 10 14:37:10 myhost NetworkManager: <info>  Waking up from sleep.
Jan 10 14:37:10 myhost NetworkManager: <info>  Deactivating device eth1.
Jan 10 14:37:10 myhost acpid: client connected from 2674[0:0]
Jan 10 14:37:10 myhost acpid: 1 client rule loaded
Jan 10 14:37:10 myhost NetworkManager: <info>  Deactivating device eth0.
Jan 10 14:37:10 myhost NetworkManager: <WARN>  nm_device_802_11_wireless_set_essid(): error setting ESSID to '' for device eth0: Invalid argument
Jan 10 14:37:12 myhost NetworkManager: <WARN>  nm_device_802_11_wireless_set_wep_enc_key(): error setting key for device eth0: Invalid argument
Jan 10 14:37:12 myhost eth1: no link during initialization.
Jan 10 14:37:12 myhost ADDRCONF(NETDEV_UP): eth1: link is not ready
Jan 10 14:37:12 myhost NetworkManager: <info>  eth1: Device is fully-supported using driver '(null)'.
Jan 10 14:37:12 myhost NetworkManager: <info>  nm_device_init(): waiting for device's worker thread to start
Jan 10 14:37:12 myhost NetworkManager: <info>  nm_device_init(): device's worker thread started, continuing.
Jan 10 14:37:12 myhost NetworkManager: <info>  Now managing wired Ethernet (802.3) device 'eth1'.
Jan 10 14:37:12 myhost NetworkManager: <info>  Deactivating device eth1.
Jan 10 14:37:12 myhost NetworkManager: <info>  eth0: Device is fully-supported using driver '(null)'.
Jan 10 14:37:12 myhost NetworkManager: <info>  eth0: driver does not support SSID scans (scan_capa 0x00).
Jan 10 14:37:12 myhost NetworkManager: <info>  nm_device_init(): waiting for device's worker thread to start
Jan 10 14:37:12 myhost NetworkManager: <info>  nm_device_init(): device's worker thread started, continuing.
Jan 10 14:37:12 myhost NetworkManager: <info>  Now managing wireless (802.11) device 'eth0'.
Jan 10 14:37:12 myhost NetworkManager: <info>  Deactivating device eth0.
Jan 10 14:37:12 myhost NetworkManager: <WARN>  nm_device_802_11_wireless_set_essid(): error setting ESSID to '' for device eth0: Invalid argument
Jan 10 14:37:14 myhost NetworkManager: <WARN>  nm_device_802_11_wireless_set_wep_enc_key(): error setting key for device eth0: Invalid argument
Jan 10 14:37:23 myhost NetworkManager: <WARN>  request_and_convert_scan_results(): unknown error, or the card returned too much scan info: Invalid argument
Jan 10 14:37:32 myhost ------------[ cut here ]------------

Is it possible this has something to do with Xorg just not updating the display after the computer is turned on?  I get an "off" screen when I try and resume from suspend and a black screen (with the whole "restoring from hdd" message) when trying to resume from hibernate.

Last edited by dr/owned (2009-01-10 22:46:12)

Offline

#4 2009-01-11 00:16:27

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: Having to hold down keys to get hibernate and suspend to resume

I use TuxOnIce for hibernate to disk and it works pretty much ok.

Now I didn't catch it.. are you suspending to RAM or Disk? If to RAM.. try unloading all or most of your kernel modules.. I think theres an option in pm-utils (I use hibernate-script)

Offline

#5 2009-01-11 00:29:24

dr/owned
Member
Registered: 2009-01-09
Posts: 136

Re: Having to hold down keys to get hibernate and suspend to resume

I'm trying to get both suspend to ram and suspend to disk (hibernate) working.  How would I go about unloading the kernel modules...isn't this taken care of by default?

Offline

#6 2009-01-12 16:55:19

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: Having to hold down keys to get hibernate and suspend to resume

dr/owned wrote:

I'm trying to get both suspend to ram and suspend to disk (hibernate) working.  How would I go about unloading the kernel modules...isn't this taken care of by default?

no it's not, depending on which user-space scripts you use to initialize the suspend, you need to set it to unload modules.

hibernate-script has an UnloadAllModules and UnloadBlackListedModules options .. both of which could help you.
From what I've seen in pm-utils you need to explicitelly list all the modules you want unloaded.

Offline

Board footer

Powered by FluxBB