`<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Yeah, I know; I've got a couple of those -- somewhere 8-/. Stupid apc <sigh>, another reason I'd prefer USB is to avoid having to track down where those magic cables ended up ;). </div><div><br>On Jun 1, 2014, at 9:50 PM, Denis Cheong <<a href="mailto:denis@denisandyuki.net">denis@denisandyuki.net</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Fair enough - bear in mind that the serial port on Smart UPSs require a special cable, they are not simple serial despite their appearance.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 2 June 2014 14:28, Paul B. Henson <span dir="ltr"><<a href="mailto:henson@acm.org" target="_blank">henson@acm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto"><div>I actually do have a network management card in the unit, and was originally thinking of monitoring via the snmp driver :). However, the ups for the server is not the same ups as for the network gear, and at least for now the server ups has about twice the runtime as the network ups 8-/, so my connection to the ups would drop before it ran out of juice :(. I'm not sure what nut would do in such a circumstance, extrapolate from the last reading or consider the ups dead. It seems safer all around to just have a direct connection to the ups in this case. It also has a serial port, so I could try that if USB fails me, but I'd rather use USB. It's trivial to get going under linux, pretty much just plug and play. It would be nice to get a similar level of usability for illumos distributions. I hear talk on and off of doing a rip and replace of the entire illumos USB stack, that's usually in the context of adding usb3 support, I don't know if that would make use cases like this easier too. </div>
<div><br></div><div>Thanks...</div><div><div class="h5"><div><br>On Jun 1, 2014, at 8:42 PM, Denis Cheong <<a href="mailto:denis@denisandyuki.net" target="_blank">denis@denisandyuki.net</a>> wrote:<br><br></div><blockquote type="cite">
<div><div dir="ltr">I am monitoring the exact same UPS on my OmniOS box, with NUT configured as per the old Oracle blog - however I have it connected through a network interface.<br><br>If you have issues with connecting it via USB, I suggest you consider adding a network card which is likely to be much easier to get up and running.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 2 June 2014 13:29, Paul B. Henson <span dir="ltr"><<a href="mailto:henson@acm.org" target="_blank">henson@acm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So I've got an older APC Smart-UPS 1500 which I'd like to monitor from<br>
omnios via usb. I plugged it into one of my linux boxes just to verify<br>
how it presented the usb interface, and NUT said:<br>
<br>
driver = "usbhid-ups"<br>
port = "auto"<br>
vendorid = "051D"<br>
productid = "0002"<br>
product = "Smart-UPS 1500 RM FW:617.3.D USB FW:1.5"<br>
serial = "AS0411320933"<br>
vendor = "TRIPP LITE"<br>
bus = "002"<br>
<br>
So I believe NUT should support it with the standard hid driver. I went<br>
looking for how to setup usb ups support under omnios, and didn't find<br>
too much. Most of the results for Solaris talk about forcing the device<br>
to use the ugen driver rather than the hid driver, but I found some<br>
posts on the NUT mailing list saying that's not really needed anymore,<br>
and you should be able to monitor it as a hid device.<br>
<br>
At this point, I've got it plugged in, and it shows up as:<br>
<br>
usb3/1.2 usb-input connected unconfigured ok<br>
<br>
usb3/1.2 connected unconfigured ok Mfg:<br>
American Power Conversion Product: Smart-UPS 1500 RM FW:617.3.D USB<br>
FW:1.5 NConfigs: 1 Config: 0 : 1<br>
<br>
It looks like it's connecting as a HID device, although it's showing up<br>
as unconfigured. I haven't installed NUT yet, so maybe it will be as<br>
simple as running it and the device will be automagically configured and<br>
start working ;). But while I'm spinning up NUT, I wanted to see if<br>
there was any more up to date advice on how to monitor a usb hid type<br>
ups under omnios.<br>
<br>
Thanks...<br>
<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</blockquote></div><br></div>
</div></blockquote></div></div></div></blockquote></div><br></div>
</div></blockquote></body></html>`