Ric Anderson
2008-Sep-19 22:46 UTC
[Nut-upsdev] APC SmartUPS 750 (SUA750) missing ambient data with usbhid-ups
I have a SmartUPS 750 (SUA750) which has the temperature and humidity
SmartSlot card installed. When NUT 2.2 communicates with this UPS over
/dev/ttyS0 using apcsmart, using the APC Smart cable connected to the
SUA750 serial port, and this ups.conf:
[su700]
driver=apcsmart
port = /dev/ttyS0
I can see the ambient temperature and humidity data with "upsc su700 at
localhost".
If I switch the driver configuration to use the USB port on the SUA750,
disconnect the serial cable, hook up the USB cable, and restart everything
using this ups.conf:
[su700]
driver=usbhid-ups
port = auto
vendorid=051d
then I no longer see the ambient data with upsc, and several other fields
in the output have different names and/or are missing. The basic ups
data is still there, so obviously there is some communication going on
over the USB interface.
Newer servers around here seem to lack serial ports, so I really need
to migrate to USB monitoring, but the lack of environmental information
via usbhid-ups is a deal breaker.
If I connect the same USB cable to a Windows laptop with APC's PowerChute
Business Basic (which came with the UPS), I can read the ambient temperature
and humidity, so the data is available on the USB link.
Any ideas on how to get usbhid-ups to pass along the same data in Linux?
Thanks,
ric at opus1.com
Charles Lepple
2008-Sep-20 00:31 UTC
[Nut-upsdev] APC SmartUPS 750 (SUA750) missing ambient data with usbhid-ups
On Fri, Sep 19, 2008 at 6:46 PM, Ric Anderson <ric at opus1.com> wrote:> Any ideas on how to get usbhid-ups to pass along the same data in Linux?The USB Power Device Class (PDC HID) UPSes seem to use slightly different usage codes when they publish the internal temperatures. Don't quote me, but I think humidity is not part of the standard, either. We'll have to hunt for them. Can you get a log from starting the driver in "explore" mode? (You will want to shut down NUT (the driver, upsd and upsmon) temporarily while running this test.) Something like this should work: /path/to/usbhid-ups -DD -x explore | tee sua750.log (then kill the driver after a minute or two) Please gzip the log before sending it to the list. -- - Charles Lepple