APC UPS control system Power Supply User Manual


 
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=051d ProdID=0002 Rev= 1.00
S: Manufacturer=American Power Conversion
S: Product=Back-UPS 350 FW: 5.2.I USB FW: c1
S: SerialNumber=BB0115017954
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 30mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms
The second features an IOgear USB-to-serial adapter that runs my serial
SmartUPS 1000:
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0557 ProdID=2008 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=serial
E: Ad=81(I) Atr=03(Int.) MxPS= 10 Ivl= 1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
Note that the IOgear device is using the serial driver (the I: line) while the
Back-UPS 350 is using the hid driver.
In general, if you see your UPS model in the S field, which means Manu-
facturer=, Product=, and SerialNumber=, and you see hid in the I
field (or serial if you are using an IOGear connection), you’re done. You
can skip the rest of this section and go straight to building and installing.
If it doesn’t show, check the obvious things; the UPS must be powered on,
and a cable must be properly seated in both the data port of the UPS and
one of your machine’s USB ports. Many UPSes have phone ports to provide
surge protection for phones or modems make sure you haven’t plugged
your USB cable into one of those rather than the data port (which will
usually be near the top edge of the case.)
Note, on recent Debian systems, they do not include the hiddev de-
vice nodes in /dev, so you may need to manually create them using the
examples/make-hiddev script.
Also, ensure that the correct drivers are loaded. Under Linux-2.4.x, you can
check this out easily by examining the right file in the /proc system. Here’s
how you can do that:
23