LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 07-11-2003, 05:50 PM   #1
jlangelier
Member
 
Registered: Jun 2003
Location: Denver, CO
Distribution: Debian
Posts: 95

Rep: Reputation: 15
UPS cable didn't work. A cool work-around


Got me a new APC UPS... problem was, whenever I plugged it in (a USB cable) my system would not boot. Never passed the BIOS tests.

Flashed the BIOS to the latest version. Same problem. Googling, the concensus seems to be that some APC smart UPS cables do not play nice with the USB ports and/or mobos on some Dells.

Got a USB card. Same problem... would not boot to anything.

Was going to get APC to swap my smart cable for a dumb cable... some people say that works.

Then I found this advice in the UPS how-to.

Find an old serial modem. Install powerd. Tell powerd the old serial modem is your UPS. When the modem loses power, powerd throws an INIT, and launches genpowerfail, causing system shutdown to begin. Not especially a pretty solution, but a darn good work-around if you ask me.

My system would then go through the motions of shutting down, and then stop, with the word "power down" on the console. The box was still powered, though. $%@%!, will it never end.

Fiddled with the startup settings. No joy. More googling. Found out that the 'apm' module can power down my box. It's configed as a module in my install, but wasn't being loaded, so I added a modprobe apm on startup, and now, when the power goes out, my box shuts down and powers off. I'm pretty happy with the situation... it's not using the UPS's smart capabilities, but my box will get shut down nicely when the power goes out next time. Fscking A!
 
Old 07-18-2003, 05:04 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Hey, I like that idea. It also prevents incoming dialup connections during a poweroff.

Great Idea.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
APC UPS w/ USB signal cable - work in Linux? sirpimpsalot Linux - Hardware 5 06-21-2010 08:24 AM
UPS doesn't work allelopath Linux - Hardware 3 10-22-2004 12:30 AM
new cable modem does not work now... r3dhatter Linux - Hardware 5 03-14-2004 12:42 PM
Cool Edit Pro 2.0 work whit Linux Mandrake ? BlackSnow Linux - General 1 07-23-2003 02:45 PM
Cable Modem will not work bpilgrim Linux - Newbie 2 12-17-2001 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 07:47 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