Skip to main content

Thread: Sweex 1000 VA UPS setup on 12.04


i purchased sweex 1000va (pp210) ups. neither viewpower 2.10 ups control sw provided ups nor nut monitor not able read ups. nut not see @ port 3493. viewpower claims successfull communiction, fails display anything. sat /etc/nut/ups.conf follows:

[sweex]
driver = genericups upstype=7
port = auto
desc = "sweex 1000va ups"

please, experience ho make ups work under ubuntu?

idea, dag.

***

so, purchased sweex ups 1000va , not know how operate under 12.04. after long reading , lot of workaround found way using "blazer_usb" driver. see below complete instructions how it:

@ beginning check, if ups equipped cypress semiconductor usb serial system (it coud equipped usb/serial. instructions below tested cypress:

type:

lsusb

, have see this:

bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub
bus 002 device 001: id 1d6b:0001 linux foundation 1.1 root hub
bus 003 device 001: id 1d6b:0001 linux foundation 1.1 root hub
bus 004 device 001: id 1d6b:0001 linux foundation 1.1 root hub
bus 005 device 001: id 1d6b:0001 linux foundation 1.1 root hub
bus 003 device 002: id 0665:5161 cypress semiconductor usb serial

vendor id should 0665, ane product id 5161. if so, continue.

first, install nut:

sudo apt-get install nut

next, declare sweex ups in /etc/nut/ups.conf used blazer_usb driver:

[sweex]
driver = blazer_usb
port = /dev/ttys0
desc = "sweex 1000va ups"

name „sweex“ in brackets identify ups througout system.

in /etc/nut/nut.conf set nut run in standalone mode. means, used on computer ups connected , same computer monitors ups:

mode=standalone

bind listening port lan interface allow upsd (the network daemon) monitor communicate nut server. add line end of file /etc/nut/upsd.conf. number 3493 defines port on localhost:

listen 127.0.0.1 3493

set permissions upsd in /etc/nut/upsd.users. other parameters leave untouched. „your_password“ , „your_ups_password“ used root password, works:

[admin]
password = your_password
action = set
instcmds = all

[monuser]
password = your_ups_password
allowfrom = localhost
upsmon master

configure ups monitoring daemon upsmon able communicate ups conected machine. modify /etc/nut/upsmon.conf follows:

monitor sweex@localhost 1 upsmon your_password master

last, modify permission of nut configuration files enable nut process them:

chown root:nut /etc/nut/*
chmod 640 /etc/nut/*

should configured , can start nut:

sudo service nut start

start driver:

sudo upsdrvctl start

if ok, should see response this:

network ups tools - ups driver controller 2.6.3
network ups tools - megatec/q1 protocol usb driver 0.04 (2.6.3)
supported ups detected mustek protocol
vendor information unavailable
battery runtime not calculated (runtimecal not set)

check status of usb:

upsc sweex

, see complete usb status:

battery.voltage: 26.10
battery.voltage.nominal: 24.0
beeper.status: enabled
device.type: ups
driver.name: blazer_usb
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttys0
driver.version: 2.6.3
driver.version.internal: 0.04
input.current.nominal: 5.0
input.frequency: 50.1
input.frequency.nominal: 50
input.voltage: 229.2
input.voltage.fault: 229.2
input.voltage.nominal: 220
output.voltage: 229.2
ups.delay.shutdown: 30
ups.delay.start: 180
ups.load: 60
ups.productid: 5161
ups.status: ol
ups.type: offline / line interactive
ups.vendorid: 0665

line ups.status: ol (near end of file) says, ups running on power line. disconnect ups power , check again upsc sweex. line should change ups.status: ob showing, ups running on battery. leave ups disconnected power line , see, if shuts computer down after several minutes.

all, folks.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Sweex 1000 VA UPS setup on 12.04


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues