Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password 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.


  Search this Thread
Old 07-11-2003, 06:50 PM   #1
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, 06:04 PM   #2
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

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

Great Idea.


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
APC UPS w/ USB signal cable - work in Linux? sirpimpsalot Linux - Hardware 5 06-21-2010 09:24 AM
UPS doesn't work allelopath Linux - Hardware 3 10-22-2004 01:30 AM
new cable modem does not work now... r3dhatter Linux - Hardware 5 03-14-2004 01:42 PM
Cool Edit Pro 2.0 work whit Linux Mandrake ? BlackSnow Linux - General 1 07-23-2003 03:45 PM
Cable Modem will not work bpilgrim Linux - Newbie 2 12-17-2001 11:54 PM

All times are GMT -5. The time now is 11:09 PM.

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