LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-09-2007, 10:01 AM   #1
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Rep: Reputation: 32
Shutdown but no power off


OK, as I mentioned in the installation forum, I had to put "acpi=off" into the LILO append otherwise when I boot up, my keyboard would be dead. The problem I run into now is that when I shutdown my box, it gets to the point where it says "System halted." but my box won't power off. Is there a way I can do both? It's not a huge issue since my box stays on most of the time. It confused my loving wife when she turned off my computer last night due to a thunderstorm that woke her up but not me. It would also be a problem in the case of a power failure when I'm not around. apcupsd would be able to bring Linux down, but the computer would keep merrily running until the batteries failed.

I know that in previous versions one solution was to do a "modprobe apm" but there is no apm module in Slack 12 with the hugesmp kernel. FWIW, apmd is running.

Thoughts?
Matt
 
Old 07-09-2007, 11:42 PM   #2
geek745
Member
 
Registered: Jul 2004
Location: Boston, MA
Distribution: Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 33
I dunno, man, I was puzzled by that situation previously, but since I've been compiling my own kernels I haven't had any trouble. Linus signed off on a new version today! download it, configure it, build it, have fun! 2.6.22 You might fix some problems you didn't know you had... you could break something too, but the slack install media is great *for* fixing up systems that are ruined by a bad kernel, just note that you'll be the one issuing commands, not any automated tool. read up or have another computer up so you can read while you hack
 
Old 07-10-2007, 03:32 PM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
What kind of keyboard is it that requirs acpi=off to work? If it's usb you probably need to enable legacy (or DOS) usb support in the BIOS instead. The powering off is an acpi feature, so if acpi=off it's not gonna happen.
 
Old 07-10-2007, 04:15 PM   #4
austinramsay
Member
 
Registered: Jul 2007
Distribution: Solaris 10/09
Posts: 260

Rep: Reputation: 30
It could be like my computer, I built my computer and when I turn it off, the mouse and keyboard are still on, so, it may just be the way your computer is
 
Old 07-10-2007, 06:31 PM   #5
dkpw
Member
 
Registered: Sep 2003
Location: Scotland
Distribution: LinuxMint16 & Ubuntu 12.0.4 LTS
Posts: 218

Rep: Reputation: 30
Quote:
Originally Posted by austinramsay
It could be like my computer, I built my computer and when I turn it off, the mouse and keyboard are still on, so, it may just be the way your computer is
Self-powering mouse and keyboard. How useful.
Do you use solar or nuclear power?

Last edited by dkpw; 07-10-2007 at 06:35 PM.
 
Old 07-10-2007, 07:19 PM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
Quote:
Originally Posted by austinramsay
It could be like my computer, I built my computer and when I turn it off, the mouse and keyboard are still on, so, it may just be the way your computer is

Self-powering mouse and keyboard. How useful.
Do you use solar or nuclear power?
I remember some early gasoline-powered models. I think they were made by Microsoft.

Actually, maybe it's a usb keyboard and mouse plugged into an A/C powered hub. As long as the hub gets power anything that's connected to it will also.
 
Old 07-10-2007, 07:27 PM   #7
dkpw
Member
 
Registered: Sep 2003
Location: Scotland
Distribution: LinuxMint16 & Ubuntu 12.0.4 LTS
Posts: 218

Rep: Reputation: 30
Quote:
Originally Posted by dracolich
I remember some early gasoline-powered models. I think they were made by Microsoft.

Actually, maybe it's a usb keyboard and mouse plugged into an A/C powered hub. As long as the hub gets power anything that's connected to it will also.
Almost certainly USB - but I couldn't resist.
 
Old 07-11-2007, 09:48 AM   #8
geek745
Member
 
Registered: Jul 2004
Location: Boston, MA
Distribution: Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 33
hey me 2! my mouse stays lit and the keyboard lights too, when I power down. Sure the system goes down by itself but there is still power on the usb, ps/2, and ethernet lines.
 
Old 07-11-2007, 09:57 AM   #9
hutyerah
Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware
Posts: 39

Rep: Reputation: 16
Turn off the power properly, at the power point, and after around 15 seconds I bet the keyboard/mouse won't still be on :P Power supplies keep parts of the motherboard powered for wake-on-LAN and keyboard/mouse booting, and maybe other crazy features of your BIOS like playing CDs while the computer is officially off. Not really contributing to the solution here though, hmm...
 
Old 07-12-2007, 12:27 PM   #10
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by dracolich
What kind of keyboard is it that requirs acpi=off to work? If it's usb you probably need to enable legacy (or DOS) usb support in the BIOS instead. The powering off is an acpi feature, so if acpi=off it's not gonna happen.
Check out my post in the Slackware Installation forum. It's an IBM ps/2 style keyboard--the kind you could beat an intruder to death with. My mobo has never played nice with ACPI, but this one is a doozy. It seems that with every new kernel I try, it finds some new and improved way to mess with my mobo and ACPI. I'm 1/2 way tempted to download the new kernel and see if that solves the problem. I'd hate to go through a full-blown kernel compilation to find out it doesn't fix anything.

FWIW, everything worked just fine with the Slackware 11 kernel. Go fig.
 
Old 07-12-2007, 12:38 PM   #11
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by geek745
I dunno, man, I was puzzled by that situation previously, but since I've been compiling my own kernels I haven't had any trouble. Linus signed off on a new version today! download it, configure it, build it, have fun! 2.6.22 You might fix some problems you didn't know you had... you could break something too, but the slack install media is great *for* fixing up systems that are ruined by a bad kernel, just note that you'll be the one issuing commands, not any automated tool. read up or have another computer up so you can read while you hack
Actually 2.6.22.1 is out now.

I just read through the full 2.6.22 changelog and there are some ACPI fixes in there that sound like they might be relevant to my situation. We'll see.

Time to dust off my kernel compilation skillz.
 
Old 07-12-2007, 03:32 PM   #12
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Original Poster
Rep: Reputation: 32
Well, somehow or the other 2.6.22.1 fixed the problem. Without acpi=off I still can't use my keyboard. However, I also added apm=realmode-power-off to the append as well because the box would crash at power-off. Now apm will turn off my computer normally.

FWIW, I used the config-generic-2.6.21.5 as the basis for my .config file. The only thing I changed was specifically choosing my processor, adding Voluntary Kernel Preemption, and telling the kernel to scan for LUNs.
 
  


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
Power off after shutdown dukeem Slackware 15 11-30-2010 10:08 AM
Shutdown and power off bwtoh Linux - Newbie 4 11-02-2006 02:48 PM
PC does not power-off after shutdown AndiH Slackware 4 07-18-2006 09:07 AM
Shutdown does not power off Richie55 Mandriva 9 07-03-2006 02:33 AM
Shutdown could not power off satimis Debian 13 02-14-2004 11:05 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration