LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-04-2007, 08:02 PM   #1
reggie
LQ Newbie
 
Registered: Dec 2002
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Battery Backup Info: MinuteMan MN525 on Slackware 12.0 (Working)


After hours of trial and error I finally got it working.

MinuteMan MN525: http://www.sizemyups.com/specs/1011/90000602/BR/0/
Mfg homepage: http://www.minutemanups.com

Searched the net to find no solutions only clues.

I purchased a MinuteMan MN525 UPS and the software provided did not work with Slackware 11.0. I upgraded to Slackware 12.0 and gave it another shot (not thinking that would operate my battery any better, but just did). It should on work on any version, the configuration has to be right for your backup/cable (in this case, for MN525 product).

Using genpower-1.0.5 from Slackware's "A" series, I had to change /etc/genpowerd.conf - now I'm not an expert on RS232 but I know that it just works.

Now the configuration I added is below, notice the mn525 "type" which has to be set here for MinuteMan MN525 series (may work for others I don't know).

Code:
# The port and device used can be configured here.

ENABLED=true
UPSPORT=/dev/tts/1 #COM PORT
UPSSTAT=/etc/upsstat #STATUS
UPSTYPE=mn525
RCPOWERFAIL=/sbin/genpowerfail #default location on Slack12

# UPS types. You can add your own using the same syntax.
# Inverted lines are preceded with '/'.

#<ups-type>      cablep. kill  t powerok battok cableok
#------------------------------------------------------

# MinuteMan MN525
mn525              RTS    /DTR  0  CTS    DSR    DCD

# Miquel's powerd cable
powerd            RTS    /DTR  0  CAR     ---    DSR

.....
This is using Slackware 12.0 default SMP kernel.

Get the serial port working first (Enabled in BIOS, then edit /etc/serial.conf to reflect that, and chmod +x /etc/rc.d/rc.serial)

If I'm not mistaken, /sbin/genpowerfail will actually restart instead of shutdown in action.

Thanks and Regards,
Reggie

Last edited by reggie; 07-04-2007 at 08:07 PM.
 
Old 08-04-2007, 04:45 AM   #2
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
The behaveour can be configured in /etc/inittab?
 
  


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
t60p suse sled 10 - after sp1 install no battery info media1mogul Linux - Laptop and Netbook 2 07-24-2007 12:29 PM
Aircrack can't seem to fetch battery info pete1234 Linux - Software 2 06-23-2006 09:10 AM
Battery Backup uopjohnson Linux - Hardware 13 08-24-2005 05:26 PM
What is a good battery backup for my network? abefroman Linux - Networking 6 06-26-2005 04:00 PM
UPS/battery backup.... Basslord1124 Fedora 1 12-08-2004 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:02 PM.

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