Shutdown problem
Hi guys,
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. thanks for your help, Regards, TheShemeta |
What are you doing to shut it down? Which command?
|
i use the
Code:
halt |
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? |
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! :(
|
Re: Shutdown problem
Quote:
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. |
thanks Chinaman,
the thing is , i don't have APM enabled in my kernel, since i use ACPI. can i use both ACPI & APM? if so , then i will recompile my kernel. |
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. |
thanks for your concern people,
i only use ACPI with the acpi daemon. my notebook still can't shut down. by the way, i still didn't have the time to recompile the kernel. any other ideas? |
Quote:
|
Hey guys,
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. Thanks for your help folks |
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. |
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?
thanks for trying to help. |
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. thank a lot man |
All times are GMT -5. The time now is 01:31 AM. |