Using Klaptop for suspend/resume
I am trying to enable suspend and resume on my Dell Inspiron 6400 in Slackware 12. I tried several scripts and things I found searching this forum but none have worked very well.
I am now trying to setup Klaptop to suspend and resume. In the ACPI configure tab in the control panel for klaptop, none of the boxes are enabled so I went to start the helper application and got a message: "The /usr/bin/klaptop_acpi_helper application does not seem to have the same size or checksum as when it was compiled we do NOT recommend you proceed with making it setuid-root without further investigation" Anyone encountered something similar? |
i have never had that message before. have you enabled software suspend option in the kernel?
|
I am using the huge-smp-2.6.21.5 kernel, so I assume yes.
I load the battery and ac modules in rc.modules so I can use the battery monitor. I just added processor and thermal as well. |
Quote:
|
Quote:
|
I also had this message, so I got my install DVD and found the package which contains klaptop_acpi_helper (kdeutils-3.5.7-i486-2.tgz) and I also downloaded it from a Slack mirror, extracted the binary to two directories, and compared each one (md5sum and diff) and they were both identical to one another.
I then checked them against the installed one, and there was no difference between it and the freshly downloaded ones, so I assume there's no problem with setting klaptop_acpi_helper to setuid-root. |
I went ahead and started the helper and now I can check all the standby/hibernate buttons, but they dont do anyting.
Am going to modprobe button, fan, dock and video and see if that does anyting. |
you might want to type 'cat /sys/power/state' to see if you actually have the software suspend enabled. if you get both mem & disk - you should be ok.
|
If you get nothing from /sys/power/state, you might want to read this topic: http://www.linuxquestions.org/questi...d.php?t=566633
|
No I dont get anything from /sys/power/state.
I can set the action when the lid is closed with Klaptop now but only Off, Logout, and CPU throttling are there. I read the thread and I was hoping I could get away without recompiling the kernel. That can wait a few weeks until I get some time to read up and do it properly. btw is it possible to set up slackware with two different kernels to boot off? (The current working one and an experimental custom compiled one) |
Yes you can, you just have to make 2 entries in /etc/lilo.conf
one section for the current working one, and one for the experimental one. The two entries are the same, except for the "image =" line this the part of my lilo.conf file that boots slackware: Code:
# Linux bootable partition config begins |
Thanks ill try that.
|
Is it possible to use s2ram, instead of simple echo 1 > /sys/power/state ?
with klaptop ? |
you can suspend to ram with klaptop.
just configure klaptop from de KDE control center, and use the battery icon, or call "/usr/bin/klaptop_acpi_helper --suspend" |
when i suspend with klaptop, laptop wakes, but the screen stays off.
when i suspend using s2ram, laptop wakes normally |
All times are GMT -5. The time now is 12:09 PM. |