Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have a problem shutting down my HP Pavilion zt3010us. i have a custom 2.6.9 kernel with built in ACPI. cpufreqd works fine, the battery monitor too. but everytime i want to shut it down, the notebook always reboots. it is really annoying. i use LILO as a boot manager. i really don't know what else to say, if you need more information, let me know.
it would be great to have my notebook shut down properly.
AHA! Oh, wait... yeah that's fine.
Does your notebook have a power switch or a button? Because maybe if it's a switch then it's getting confused and restarting because the switch is in the "on" position? Possibly?
Originally posted by TheShemeta I have a problem shutting down my HP Pavilion zt3010us...it would be great to have my notebook shut down properly.
The only way I've been able to get a Linux computer to shutdown is this.
Enable APM in your kernel.
Add this line to /etc/lilo.conf -> append="apm=power-off"
Logout as root and issue "poweroff" without the quotes.
Then the computer will Shut Down just like when you choose Shut Down in Windoze.
I have 4 computers here running Slackware, and that's the only way the power will turn off. If I don't do that, then the best it will do is shut the system down and stop with the words "Power down" but then it will not cut off the power supply.
I know how to do this in Slackware, but not in ArchLinux. If you need help to set this up post back.
Are you running cpufreqd together with powersave daemon? these two I think are not compatible and may cause some
problems when running together, you must disable cpufreqd since powersave daemon controls all ACPI functions.
Originally posted by TheShemeta yeah it has a power button. how else could i turn it on without a power button. i am afraid i didn't understand you!
I meant a button that returns to normal once poked compared to a switch that just clicks into either the "on" or "off" position. Sorry for the confusion.
is it possible to use ACPI with my notebook & also APM for turning it off. i was messing around with Knopixx & it shuts down my computer well. i checked the lilo & there is a line
append="apm=power-off"
but also Knopixx loads ACPI at the same time too. so i want to figure out how to do that. what do i need to compile in my kernel & what should i compile as modules.
In your kernel you will need to add
CONFIG_APM=m
which loads APM as a module. After installing the kernel
and rebooting, check the output of "lsmod" to be sure.
I'm looking on three 2.4.x boxen right now. If
you can't find that in 2.6.x post back and when
I can boot into my 2.6.7 kernel I'll let you know.
Last edited by Bruce Hill; 11-03-2004 at 03:34 PM.
well i did what you suggested and compiled APM as module. but since ACPI is built in, i can't load APM. so now when i shut down my notebook, i see at the bottom acpi_power_off and then it restarts again.i have append="apm=power-off" in my lilo.conf i wonder how Knoppix does that. any ideas?
When you boot Knoppix look at the kernel config file
and see what's enabled for both APM and ACPI. And
look at the LiLO or GrUB file and see how that's been
handled. You might be able to get some information
off the Knoppix website.
i am not very familiar with Knoppix, is there a way i can see the kernel's .config file? i checked lilo & there was append="apm=power-off" . but also during booting, i see the ACPI detecting my battery,processor,fan,lid etc. i would like to know how that works.
i tried booting with apend="acpi=off apm=on" and i was able to shut down my comp properly. i want to find out how Knoppix does that. i will try out different things & i will post here, if i have any success.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.