[Nut-upsuser] HP R1500 G2 USB on Ubuntu [HCL]

Charles Lepple clepple at gmail.com
Wed Apr 12 12:41:41 UTC 2017


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?

> 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




More information about the Nut-upsuser mailing list