PDA

View Full Version : apm with sager 5660


jcolson
03-02-2003, 02:14 PM
Hey folks,
I was wondering if anyone has gotten apm workng with the sager 5660 in linux? I can force the laptop to go to sleep using apm from the command line, but I can't bring it back from sleeping .... which is of course useless :-)

HEEEELP!

Thanks,
J

laclasse
03-03-2003, 07:20 AM
jcolson,

The only problem is that you should decide in using APM OR ACPI as they are mutually exclusive. So you should use one or the other, which in this case should be the other ;)

The 5660 has acpi on the P4, wich looks after limits, temperature, suspend, throttling of the processor, states....etc.

Check this thread to find where to find the latest acpi patches. APM doesn't work for me, so i don't use it AT ALL.

Have a look here :
http://sagerforums.com/forums/showthread.php3?s=&threadid=1723

Hope that helps......:D

jcolson
03-03-2003, 10:01 AM
ok - i enabled apci in the kernel (redhat 8, 2.4.18) - and patched at that level (however all the patches claimed that they were already applied) ... made the kernel/modules, rebooted and I don't have a /proc/apci ..?? must have done something wrong? If anyone has any insight, would be appreciated! Also, will the gnome battery applet still work with apci instead of apm? (I disabled apm in the kernel)

J

jcolson
03-03-2003, 10:20 AM
I just compiled them into the kernel instead of modules .... didn't realize they wouldn't get auto-loaded...

jcolson
03-03-2003, 10:29 AM
I know this is bad form ... replying to myself contsantly .. :-) I apologize!

However, I have now compiled acpi into the kernel (no modules) and I get the /proc/acpi directory as well as some subdirs and other nifty stuff. BUUUUUT, there is nothing under /proc/acpi/battery ?? Is this a bug/unwritten code/etc/etc in acpi ? Do I need to upgrade my kernel/acpi in order to get battery monitoring functionality?

On the flip side, I do see that if I cat /proc/acpi/events that when I hit the sleep button, I get an event. Now how do I configure it to actually go to sleep? And more importantly, wake up?

Thanks,
J

jcolson
03-03-2003, 02:17 PM
for anyone else who is interested in getting acpi working ...

download the 2.4.20 kernel from kernel.org, patch with the latest 2.4.20 patchset from sourceforge (http://sourceforge.net/project/showfiles.php?group_id=36832) and compile ... that's all it took :-)