[Nut-upsuser] Installing NUT for PowerWalker VI 1500 LCD

Danijel Šili shinhan7 at gmail.com
Mon Dec 2 16:01:00 UTC 2013


On Mon, Dec 2, 2013 at 2:25 PM, Charles Lepple <clepple at gmail.com> wrote:
>
> [Please subscribe to the mailing list: http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser ]
>
> On Nov 28, 2013, at 4:10 PM, Danijel Šili wrote:
>
> > Since the provided drivers come with absolutely no installation instructions, I turned to NUT.
> >
> > The compatibility list says "blazer_usb" should be used for PowerWalker's devices, so that's what I put in my conf:
> >
> > [pwvi]
> >         driver = blazer_usb
> >         port = auto
> >         desc = "PowerWalker VI 1500 LCD"
>
> The configuration file looks good.
>
> > Since I use Ubuntu Server 13.10 so I installed nut from apt.
>
> What is the exact NUT package version (including the Ubuntu-specific version number)?

$ apt-cache policy nut

nut:
  Installed: 2.6.4-2.3ubuntu2
  Candidate: 2.6.4-2.3ubuntu2
  Version table:
 *** 2.6.4-2.3ubuntu2 0
        500 http://cz.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status

> > The product information PDF for the device in quesetion is http://www.powerwalker.com/datasheet/Line-Interactive/PowerWalker%20VI%201500%20LCD.pdf
> [...]
> > $ lsusb
> [...]
> > Bus 004 Device 006: ID 0665:5161 Cypress Semiconductor USB to Serial
>
> ^ This is most likely your UPS.

Yea, I disconnected the cable to check and there are also no other USB
devices on that computer. I also tried to plug it in some other port,
just in case that would help.


> Josu Lazkano just emailed this list last month with a similar problem (NUT 2.6.4 on Debian):
>
> http://thread.gmane.org/gmane.comp.monitoring.nut.user/8180
>
> There should be an entry in /lib/udev/rules.d/52-nut-usbups.rules for 0665:5161, but apparently the one in the Debian 2.6.4 package wasn't working:
>
> ATTR{idVendor}=="0665", ATTR{idProduct}=="5161", MODE="664", GROUP="nut"
>
> Josu said that creating this udev rule solves the issue:
>
> SUBSYSTEM=="usb", ATTRS{idVendor}=="0665", ATTRS{idProduct}=="5161", GROUP="nut"
>
> But given the additional "goto" statements in the NUT udev file, those should be equivalent.

He said he had permission problems, so he basically just removed the MODE part.

I tried it out now and starts OK:

Supported UPS detected with mustek protocol
Vendor information unavailable
No values provided for battery high/low voltages in ups.conf

Using 'guestimation' (low: 20.800000, high: 26.000000)!
Battery runtime will not be calculated (runtimecal not set)

Also:

$ upsc pwvi at localhost

battery.charge: 100
battery.voltage: 27.40
battery.voltage.high: 26.00
battery.voltage.low: 20.80
battery.voltage.nominal: 24.0
device.type: ups
driver.name: blazer_usb
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.6.4
driver.version.internal: 0.08
input.current.nominal: 7.0
input.frequency: 49.9
input.frequency.nominal: 50
input.voltage: 235.1
input.voltage.fault: 235.1
input.voltage.nominal: 230
output.voltage: 235.1
ups.beeper.status: enabled
ups.delay.shutdown: 30
ups.delay.start: 180
ups.load: 36
ups.productid: 5161
ups.status: OL
ups.type: offline / line interactive
ups.vendorid: 0665

> What version of udev and the Linux kernel do you have on your system?

$ apt-cache policy udev

udev:
  Installed: 204-0ubuntu19
  Candidate: 204-0ubuntu19
  Version table:
 *** 204-0ubuntu19 0
        500 http://cz.archive.ubuntu.com/ubuntu/ saucy-updates/main
amd64 Packages
        100 /var/lib/dpkg/status
     204-0ubuntu18 0
        500 http://cz.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages

$ cat /proc/version

Linux version 3.11.0-13-generic (buildd at roseapple) (gcc version 4.8.1
(Ubuntu/Linaro 4.8.1-10ubuntu8) ) #20-Ubuntu SMP Wed Oct 23 07:38:26
UTC 201


Since the permission change helped, I can now continue with the
configuration. Thanks for the help :)

-- 
Shinhan



More information about the Nut-upsuser mailing list