Hello, Control HP R1500 G2 with nut via USB. Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-72-generic x86_64) nut V2.7.1 installed from repository /etc/nut/ups.conf [HPR1500] driver=usbhid-ups port=auto After dealing hours with this, hope this will help some : rename udev rule to higher priority and move it to its right location, reload udev rules mv /lib/udev/rules.d/52-nut-usbups.rules /lib/udev/rules.d/62-nut-usbups.rules cp /lib/udev/rules.d/62-nut-usbups.rules /etc/udev/rules.d/ udevadm control --reload-rules udevadm trigger reboot server to be sure everything is OK Nicolas upsc HPR1500 Init SSL without certificate database battery.charge: 100 battery.charge.low: 20 battery.charge.warning: 20 battery.runtime: 24171 battery.temperature: 46.0 battery.type: PbAc battery.voltage: 41.0 battery.voltage.nominal: 36.0 device.mfr: Hewlett-Packard device.model: HP R1500 G2 UPS device.part: 416830-002 device.serial: 3Cxxxxxxxx (not usefull) device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.7.1 driver.version.data: TrippLite HID 0.81 driver.version.internal: 0.38 input.frequency: 50.0 input.transfer.high: 266.0 input.transfer.low: 194.0 input.voltage: 234.0 input.voltage.nominal: 230 output.current: 0.00 output.frequency: 0.0 output.frequency.nominal: 50 output.voltage: 0.0 output.voltage.nominal: 230 ups.beeper.status: enabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.firmware: 768 ups.load: 0 ups.load.nominal: 80 ups.mfr: Hewlett-Packard ups.model: HP R1500 G2 UPS ups.power: 0.0 ups.power.nominal: 1500 ups.productid: 1fe0 ups.serial: 3C80341001 ups.status: OL CHRG ups.test.result: No test initiated ups.timer.reboot: -1 ups.timer.shutdown: -1 ups.timer.start: -1 ups.vendorid: 03f0
On 12/04/17 09.23, me at electronico.nc wrote:> Hello, > > Control HP R1500 G2 with nut via USB. > > Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-72-generic x86_64) > nut V2.7.1 installed from repository > > /etc/nut/ups.conf > [HPR1500] > driver=usbhid-ups > port=auto > > After dealing hours with this, hope this will help some : > > rename udev rule to higher priority and move it to its right location, reload > udev rules > mv /lib/udev/rules.d/52-nut-usbups.rules /lib/udev/rules.d/62-nut-usbups.rules > cp /lib/udev/rules.d/62-nut-usbups.rules /etc/udev/rules.d/ > udevadm control --reload-rules > udevadm trigger > reboot server to be sure everything is OKwhat was the issue before that? [cuuut]> ups.serial: 3C80341001if you put that in the ups.conf definition, would it have made it detect it without the issues above? [HPR1500] driver=usbhid-ups port=auto serial = 3C80341001 JonB
On Apr 12, 2017, at 3:23 AM, me at electronico.nc wrote:> > Hello, > > Control HP R1500 G2 with nut via USB. > > Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-72-generic x86_64) > nut V2.7.1 installed from repository > > /etc/nut/ups.conf > [HPR1500] > driver=usbhid-ups > port=auto > > After dealing hours with this, hope this will help some : > > rename udev rule to higher priority and move it to its right location, reload udev rules > mv /lib/udev/rules.d/52-nut-usbups.rules /lib/udev/rules.d/62-nut-usbups.rules > cp /lib/udev/rules.d/62-nut-usbups.rules /etc/udev/rules.d/ > udevadm control --reload-rules > udevadm trigger > reboot server to be sure everything is OKYes, this has been a known issue for a while: * https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1099947 * https://bugzilla.redhat.com/show_bug.cgi?id=488368 * https://github.com/networkupstools/nut/issues/140> Nicolas > > upsc HPR1500 > Init SSL without certificate database > battery.charge: 100 > battery.charge.low: 20 > battery.charge.warning: 20 > battery.runtime: 24171^ If you add a dummy load, does this number go down to something that correlates with the battery runtime rating?> battery.temperature: 46.0^ Seems a little high, even for charging.> battery.type: PbAc > battery.voltage: 41.0 > battery.voltage.nominal: 36.0 > device.mfr: Hewlett-Packard > device.model: HP R1500 G2 UPS > device.part: 416830-002 > device.serial: 3Cxxxxxxxx (not usefull) > device.type: ups > driver.name: usbhid-ups > driver.parameter.pollfreq: 30 > driver.parameter.pollinterval: 2 > driver.parameter.port: auto > driver.version: 2.7.1 > driver.version.data: TrippLite HID 0.81 > driver.version.internal: 0.38 >If you have time before putting this UPS into production, can you grab upsrw and upscmd output, as mentioned here? http://networkupstools.org/stable-hcl.html#footnotes We have the upsc output for this UPS via serial port (bcmxcp driver), but not upsrw/upscmd: http://networkupstools.org/ddl/HP/R1500_G2.html I would also recommend shutdown testing, but 14.04 is pretty reliable in this area (16.04 has some issues with powerdown, IIRC).> _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
On 12/04/2017 19:34, Jon Bendtsen wrote:> On 12/04/17 09.23, me at electronico.nc wrote: >> Hello, >> >> Control HP R1500 G2 with nut via USB. >> >> Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-72-generic x86_64) >> nut V2.7.1 installed from repository >> >> /etc/nut/ups.conf >> [HPR1500] >> driver=usbhid-ups >> port=auto >> >> After dealing hours with this, hope this will help some : >> >> rename udev rule to higher priority and move it to its right >> location, reload >> udev rules >> mv /lib/udev/rules.d/52-nut-usbups.rules >> /lib/udev/rules.d/62-nut-usbups.rules >> cp /lib/udev/rules.d/62-nut-usbups.rules /etc/udev/rules.d/ >> udevadm control --reload-rules >> udevadm trigger >> reboot server to be sure everything is OK > > what was the issue before that?Unable to connect to UPS via upsc> > [cuuut] > >> ups.serial: 3C80341001 > > if you put that in the ups.conf definition, would it have made it > detect it without the issues above?I didn't know the serial as I couldn't connect to UPS via upsc> > > [HPR1500] > driver=usbhid-ups > port=auto > serial = 3C80341001 > > > > JonB
On 12/04/2017 23:41, Charles Lepple wrote:> On Apr 12, 2017, at 3:23 AM, me at electronico.nc wrote: >> Hello, >> >> Control HP R1500 G2 with nut via USB. >> >> Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-72-generic x86_64) >> nut V2.7.1 installed from repository >> >> /etc/nut/ups.conf >> [HPR1500] >> driver=usbhid-ups >> port=auto >> >> After dealing hours with this, hope this will help some : >> >> rename udev rule to higher priority and move it to its right location, reload udev rules >> mv /lib/udev/rules.d/52-nut-usbups.rules /lib/udev/rules.d/62-nut-usbups.rules >> cp /lib/udev/rules.d/62-nut-usbups.rules /etc/udev/rules.d/ >> udevadm control --reload-rules >> udevadm trigger >> reboot server to be sure everything is OK > Yes, this has been a known issue for a while: > > * https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1099947 > * https://bugzilla.redhat.com/show_bug.cgi?id=488368 > * https://github.com/networkupstools/nut/issues/140 > >> Nicolas >> >> upsc HPR1500 >> Init SSL without certificate database >> battery.charge: 100 >> battery.charge.low: 20 >> battery.charge.warning: 20 >> battery.runtime: 24171 > ^ If you add a dummy load, does this number go down to something that correlates with the battery runtime rating?Yes : battery.runtime has decreased from 2444 to 60 while UPS was OB, then UPS has shut down It displayed always 3781 while charging. Still at 3781 after battery charge (ups.power at 112)> >> battery.temperature: 46.0 > ^ Seems a little high, even for charging.Ambiant temperature is around 27?C here. battery.temperature went up to 51 at the end of OB cycle. It has displayed 51 while charging. Now back to 46 after battery charge complete.> >> battery.type: PbAc >> battery.voltage: 41.0 >> battery.voltage.nominal: 36.0 >> device.mfr: Hewlett-Packard >> device.model: HP R1500 G2 UPS >> device.part: 416830-002 >> device.serial: 3Cxxxxxxxx (not usefull) >> device.type: ups >> driver.name: usbhid-ups >> driver.parameter.pollfreq: 30 >> driver.parameter.pollinterval: 2 >> driver.parameter.port: auto >> driver.version: 2.7.1 >> driver.version.data: TrippLite HID 0.81 >> driver.version.internal: 0.38 >> > If you have time before putting this UPS into production, can you grab upsrw and upscmd output, as mentioned here? http://networkupstools.org/stable-hcl.html#footnotes > > We have the upsc output for this UPS via serial port (bcmxcp driver), but not upsrw/upscmd: http://networkupstools.org/ddl/HP/R1500_G2.htmlHere they are: upsrw -u admin -p adminpass HPR1500 [battery.charge.low] Remaining battery level when UPS switches to LB (percent) Type: STRING Maximum length: 5 Value: 20 [input.transfer.high] High voltage transfer point (V) Type: STRING Maximum length: 5 Value: 266.0 [input.transfer.low] Low voltage transfer point (V) Type: STRING Maximum length: 5 Value: 194.0 [ups.delay.shutdown] Interval to wait after shutdown with delay command (seconds) Type: STRING Maximum length: 10 Value: 20 [ups.delay.start] Interval to wait before (re)starting the load (seconds) Type: STRING Maximum length: 10 Value: 30 upscmd -u admin -p adminpass -l HPR1500 Instant commands supported on UPS [HPR1500]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS beeper beeper.off - Obsolete (use beeper.disable or beeper.mute) beeper.on - Obsolete (use beeper.enable) load.off - Turn off the load immediately load.off.delay - Turn off the load with a delay (seconds) load.on - Turn on the load immediately load.on.delay - Turn on the load with a delay (seconds) shutdown.reboot - Shut down the load briefly while rebooting the UPS shutdown.return - Turn off the load and return when power is back shutdown.stayoff - Turn off the load and remain off shutdown.stop - Stop a shutdown in progress test.battery.start.deep - Start a deep battery test test.battery.start.quick - Start a quick battery test test.battery.stop - Stop the battery test Hope this helps. Nicolas> > I would also recommend shutdown testing, but 14.04 is pretty reliable in this area (16.04 has some issues with powerdown, IIRC).> >> _______________________________________________ >> Nut-upsuser mailing list >> Nut-upsuser at lists.alioth.debian.org >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser