SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I already had ACPI configured in the kernel.
I use KDE as my default desktop, and made KLaptop functional (enabling the ACPI functions, etc)
append="devfs=mount acpi=on resume=/dev/hda2 splash=silent nolapic"
# Change the /dev/hda2 to your swap partition"
to /etc/lilo.conf, then ran
When you right click on the Klaptop icon, choose 'Hibernate' or 'Suspend'
The computer will then go into that mode, and either wait for you ('Suspend') or turn off ('Hibernate')
When resuming, it will go back to the state it was at.
I do have a small issue after resuming: The fan stays on all the time.
I resolved this part by a script that I run after resume:
echo -n "0" > /proc/acpi/fan/FAN0/state # Turns fan on high
echo -n "3" > /proc/acpi/fan/FAN0/state # Turns fan off
I had it turn on and off because just trying to turn it off does not work.
I saved it as /bin/fan and set it to be executable. I run it as 'su' after resuming.
I'm not sure that the fan will work correctly,depending on the CPU temperature after the resume. I am researching/stressing the CPU to see if it comes on at the correct temperature. I'll post here if it works correctly.
I use suspend2 http://www.suspend2.net/ and its hibernate-script. Patch the kernal src and recompile it, and and use slack pkg of hibernate-script-1.12-i486-1cf from linuxpackages.net . After some small tuning, I can hibernate my X31 to disk fine by pressing Fn+F12. It will resume on pressing Power button. I do not know how to config suspend to ram though.
linux-on-laptops and tuxmobile have SW10.2 install notes for many lappys. Some older lappys and BIOSes dont handle ACPI but use APM and still have suspend to disk or suspend to ram working. Suspend to ram or disk are independent of acpi it seems. Thankfully some of these lappy SW10.2 install notes are thorough and educational.
And it's a good thing too that gentoo wiki,thinkpad wiki and the like are available to help with configs. and scripts needed. Now a SW wiki for laptops would be great addition to LQ too. This could lead to a SW10x laptop chapter in the SW Handbook or Linux Essentials.