Subject: Re: APC UPS and USB
To: Ed Gould <ed@left.wing.org>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-i386
Date: 11/29/2001 14:09:30
Ed Gould <ed@left.wing.org> writes:

> Is there any software existing to support the newer APC UPSs that
> connect via USB?  When connected (to a 1.5 system), it is recognized,
> but I haven't found any mention of software to read the state over USB
> and act on it.
> 
>     uhid0 at uhub0 port 2 configuration 1 interface 0
>     uhid0: American Power Conversion Back-UPS 500 FW: 6.2.D USB FW: c1
> , rev 1.10/1.00, addr 2, iclass 3/0
> 
> Have I missed something?  If there is some software, a pointer to it
> would be most appreciated.

Well, it's a uhid device, so you can use usbhidctl(1) and
usbhidaction(1) to control and montior it. If you run "usbhidctl -f 0 -r"
you'll get a summary of what HID interfaces it's exporting.

        - Nathan