LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Shutdown problem (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/shutdown-problem-248518/)

TheShemeta 10-28-2004 05:14 PM

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

Berto 10-28-2004 05:44 PM

What are you doing to shut it down? Which command?

TheShemeta 10-28-2004 05:51 PM

i use the
Code:

halt
command to turn it off.

Berto 10-29-2004 12:10 AM

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?

TheShemeta 10-29-2004 03:08 AM

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! :(

Bruce Hill 10-29-2004 04:04 AM

Re: Shutdown problem
 
Quote:

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.

TheShemeta 10-29-2004 08:48 AM

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.

Post-Prof 10-29-2004 02:12 PM

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.

TheShemeta 10-29-2004 05:15 PM

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?

Berto 10-29-2004 05:58 PM

Quote:

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.

TheShemeta 11-03-2004 01:45 PM

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

Bruce Hill 11-03-2004 03:32 PM

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.

TheShemeta 11-04-2004 04:56 AM

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.

Bruce Hill 11-04-2004 07:59 AM

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.

TheShemeta 11-04-2004 10:07 AM

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.