<div dir="ltr">Thanks Jim. I will attempt to do the build and see if that works. I'll respond back with my results. It might take awhile; I don't have much experience compiling code but I"ll figure it out.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 22, 2021 at 6:36 AM Jim Klimov <<a href="mailto:jimklimov@gmail.com">jimklimov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">At this time, a newer version than pre-packaged would be a build from master branch on github. We are still tying up some loose ends to cut a nect official release.<div dir="auto"><br></div><div dir="auto">Jim</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 19, 2021, 05:06 Matthew Rivett via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>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.</div><div><br></div><div><a href="https://alioth-lists.debian.net/pipermail/nut-upsuser/2017-June/010682.html" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/pipermail/nut-upsuser/2017-June/010682.html</a><br></div><div><br></div><div>I am running on a Raspberry PI 3 Model B Rev 1.2</div>pi@vpn01alp:~ $ cat /etc/os-release<br>PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"<br>NAME="Raspbian GNU/Linux"<br>VERSION_ID="9"<br>VERSION="9 (stretch)"<br>VERSION_CODENAME=stretch<br>ID=raspbian<br>ID_LIKE=debian<br>HOME_URL="<a href="http://www.raspbian.org/" rel="noreferrer" target="_blank">http://www.raspbian.org/</a>"<br>SUPPORT_URL="<a href="http://www.raspbian.org/RaspbianForums" rel="noreferrer" target="_blank">http://www.raspbian.org/RaspbianForums</a>"<br>BUG_REPORT_URL="<a href="http://www.raspbian.org/RaspbianBugs" rel="noreferrer" target="_blank">http://www.raspbian.org/RaspbianBugs</a>"<br><div><br></div><div>I installed using</div><div>apt-get install nut nut-server nut-client</div><div><br></div><div>My configuration is as follows</div><div> pi@vpn01alp:~ $ tail /etc/nut/ups.conf<br></div># the -h option and/or read the driver's documentation.<br><br># Set maxretry to 3 by default, this should mitigate race with slow devices:<br>maxretry = 3<br><br>[Liebert]<br> productid=0000<br> driver = usbhid-ups<br> port = auto<br> desc = "Liebert"<br><div><br></div><div>I also added the following to /lib/udev/rules.d/62-nut-usbups.rules</div><div># Liebert GXT4 - usbhid-ups<br>ATTR{idVendor}=="10af", ATTR{idProduct}=="0004", MODE="664", GROUP="nut"<br></div><div><br></div><div>That didn't work so I changed permissions using the following</div><div>pi@vpn01alp:~ $ lsusb<br>Bus 001 Device 004: ID 10af:0000 Liebert Corp. UPS<br>Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter<br>Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>pi@vpn01alp:~ $ sudo chmod 0666 /dev/bus/usb/001/004<br></div><div><br></div><div>Now I can see the following information. It doesn't appear to be complete or accurate.</div><div>pi@vpn01alp:~ $ upsc Liebert<br>Init SSL without certificate database<br>battery.charge: 100<br>battery.charge.low: 20<br>battery.charge.warning: 0<br>battery.type: PbAc<br>battery.voltage: 0.0<br>battery.voltage.nominal: 0.0<br>device.mfr: Emerson Network Power<br>device.model: Liebert GXT4<br>device.serial: 1718700042AFB93<br>device.type: ups<br><a href="http://driver.name" rel="noreferrer" target="_blank">driver.name</a>: usbhid-ups<br>driver.parameter.pollfreq: 30<br>driver.parameter.pollinterval: 2<br>driver.parameter.port: auto<br>driver.parameter.productid: 0000<br>driver.parameter.synchronous: no<br>driver.version: 2.7.4<br>driver.version.data: Belkin/Liebert HID 0.17<br>driver.version.internal: 0.41<br>ups.mfr: Emerson Network Power<br>ups.model: Liebert GXT4<br>ups.productid: 0000<br>ups.serial: 1718700042AFB93<br>ups.status: OL CHRG<br>ups.vendorid: 10af<br></div><div><br></div><div>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.</div><div><br></div><div>nut (2.7.4-5) unstable; urgency=medium<br></div><div><br> * debian/control: Build-depends against asciidoc-dblatex, Recommends are not<br> pulled automatically by the buildd (Closes: #851015)<br><br> -- Laurent Bigonville <<a href="mailto:bigon@debian.org" rel="noreferrer" target="_blank">bigon@debian.org</a>> Wed, 25 Jan 2017 09:14:10 +0100<br><br></div><div>I am guessing I need to install a newer version. Is this correct?<br></div><div><br></div><div>Thanks,<br>Matt</div></div>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" rel="noreferrer" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a></blockquote></div>
</blockquote></div>