LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-30-2004, 10:03 AM   #1
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
PC won't switch off automatically


I am running Mandrake 10.0 Discovery on my PC with KDE 3.2 and a 2.6.3-7 kernel. I have an Abit IC7-G motherboard in an Antec 660AMG case.

I have been using Linux for about a month now and have ironed out many of the issues that faced me. However, there is one minor thing that bugs me: when I select 'logout' from the KDE menu and then select 'Turn off computer', it does not power down. It goes through all the shutdown sequence, and kills all the processes and so on, but the machine doesn't actually power off - it just comes to the end of the shutdown sequence and then displays 'Power down' as the last message, at which point I have to manually switch the machine off.

I know this is only a small thing, but I would much prefer it to switch off when it has completed shutting down.

Could anybody please give me some pointers as to what I would have to change to achieve this?
 
Old 12-30-2004, 10:55 AM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
uncomment apm in the /etc/modules.conf file. Or try:
modprobe apm and the do the shutdown sequence to see if it solves your problem.
 
Old 12-30-2004, 01:14 PM   #3
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
I can see no apm line in the modules.conf file.

When I type modprobe apm, it says 'FATAL: Module apm not found.'
 
Old 12-30-2004, 03:48 PM   #4
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
Having looked at various websites, I thought I had solved it:

There was a line
Code:
append="devfs=mount acpi=ht splash=silent"
in the lilo.conf file. I deleted the part that said acpi=ht and then ran lilo

This worked - when i shutdown, the system powered off on it's own. I tested it several times and it worked fine. However, without having changed anything, it has now stopped working and I can't even power off now when I push the power button. very odd
 
Old 12-30-2004, 03:49 PM   #5
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
That is odd! Did you try running lilo again just to see what happens?
 
Old 12-31-2004, 09:45 AM   #6
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
I've tried redoing the whole thing, and it's just plain weird.

Sometimes it switches off ok and other times it hangs with the last command showing as 'acpi_off called' (or something like that).

Nothing changes in the meantime though - I'm just logging on and then logging straight off to test it. I don't understand it.
 
Old 12-31-2004, 10:08 AM   #7
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Yep, I have Exactly the same issue now with Mandrake 10.1 OE. The final line is just power down.
Wonder what it can be..
Anyone having anymore suggestions ?
 
Old 12-31-2004, 05:53 PM   #8
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
It should go back to a problem with acpi or apm based on my past experiences. You might try looking for patches to acpi since you don't use apm. It might be a hardware compatibility issue that could be fixed through a patch.
 
Old 01-01-2005, 03:45 PM   #9
Captainhero
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
I don't know, I've tried some searches on the web, but can't find anything to help.

The odd thing is that I can't see anything that says acpi is even running, though from my investigations I see that acpi is apparently part of the 2.6.3-7 mandrake kernel. I can see a directory /lib/modules/2.6.3-7mdksmp/kernel/drivers/acpi with a bunch of files in it, so something is there.

Would acpi show up as a service running?
 
Old 01-01-2005, 04:12 PM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
I would build a new kernel like the 2.6.9 and try acpi only. If that does not work rebuild and try apm. Acpi should do it. Don't try 2.6.10 unless you are ready to make changes to udev and other items.

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 01-02-2005, 04:22 AM   #11
Daliz
Member
 
Registered: Feb 2004
Distribution: Mandrake 10.1, Ubuntu 5.04
Posts: 75

Rep: Reputation: 15
Hmm... I recently upgraded to 10.1 official.. and the I have the same problem..

I have other problems to solve now, but please post here if you get it working
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
thread switch results in kernel stack switch superstition Linux - General 1 05-18-2005 12:48 AM
Automatically switch ServerLayout Erik Plaggenmar Linux - Software 0 01-16-2005 08:11 PM
Automatically switch to different wireless network? m_a_b Linux - Wireless Networking 0 10-07-2004 10:12 AM
How to make mplayer automatically switch videos like media player? _UnPrEdictAbLe_ Linux - Software 7 09-27-2004 04:11 AM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 08:45 AM


All times are GMT -5. The time now is 03:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration