LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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


Reply
  Search this Thread
Old 10-28-2004, 05:14 PM   #1
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Rep: Reputation: 15
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
 
Old 10-28-2004, 05:44 PM   #2
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
What are you doing to shut it down? Which command?
 
Old 10-28-2004, 05:51 PM   #3
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
i use the
Code:
halt
command to turn it off.
 
Old 10-29-2004, 12:10 AM   #4
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
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?
 
Old 10-29-2004, 03:08 AM   #5
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
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!
 
Old 10-29-2004, 04:04 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 10-29-2004, 08:48 AM   #7
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
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.
 
Old 10-29-2004, 02:12 PM   #8
Post-Prof
LQ Newbie
 
Registered: Oct 2004
Distribution: SUSE 9.1 Pro
Posts: 11

Rep: Reputation: 0
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.
 
Old 10-29-2004, 05:15 PM   #9
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
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?
 
Old 10-29-2004, 05:58 PM   #10
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
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.
 
Old 11-03-2004, 01:45 PM   #11
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
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
 
Old 11-03-2004, 03:32 PM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 11-04-2004, 04:56 AM   #13
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
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.
 
Old 11-04-2004, 07:59 AM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 11-04-2004, 10:07 AM   #15
TheShemeta
Member
 
Registered: Jun 2003
Location: Austria
Distribution: Archlinux 0.7 + 2.6.9
Posts: 140

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shutdown Problem Andjeo Mandriva 5 10-21-2004 04:52 PM
Shutdown Problem Jmcatch742 Linux - General 2 08-16-2004 03:09 AM
X shutdown problem kleptophobiac Linux - Software 9 04-02-2004 07:53 AM
Shutdown problem tsitras Debian 6 10-21-2003 08:31 AM
Shutdown Problem gbj Linux - General 1 08-07-2003 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration