Visite Webhosting Latino, el site sobre alojamiento web.
Genpower in Slackware 9.1 not working - Mombu the GNU Linux Forum
Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Genpower in Slackware 9.1 not working
User Name
REGISTER NOW! Mark Forums Read

sponsored links

1 25th April 05:05
adam myrow
External User
Posts: 1
Default Genpower in Slackware 9.1 not working

I just got a Minuteman MN525 UPS recently. Unfortunately, it came only
with Windows software. Since it has a serial cable, I decided to try
and get it working in Slackware so that it could signal the system and
it could shut down the computer in the event of a power loss. Well,
after fiddling around and monitoring lines, it looks as though the UPS
behaves exactly like the Cyber-sl. To test this, I specified Cyber-sl
and started genpowerd. It partially works. It writes "OK" to
/etc/upsstatus when it starts. I have the UPS plugged into a power
strip so I can simulate power failures easily. When I turn the power
strip off, the UPS starts beeping and providing power from the battery

However, init never gets signaled, and /etc/powerstatus never gets
created or updated. Looking at the source code, it appears as though it
will try to write to /dev/initctl if NEWINIT is defined. It's supposed
to log an error if it can't write to this FIFO, but it is not. I did a
search on Google, as well as Freshmeat, but could find no similar
problem mentioned. Freshmeat only seems to have Genpower-1.0.2 which
lacks the /etc/genpowerd.conf file, uses a different syntax, and doesn't
have the Cyber-sl listed which as I said, seems to be compatible with my
UPS. Slackware ships with version 1.0.3, but I can find no mention
anywhere of this version nor who created it. Any ideas? Has anybody
else gotten this, or another UPS package to work under Slackware 9.1?
BTW, when I restore power, that is also correctly logged, and "OK" once
again appears in /etc/upsstatus. It just never tells init about it so
it can take action.
If I can figure out why it isn't signaling init, I think I can get it
  Reply With Quote

  sponsored links

2 25th April 05:05
keith keller
External User
Posts: 1
Default Genpower in Slackware 9.1 not working

Hash: SHA1

I have gotten nut working wonderfully with Slackware, and now tend to
use it rather than genpowerd. nut seems more active than genpowerd, and
is definitely better do***ented.

BTW, please use paragraphs--your post was extremely difficult to read.

- --keith

- --
(try just my userid to email me)

Version: GnuPG v1.2.3 (GNU/Linux)

  Reply With Quote

Thread Tools
Display Modes

Copyright 2006 - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -