Date: Sun, 19 Mar 2006 03:30:00 -0300 From: Jose Tavares <[EMAIL PROTECTED]> Subject: Re: [LIB] stanby/hibernate kernel 2.6.14
On Sat, 2006-03-18 at 10:53 -0800, Richard Mittendorfer wrote: > > Reactivating this thread now that I bought mine and installed > > debian.. :) > > Which software are you using for hibernation? > > I installed "hibernate" and "powersave".. > > No success with both of them.. W > > s4bios (the biosmode to suspend to the hibernation area) is gone in > later kernels. AFAIK it should be possible to use suspend2 as swsusp(in > kernel tree) isn't able to free the needed memory(RAM) if there's too > little free. Anyway, it works if very little memory is used (plain X). > suspend2 will try harder to get it freed, but I can't confirm: I just > use STR as it saves power quite well for my need. YMMV. > > With a few tweaks to the in-kernel swsusp code it should be possible to > tune this also. With your reply, I realized that I need to study and read more about acpi and pm.. :) The suspend made by BIOS is still available in later kernels but newer BIOS do no implement it neither have APM support.. What is STR? "suspend2" is a script available in hibernate and powersaved packages.. A little bit confusing.. Which one are you refering to? Are you refering to swsusp as software suspend? I've already compiled a kernel tuned for my U105 with all suspend code built into kernel.. > > ith powersave I can control > > throttling, and see cpu, battery and temperature status.. > > Can you give my some information about your thermal sensor? What's > exportet under /proc/acpi/thermal..? I can't get any (accurate) > temperatures from my libretto. E.g. it get's read out with a reasonable > value at boot once, but won't get updated. [EMAIL PROTECTED]:/proc/acpi/thermal_zone$ ls -l total 0 dr-xr-xr-x 2 root root 0 Mar 19 03:23 THRM/ [EMAIL PROTECTED]:/proc/acpi/thermal_zone$ cd THRM/ [EMAIL PROTECTED]:/proc/acpi/thermal_zone/THRM$ ls -l total 0 -rw-r--r-- 1 root root 0 Mar 19 03:24 cooling_mode -rw-r--r-- 1 root root 0 Mar 19 03:24 polling_frequency -r--r--r-- 1 root root 0 Mar 19 03:24 state -r--r--r-- 1 root root 0 Mar 19 03:24 temperature -rw-r--r-- 1 root root 0 Mar 19 03:24 trip_points [EMAIL PROTECTED]:/proc/acpi/thermal_zone/THRM$ [EMAIL PROTECTED]:/proc/acpi/thermal_zone/THRM$ cat cooling_mode <setting not supported> cooling mode: critical [EMAIL PROTECTED]:/proc/acpi/thermal_zone/THRM$ cat polling_frequency polling frequency: 2 seconds [EMAIL PROTECTED]:/proc/acpi/thermal_zone/THRM$ cat state state: ok [EMAIL PROTECTED]:/proc/acpi/thermal_zone/THRM$ cat temperature temperature: 63 C [EMAIL PROTECTED]:/proc/acpi/thermal_zone/THRM$ cat trip_points critical (S5): 104 C [EMAIL PROTECTED]:/proc/acpi/thermal_zone/THRM$ powersave -T Thermal Device no. 0: Temperature: 63 Critical: 104 [EMAIL PROTECTED]:/proc/acpi/thermal_zone/THRM$ Cooler starts at 72 C .. I think you have to compile a kernel to acquire access to this features .. > > Seems like I have to tune something for powersaved to work with > > hibernation.. > > I reached nowhere with "hibernate" and I removed it a few minutes > > later to install powersaved .. > > hibernate is the debian script to use suspend2. > $ apt-cache show hibernate > > To get suspend2 see [1] or archck at [2], there may/should be a debian > package for this patch already in debian. > > [1] http://www.suspend2.net > [2] http://iphitus.loudas.com/ I'll take a look and give them a try as soon as I have time .. Let's keep working on this .. It's a feature we can't live without .. :) [] JA Tavares
