Sorta off topic

Gene Heskett <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Organization Organization? Not detectable
Message-ID <[email protected]>
Greetings all;

Has anyone made apcupsd work correctly with a Belkin ups, and can that be fed 
into gkrellm?

Giving up on the belkin proprietary daemon till they fix it, I installed 
acpupsd, and hooked the ups up so it would be an hid device, which was 
detected and /dev/hiddev1 was created when I plugged in the cable.

Without changing anything in the /etc/apcupsd/apcupsd.conf file, I started the 
daemon which reported no errors, found the ups on /dev/hiddev1, and a status 
query shows this:
[root@coyote apcupsd]# service apcupsd status
apcupsd (pid 9729) is running...
APC      : 001,024,0603
DATE     : Fri May 11 08:11:43 EDT 2007
HOSTNAME : coyote.coyote.den
RELEASE  : 3.12.4
VERSION  : 3.12.4 (19 August 2006) redhat
UPSNAME  : coyote.coyote.den
CABLE    : USB Cable
MODEL    : Belkin UPS
UPSMODE  : Stand Alone
STARTTIME: Fri May 11 07:58:36 EDT 2007
STATUS   : ONLINE
BCHARGE  : 100.0 Percent
TIMELEFT :   2.0 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
STATFLAG : 0x07000008 Status Flag
SERIALNO :
NOMBATTV : 120.0
APCMODEL : Belkin UPS
END APC  : Fri May 11 08:12:01 EDT 2007

Some of the figures don't look right, as if the translations aren't quite 
right, like the TIMELEFT above but then this isn't an APC unit either.  
However, hid stuff leaves less room for fudging protocols for vendor lockin, 
so I half expected it would work.  And I haven't tried it with an FTDI 
adaptor, which can generate a considerably more verbose and detailed report, 
but protocol diffs would probably render that unusable.

Can I improve on these reports, and can I display the important stuff in 
gkrellm somehow?

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
You would if you could but you can't so you won't.
_______________________________________________
Gkrellm mailing list
[email protected]
http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.