Re: [gentoo-user] Suspend2 and hibernate problem.

2005-09-13 Thread Paweł Madej

Ow Mun Heng wrote:


This reportedly worked for some other user

Try this patch -
http://dagobah.ucc.asn.au/patches-2.6.13/suspend2-2.2-rc6-poweroff-fix.diff
 

I've done emerge sync and installed suspend2-sources-2.6.13-r4 and 
things went horribly wrong


Suspend2 fails everytime to suspend and it restores session

other thing on that kernel version is that i got alsa sound modules 
errors (it does not recognize them)


Anyone could help?


Greets
Paul
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suspend2 and hibernate problem.

2005-09-11 Thread Paweł Madej

I've done so but system behaviour did not changed. Any other suggestions?

Greets
Paul



Harald Arnesen wrote:
   poweroff

# PowerdownMethod 5
Try uncommenting this line.


--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Suspend2 and hibernate problem.

2005-09-11 Thread Ow Mun Heng
 -Original Message-
 From: Pawel Madej [mailto:[EMAIL PROTECTED]
 I've done so but system behaviour did not changed. Any other 
 suggestions?

I think there was a bug in recent 2.6.13 kernels.
IIRC there should be a fix in the APCI method calls included in maybe -r5 or
-r6 in portage.

I can't remember, since my laptop died, waiting for replacement Motherboard.

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Suspend2 and hibernate problem.

2005-09-11 Thread Ow Mun Heng


 -Original Message-
 From: Pawel Madej [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 12, 2005 1:09 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Suspend2 and hibernate problem.
 
 
 I've done so but system behaviour did not changed. Any other 
 suggestions?

This reportedly worked for some other user

Try this patch -
http://dagobah.ucc.asn.au/patches-2.6.13/suspend2-2.2-rc6-poweroff-fix.diff


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Suspend2 and hibernate problem.

2005-09-10 Thread Paweł Madej

Hello,

I got emerged suspend2 kernel sources and compiled with such options:

 [*] Power Management support 
 [ ]   Power Management Debug 
Support
 [ ]   Software 
Suspend   


 [*] Software Suspend 2  ---

Then in Suspend 2 submenu:

--- Software Suspend 
2   
x x 
 ---   Image Storage (you need at least one 
writer)   x x 
[ ] File 
Writer  
x x 
 [*] Swap 
Writer  
x x 
 ---   General 
Options
x x 
 (/dev/hda5)   Default resume device 
name x x 
 [ ] Allow Keep Image Mode


And my ACPI kernel section:

   [*] ACPI 
Support 
x x 
*   AC 
Adapter 
x x 
 *   
Battery
x x 
*   
Button 
x x 
   *   
Video  
x x 
  *   Generic 
Hotkey 
x x 
*   
Fan
x x 
   *   
Processor  
x x 
  * Thermal 
Zone 
x x 
ASUS/Medion Laptop 
Extras  
x x 
IBM ThinkPad Laptop 
Extras 
x x 
Toshiba Laptop 
Extras  
x x 
(0)   Disable ACPI for systems before Jan 1st this 
year  x x 
   [ ]   Debug 
Statements   
x x 
  [ ]   Power Management Timer 
Support 
x x 
   ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)


i also got emerged hibernate-script and under it is part of hibernate.conf:
### suspend2 (for Software Suspend 2)
UseSuspend2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 2
#Compressor lzf
Encryptor none
# ImageSizeLimit 200
## useful for initrd usage:
SuspendDevice swap:/dev/hda5
## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for 
poweroff

# PowerdownMethod 5
## Any other /proc/software_suspend setting can be set like so:
# ProcSetting expected_compression 50
## Or traditionally like this:
# Suspend2AllSettings 0 0 2056 65535 5
## Or even from the results of hibernate --save-settings with this:
# Suspend2AllSettingsFile /etc/hibernate/suspend-settings.conf
## For filewriter:
# FilewriterLocation /suspend_file 1000
# VerifyFilewriterResume2 yes

Hibernating and resuming works flawlessly but one thing.
When i do:

# hibernate
i got everything stopped but there is no power off on my laptop. Thing 
is a bit weird because when i do:

# halt it turns off power

Any suggestions how to force hibernate to turn power after saving session ?

Thanks for any help

Paul


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Suspend2 and hibernate problem.

2005-09-10 Thread Harald Arnesen
Paweł Madej [EMAIL PROTECTED] writes:
 Hibernating and resuming works flawlessly but one thing.
 When i do:

 # hibernate
 i got everything stopped but there is no power off on my laptop. Thing
 is a bit weird because when i do:
 # halt it turns off power

 i also got emerged hibernate-script and under it is part of hibernate.conf:
 ### suspend2 (for Software Suspend 2)
 UseSuspend2 yes
 ## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for
...
 poweroff
 # PowerdownMethod 5

Try uncommenting this line.
-- 
Hilsen Harald.


-- 
gentoo-user@gentoo.org mailing list