Hi Everyone,
I am new to UPSs and Linux.? I purchased a Belkin F6C750-AVR UPS for our
church.? We are?running CENTOS 5.2.
I tried the Linux Power Management Software that came with Belkin UPS with NO
success.
I installed the NUT software.
After some experimentation I received some success with the megatec_usb Nut
driver:
[root at server bin]# /sbin/megatec_usb -u root -a serverups -DDDD
Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb]
Carlos Rodrigues (c) 2003-2007
Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
debug level is '4'
Checking device (1267/0103) (001/004)
- VendorID: 1267
- ProductID: 0103
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (001/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.18-128.1.6.el5 uhci_hcd
- Product: UHCI Host Controller
- Serial Number: 0000:00:1f.2
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (0665/5161) (001/003)
- VendorID: 0665
- ProductID: 5161
- Manufacturer: Cypress Semiconductor
- Product: USB to Serial
- Serial Number: unknown
- Bus: 001
Trying to match device
Device matches
Starting UPS detection process...
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
0 out of 5 detection attempts failed (minimum failures: 2).
Asking for UPS information ("I" command)...
UPS doesn't return any information about itself.
Megatec protocol UPS detected.
Asking for UPS power ratings ("F" command)...
UPS power ratings: #120.0 005 12.00 60.0
Asking for UPS status ("Q1" command)...
UPS status: (121.1 121.1 121.1 002 60.1 13.5 N/.A 00001001
12.0V battery, interval [9.7V, 13.7V].
Done setting up the UPS.
Asking for UPS status ("Q1" command)...
UPS doesn't return any information about its status.
dstate_init: sock /var/run/nut/megatec_usb-serverups open on fd 5
Asking for UPS status ("Q1" command)...
UPS status: (121.1 121.1 121.1 002 60.2 13.5 N/.A 00001001
Charge: 95.0%
Signal 2: exiting
ups.conf:
[serverups]
??????? driver = megatec_usb
??????? port = auto
??????? desc = "UPS?Office"
upsd.users
# MONITOR myups at myhost 1 monuser pass master??? (or slave)
??????? [admin]
??????????????? password = xxxxx
??????????????? allowfrom = ALL
??????? [monuser]
??????????????? password =?xxxxx
??????????????? allowfrom = ALL
??????????????? upsmon master
upsd.conf
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
As you can see the F6C750-AVR appears to be megatec protocol.
Does anyone know what I need to do to control how I can control the Belkin
F6C750-AVR?UPS?
Have I missed some config?
If NUT is not the correct tool, does anyone know what else I should try?
Any help will be greatly appreciated!
-John
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090521/048a1d8f/attachment-0001.htm>
Richard Chapman
2009-May-22 07:13 UTC
[Nut-upsuser] Belkin F6C750-AVR Nut Driver for Linux
Hi John
I am using a very similar Belkin UPS with nut 2.2.0 and Centos 5.3.
I can't find my exact model number but I think mine is the 1200va
version similar to yours. I also tried installing the supplied Linux
drivers - but gave up. I also gave up on the serial connection.
But I have got it working with the usb connection - and it works pretty
well. There is a generic USB driver which works fine with this UPS -
with somewhat limited but adequate functionality for my purposes.
Here is the interesting bit of my ups.conf
[BelkinUSB]
driver = usbhid-ups
port = auto
And the interesting bits of upsmon.conf - most of which are defaults.
=========================
MONITOR BelkinUSB at localhost 1 monuser ********* master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
================I hope this helps.
Richard.
Citeren xqa xqa <xq1xq1xq1 op yahoo.com>: [...]> As you can see the F6C750-AVR appears to be megatec protocol. > > Does anyone know what I need to do to control how I can control the > Belkin F6C750-AVR?UPS? > > Have I missed some config?You probably didn't read the README and INSTALL files, where we document this. You've alread done the most difficult part of it (find the appropriate driver for your UPS), so at least you can use NUT to monitor/control your UPS. Most likely however, your distribution will already provide some way to install and run NUT, so you'd better check that out first. Best regards, Arjen -- Please keep list traffic on the list