[Nut-upsuser] Liebert GXT4

Matthew Rivett mrivett at gmail.com
Fri Feb 19 03:37:03 GMT 2021


Hello,

I am trying to connect to my Liebert GXT4 UPS using NUT.  I have been able
to connect by using information from the following post.

https://alioth-lists.debian.net/pipermail/nut-upsuser/2017-June/010682.html

I am running on a Raspberry PI 3 Model B Rev 1.2
pi at vpn01alp:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

I installed using
apt-get install nut nut-server nut-client

My configuration is as follows
 pi at vpn01alp:~ $ tail /etc/nut/ups.conf
# the -h option and/or read the driver's documentation.

# Set maxretry to 3 by default, this should mitigate race with slow devices:
maxretry = 3

[Liebert]
        productid=0000
        driver = usbhid-ups
        port = auto
        desc = "Liebert"

I also added the following to  /lib/udev/rules.d/62-nut-usbups.rules
#  Liebert GXT4  - usbhid-ups
ATTR{idVendor}=="10af", ATTR{idProduct}=="0004", MODE="664", GROUP="nut"

That didn't work so I changed permissions using the following
pi at vpn01alp:~ $ lsusb
Bus 001 Device 004: ID 10af:0000 Liebert Corp. UPS
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514
Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi at vpn01alp:~ $ sudo chmod 0666 /dev/bus/usb/001/004

Now I can see the following information.  It doesn't appear to be complete
or accurate.
pi at vpn01alp:~ $ upsc Liebert
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 20
battery.charge.warning: 0
battery.type: PbAc
battery.voltage: 0.0
battery.voltage.nominal: 0.0
device.mfr: Emerson Network Power
device.model: Liebert GXT4
device.serial: 1718700042AFB93
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 0000
driver.parameter.synchronous: no
driver.version: 2.7.4
driver.version.data: Belkin/Liebert HID 0.17
driver.version.internal: 0.41
ups.mfr: Emerson Network Power
ups.model: Liebert GXT4
ups.productid: 0000
ups.serial: 1718700042AFB93
ups.status: OL CHRG
ups.vendorid: 10af

I'm not sure how to find the version of NUT I'm running.  I found the
changelog (/usr/share/doc/nut) and I'm guessing this is my issue.  It
appears the latest comment was from 2017.

nut (2.7.4-5) unstable; urgency=medium

  * debian/control: Build-depends against asciidoc-dblatex, Recommends are
not
    pulled automatically by the buildd (Closes: #851015)

 -- Laurent Bigonville <bigon at debian.org>  Wed, 25 Jan 2017 09:14:10 +0100

I am guessing I need to install a newer version.  Is this correct?

Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20210218/a3647373/attachment.html>


More information about the Nut-upsuser mailing list