<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Fri, 2009-11-20 at 20:49 +0100, Arjen de Korte wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Citeren JW Simpson &lt;<A HREF="mailto:john@swajime.com">john@swajime.com</A>&gt;:

&gt;         # # lsusb -vd 0d9f:0002|sed -ne '/^\w/p;/\bi/p'
&gt;         # Bus 002 Device 002: ID 0d9f:0002 Powercom Co., Ltd
&gt;         # Device Descriptor:
&gt;         #   idVendor           0x0d9f Powercom Co., Ltd
&gt;         #   idProduct          0x0002
&gt;         #   iManufacturer           1 POWERCOM CO., LTD.
&gt;         #   iProduct                2 USB to Serial
&gt;         #   iSerial                 0
&gt;         #     iConfiguration          4 Sample HID
&gt;         #       iInterface              0
&gt;         # Device Status:     0x0000
&gt;
&gt;         # compatibility:
&gt;         <A HREF="http://www.networkupstools.org/compat/stable.html">http://www.networkupstools.org/compat/stable.html</A>

This device should be supported by the 'powercom' driver (see 'man 8  
powercom' for options that may need to be provided in 'ups.conf'),  
provided cypress_m8 in your kernel is recent enough to recognize the  
build in USB to serial converter. If it is, you should point the  
'port' to the /dev/ttyUSBx port that is created when the device is  
plugged in.

Best regards, Arjen
</PRE>
</BLOCKQUOTE>
<BR>
I tried starting this with the PowerCom BNT-other driver ... and it looks like it's all running, except I can now see &quot;ups.model: KIN-2200AP&quot;.&nbsp;&nbsp; :-|<BR>
I'm guessing that I should set it up with the KIN driver then ???<BR>
<BR>
root@system76-pc:/etc/nut# cat ups.conf<BR>
# Start with<BR>
#<BR>
#&nbsp;&nbsp; # upsdrvctl -u nut -D start <BR>
<BR>
&nbsp;&nbsp; MODE=netserver<BR>
&nbsp;&nbsp; user=nut<BR>
<BR>
# Ultra ULT33046 2000 VA 1200 W Backup UPS with AVR (B000GC98H8)<BR>
# From stickers:<BR>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Label: ULTRA<BR>
# &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Model: RCD-UPS2000D<BR>
# Serial Number: 40206430906<BR>
<BR>
# # cat /proc/tty/driver/usbserial <BR>
# usbserinfo:1.0 driver:2.0<BR>
# 0: module:cypress_m8 name:&quot;HID-&gt;COM RS232 Adapter&quot; vendor:0d9f product:0002 num_ports:1 port:1 path:usb-0000:00:1d.0-1<BR>
<BR>
# # lsusb -vd 0d9f:0002|sed -ne '/^\w/p;/\bi/p'<BR>
# Bus 002 Device 002: ID 0d9f:0002 Powercom Co., Ltd <BR>
# Device Descriptor:<BR>
#&nbsp;&nbsp; idVendor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0d9f Powercom Co., Ltd<BR>
#&nbsp;&nbsp; idProduct&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0002 <BR>
#&nbsp;&nbsp; iManufacturer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 POWERCOM CO., LTD.<BR>
#&nbsp;&nbsp; iProduct&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 USB to Serial<BR>
#&nbsp;&nbsp; iSerial&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 <BR>
#&nbsp;&nbsp;&nbsp;&nbsp; iConfiguration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 Sample HID<BR>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iInterface&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 <BR>
# Device Status:&nbsp;&nbsp;&nbsp;&nbsp; 0x0000<BR>
<BR>
[POWERCOM_BNT-other]<BR>
&nbsp;&nbsp; driver=powercom<BR>
&nbsp;&nbsp; port=/dev/ttyUSB0<BR>
&nbsp;&nbsp; linevoltage=120<BR>
&nbsp;&nbsp; manufacturer=PowerCom<BR>
&nbsp;&nbsp; modelname=RCD-UPS2000D<BR>
&nbsp;&nbsp; serialnumber=40206430906<BR>
&nbsp;&nbsp; type=BNT-other<BR>
&nbsp;&nbsp; numOfBytesFromUPS=16<BR>
&nbsp;&nbsp; methodOfFlowControl=no_flow_control<BR>
&nbsp;&nbsp; shutdownArguments={{1,30},y}<BR>
&nbsp;&nbsp; voltage={1.9216,-0.0977,0.82857,0.0000}<BR>
#&nbsp;&nbsp; frequency=<BR>
&nbsp;&nbsp; batteryPercentage={5.0000,0.3268,-825.00,0.46511,0}<BR>
&nbsp;&nbsp; loadPercentage={1.4474,0.0,0.8594,0.0}<BR>
&nbsp;&nbsp; validationSequence={{8,0},{8,0},{8,0}}<BR>
<BR>
# output from BNT-other<BR>
#<BR>
# root@system76-pc:/proc/bus/usb# upsdrvctl -u nut -DDDDD start POWERCOM_BNT-other<BR>
# Network UPS Tools - UPS driver controller 2.4.1<BR>
# Starting UPS: POWERCOM_BNT-other<BR>
# exec: /lib/nut/powercom -a POWERCOM_BNT-other -u nut<BR>
# Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.1)<BR>
# Nov 23 15:14:36 system76-pc last message repeated 3 times<BR>
# Nov 23 15:14:43 system76-pc powercom[25802]: Startup successful<BR>
root@system76-pc:/etc/nut# upsc POWERCOM_BNT-other<BR>
battery.charge: 0.0<BR>
driver.name: powercom<BR>
driver.parameter.batteryPercentage: {5.0000,0.3268,-825.00,0.46511,0}<BR>
driver.parameter.linevoltage: 120<BR>
driver.parameter.loadPercentage: {1.4474,0.0,0.8594,0.0}<BR>
driver.parameter.manufacturer: PowerCom<BR>
driver.parameter.methodOfFlowControl: no_flow_control<BR>
driver.parameter.modelname: RCD-UPS2000D<BR>
driver.parameter.numOfBytesFromUPS: 16<BR>
driver.parameter.pollinterval: 2<BR>
driver.parameter.port: /dev/ttyUSB0<BR>
driver.parameter.serialnumber: 40206430906<BR>
driver.parameter.shutdownArguments: {{1,30},y}<BR>
driver.parameter.type: BNT-other<BR>
driver.parameter.validationSequence: {{8,0},{8,0},{8,0}}<BR>
driver.parameter.voltage: {1.9216,-0.0977,0.82857,0.0000}<BR>
driver.version: 2.4.1<BR>
driver.version.internal: 0.12<BR>
input.frequency: 80.12<BR>
input.voltage: 100.8<BR>
input.voltage.nominal: 120<BR>
output.frequency: 80.12<BR>
output.voltage: 100.8<BR>
ups.load: 12.9<BR>
ups.mfr: PowerCom<BR>
ups.model: KIN-2200AP<BR>
ups.model.type: KIN<BR>
ups.serial: 40206430906<BR>
ups.status: OL<BR>
<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
JW Simpson &lt;<A HREF="mailto:john@swajime.com">john@swajime.com</A>&gt;<BR>
SwaJime's Cove&#8480;
</TD>
</TR>
</TABLE>
</BODY>
</HTML>