From owner-freebsd-questions@freebsd.org Thu Nov 5 17:02:03 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7641A26D49 for ; Thu, 5 Nov 2015 17:02:03 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 89274107D for ; Thu, 5 Nov 2015 17:02:03 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id tA5H20ux088911 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 5 Nov 2015 10:02:00 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id tA5H201T088908; Thu, 5 Nov 2015 10:02:00 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 5 Nov 2015 10:02:00 -0700 (MST) From: Warren Block To: krad cc: Robert Huff , FreeBSD Questions Subject: Re: UPS In-Reply-To: Message-ID: References: <563B7465.1090802@rcn.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 05 Nov 2015 10:02:00 -0700 (MST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 17:02:03 -0000 On Thu, 5 Nov 2015, krad wrote: > from what i remember the usb just presents itself as serial over usb, so > that makes sense. THe network bit is a bit misleading as I think it means > it talks to another apcupsd on a different host connected to a ups via > serial, rather than direct to a network enabled UPS. I have one APC Smart-UPS 1500 connected to a server by USB. The USB port is native USB, it does not appear on the computer as a USB-connected serial port. Other APC UPSes have DB9 ports that can speak serial or USB depending on the oddball adapter cables. Some older UPSes might be serial only. apcaccess shows this on the server: CABLE : USB Cable DRIVER : USB UPS Driver STATUS : ONLINE Another computer is plugged into the Smart-UPS 1500 for power, but of course cannot share the UPS connector. apcupsd on that computer connects over the network to the main apcupsd on the server that is directly connected to the Smart-UPS USB port. It works transparently. apcaccess on the client computer shows: CABLE : Ethernet Link DRIVER : NETWORK UPS Driver STATUS : ONLINE SLAVE For my use, apcupsd is superior to the network monitoring cards that can be installed in the higher-end APC units.