[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: suspend-to-ram/suspend-to-disk on a desktop computer



Hi Bob,

seems to be my day to hear from you!

Bob Proulx wrote:

>Matt Price wrote:
>  
>
>>I'm wondering what my best options are for getting my desktop to enter a
>>suspend state.
>>    
>>
>
>The suspend2 kernel patches.
>
>  
>
>>Also I'd ideally like to have it wake up by itself in the middle of the
>>night, do a bunch of chores (preferably including foldingm y laundry)
>>and then go back to sleep.
>>    
>>
>
>Don't think swsusp2 will do that.  But your BIOS might.  If you have
>wake-on-lan and a way to trigger it then that would work.
>
>  
>
hmm.  I think there's an "alarm clock" function in my bois.  I'll check
it out next time I reboot. 

>>The motherboard supports ACPI and there is a BIOS option that seems to
>>switch something between S1 and S3, but I don't really know what that is.
>>    
>>
>
>The S1 through S4 are different power down states.
>
>  
>
thx.

>>I have been looking into the suspend kernel module and the suspend2
>>kenrel patch but so far haven't had a lot of luck getting my patched
>>kernels to boot (instead they panic very early).  I will keep trying
>>with that but I'm wondering what solutions other folks have come up with
>> on the desktop power-management front.
>>    
>>
>
>I use swsusp2 on my laptop.  It works pretty well.
>
>In experimental martin f. krafft is maintaining a set of kernel
>patches.
>
>  http://packages.debian.org/experimental/devel/kernel-patch-suspend2
>
>Bob
>  
>
    ok, I tried the patch -- had to tweak the apply file to let me use
it on the current debian 2.6.11 kernel, but  it seemd to apply without a
hitch.  Nonetheless I get a kernel panic. (My procedure:  run the
"apply" patch; make menuconfig; load /boot/config-2-6-11-1-k7, the
debian standard config; add suspend2 support to kernel;  make-kpkg
kernel-image; when that didn't work tried "make-kpkg --initrd
kernel-image; dpkg -i the deb). 

hmm.  would you be willing to post a copy of your working config file,
and also maybe let me know precisely which kernel you're running?  I'm 
wondering whether the current debian sources get messed up by the
suspend2 patch.

Thanks much,

matt



Reply to: