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