[Nut-upsuser] APC Back UPS?

Charles Lepple clepple at gmail.com
Thu Dec 27 16:09:20 GMT 2018


On Dec 26, 2018, at 8:59 PM, David Melik wrote:
> 
> root at 0.darwinheim <mailto:root at 0.darwinheim>:~# lsusb -d 051d:
> root at 0.darwinheim <mailto:root at 0.darwinheim>:~#

If you leave off the "-d 051d:" part, do you see anything in the listing that looks like it could be the UPS? (The 051d vendor ID is for the vast majority of APC UPS models, but we have seen a few other IDs here and there - mostly from acquisitions.)

For instance, this is what one of my development boxes shows for a Smart-UPS C1000:

$ lsusb
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 004: ID 1c4f:0003 SiGma Micro HID controller
Bus 008 Device 002: ID 051d:0003 American Power Conversion UPS
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 06cd:0107 Keyspan USA-19 PDA
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Another thing to try is to unplug the USB cable, run something like "dmesg -w" ("-w" to follow the output; otherwise just run "dmesg | tail" afterwards) and see if you see any messages about new USB devices after you re-insert the USB cable. If the Linux kernel can't see the device, neither can NUT.

> Maybe it's not a standard ethernet-to-UPS cable?

That's Ben's point - either it is actual Ethernet (usually found on an add-on UPS SNMP monitoring card, where the jack typically has two status LEDs, one on either side of the notch for the modular plug tab) that needs to go to another Ethernet jack on a NIC or a switch, or it is a proprietary APC cable that vaguely resembles an Ethernet cable on one end. (I was incorrect when I said 8P8C before - MGE uses 8P8C modular jacks for similar USB/serial proprietary cables.)

It might be this 10-pin modular connector: http://pinoutguide.com/UPS/apc_usb_cable_pinout.shtml <http://pinoutguide.com/UPS/apc_usb_cable_pinout.shtml>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20181227/e8a59302/attachment.html>


More information about the Nut-upsuser mailing list