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
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
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
working.
  Reply With Quote


  sponsored links


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


-----BEGIN PGP SIGNED MESSAGE-----
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

- --
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFABJuphVcNCxZ5ID8RAvSRAJ9vkb/zXWAq2nRRMqRkLfMr3ez2fQCfYl65
zuvIJ8afqg//LDfxN2zZxWg=
=pGMR
-----END PGP SIGNATURE-----
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666