[Nut-upsuser] ULTRA 2000 ULT33046 configuration

JW Simpson john at swajime.com
Mon Nov 23 19:03:39 UTC 2009


On Fri, 2009-11-20 at 20:49 +0100, Arjen de Korte wrote:

> Citeren JW Simpson <john at swajime.com>:
> 
> >         # # lsusb -vd 0d9f:0002|sed -ne '/^\w/p;/\bi/p'
> >         # Bus 002 Device 002: ID 0d9f:0002 Powercom Co., Ltd
> >         # Device Descriptor:
> >         #   idVendor           0x0d9f Powercom Co., Ltd
> >         #   idProduct          0x0002
> >         #   iManufacturer           1 POWERCOM CO., LTD.
> >         #   iProduct                2 USB to Serial
> >         #   iSerial                 0
> >         #     iConfiguration          4 Sample HID
> >         #       iInterface              0
> >         # Device Status:     0x0000
> >
> >         # compatibility:
> >         http://www.networkupstools.org/compat/stable.html
> 
> 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

Thank you Arjen,

I tried each set of settings listed in the powercom manpage, as you
suggested, until one claimed success.

Success ! (I think ?)
Unless that weird noise the UPS made was bad news ...

The settings for type=IMP resulted in a success status.
I stopped there, and did not try KIN, BNT, or BNT-other.
Should I try those too?

That took so long now, I've forgotten what I'm supposed to do next :-( .

root at system76-pc:/etc/nut# cat ups.conf
# Start with
#
#   # upsdrvctl -u nut -D start MEGATEC

   MODE=netserver
   user=nut

# Ultra ULT33046 2000 VA 1200 W Backup UPS with AVR (B000GC98H8)
# From stickers:
#               Label: ULTRA
#	        Model: RCD-UPS2000D
#	Serial Number: 40206430906

# # lsusb -vd 0d9f:0002|sed -ne '/^\w/p;/\bi/p'
# Bus 002 Device 002: ID 0d9f:0002 Powercom Co., Ltd 
# Device Descriptor:
#   idVendor           0x0d9f Powercom Co., Ltd
#   idProduct          0x0002 
#   iManufacturer           1 POWERCOM CO., LTD.
#   iProduct                2 USB to Serial
#   iSerial                 0 
#     iConfiguration          4 Sample HID
#       iInterface              0 
# Device Status:     0x0000

[POWERCOM_TRUST]
   driver=powercom
   port=/dev/ttyUSB0
   linevoltage=120
   manufacturer=PowerCom
   modelname=RCD-UPS2000D
   serialnumber=40206430906
   type=Trust
   numOfBytesFromUPS=11
   methodOfFlowControl=dtr0rts1
   shutdownArguments={{0,10},n}
   voltage={1.9216,-0.0977,0.9545,0.0000}
   frequency={0.00020997,0.00020928}
   batteryPercentage={5.0000,0.3268,-825.00,4.5639,-835.82}
   loadPercentage={6.1343,-0.3808,4.3110,0.1811}
   validationSequence={{5,0},{7,0},{8,0}}

# output for TRUST
#
# root at system76-pc:/etc/nut# upsdrvctl -u nut -DDDDD start
POWERCOM_TRUST
# Network UPS Tools - UPS driver controller 2.4.1
# Starting UPS: POWERCOM_TRUST
# exec: /lib/nut/powercom -a POWERCOM_TRUST -u nut
# Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.1)
# writing error
# Nov 23 12:18:49 system76-pc powercom[11965]: Startup successful
# Nov 23 12:18:49 system76-pc powercom[11965]: writing error
# Nov 23 12:18:51 system76-pc powercom[11965]: data receiving error
(validation check)
# Nov 23 12:19:23 system76-pc last message repeated 16 times

[POWERCOM_KP625AP]
   driver=powercom
   port=/dev/ttyUSB0
   linevoltage=120
   manufacturer=PowerCom
   modelname=RCD-UPS2000D
   serialnumber=40206430906
   type=KP625AP
   numOfBytesFromUPS=16
   methodOfFlowControl=dtr0rts1
   shutdownArguments={{0,10},n}
   voltage={1.9216,-0.0977,0.9545,0.0000}
   frequency={0.00020997,0.00020928}
   batteryPercentage={5.0000,0.3268,-825.00,4.5639,-835.82}
   loadPercentage={6.1343,-0.3808,4.3110,0.1811}
   validationSequence={{5,0x80},{7,0},{8,0}}

# output for KP625AP
#
# root at system76-pc:/etc/nut# upsdrvctl -u nut -DDDDD start
POWERCOM_KP625AP
# Network UPS Tools - UPS driver controller 2.4.1
# Starting UPS: POWERCOM_KP625AP
# exec: /lib/nut/powercom -a POWERCOM_KP625AP -u nut
# Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.1)
# writing error
# Nov 23 12:47:55 system76-pc powercom[14159]: Startup successful
# Nov 23 12:47:55 system76-pc powercom[14159]: writing error
# Nov 23 12:47:58 system76-pc powercom[14159]: data receiving error
(validation check)
# Nov 23 12:48:30 system76-pc last message repeated 16 times

[POWERCOM_Egys]
   driver=powercom
   port=/dev/ttyUSB0
   linevoltage=120
   manufacturer=PowerCom
   modelname=RCD-UPS2000D
   serialnumber=40206430906
   type=Egys
   numOfBytesFromUPS=16
   methodOfFlowControl=no_flow_control
   shutdownArguments={{0,10},n}
   voltage={1.9216,-0.0977,0.9545,0.0000}
   frequency={0.00020997,0.00020928}
   batteryPercentage={5.0000,0.3268,-825.00,2.2105,-355.37}
   loadPercentage={6.1343,-0.3808,1.3333,0.6667}
   validationSequence={{5,0x80},{7,0},{8,0}}

# output for Egys
#
# root at system76-pc:/etc/nut# upsdrvctl -u nut -DDDDD start POWERCOM_Egys
# Network UPS Tools - UPS driver controller 2.4.1
# Starting UPS: POWERCOM_Egys
# exec: /lib/nut/powercom -a POWERCOM_Egys -u nut
# Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.1)
# data receiving error (validation check)
# Nov 23 12:52:02 system76-pc powercom[14559]: Startup successful
# Nov 23 12:52:05 system76-pc powercom[14559]: data receiving error (0
instead of 16 bytes)
# Nov 23 12:52:05 system76-pc powercom[14559]: data receiving error
(validation check)

[POWERCOM_IMP]
   driver=powercom
   port=/dev/ttyUSB0
   linevoltage=120
   manufacturer=PowerCom
   modelname=RCD-UPS2000D
   serialnumber=40206430906
   type=IMP
   numOfBytesFromUPS=16
   methodOfFlowControl=no_flow_control
   shutdownArguments={{1,30},y}
#   voltage=
#   frequency=
#   batteryPercentage=
#   loadPercentage=
   validationSequence={{5,0xFF},{7,0},{8,0}}

# output for IMP
#
# root at system76-pc:/etc/nut# upsdrvctl -u nut -DDDDD start POWERCOM_IMP
# Network UPS Tools - UPS driver controller 2.4.1
# Starting UPS: POWERCOM_IMP
# exec: /lib/nut/powercom -a POWERCOM_IMP -u nut
# Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.1)
# Nov 23 12:55:02 system76-pc powercom[14570]: Startup successful

[POWERCOM_KIN]
   driver=powercom
   port=/dev/ttyUSB0
   linevoltage=120
   manufacturer=PowerCom
   modelname=RCD-UPS2000D
   serialnumber=40206430906
   type=KIN
   numOfBytesFromUPS=16
   methodOfFlowControl=no_flow_control
   shutdownArguments={{1,30},y}
#   voltage=
#   frequency=
#   batteryPercentage=
#   loadPercentage=
   validationSequence={{11,0x4b},{8,0},{8,0}}

[POWERCOM_BNT]
   driver=powercom
   port=/dev/ttyUSB0
   linevoltage=120
   manufacturer=PowerCom
   modelname=RCD-UPS2000D
   serialnumber=40206430906
   type=BNT
   numOfBytesFromUPS=16
   methodOfFlowControl=no_flow_control
   shutdownArguments={{1,30},y}
#   voltage=
#   frequency=
#   batteryPercentage=
#   loadPercentage=
   validationSequence={{11,0x42},{8,0},{8,0}}

[POWERCOM_BNT-other]
   driver=powercom
   port=/dev/ttyUSB0
   linevoltage=120
   manufacturer=PowerCom
   modelname=RCD-UPS2000D
   serialnumber=40206430906
   type=BNT-other
   numOfBytesFromUPS=16
   methodOfFlowControl=no_flow_control
   shutdownArguments={{1,30},y}
   voltage={1.9216,-0.0977,0.82857,0.0000}
#   frequency=
   batteryPercentage={5.0000,0.3268,-825.00,0.46511,0}
   loadPercentage={1.4474,0.0,0.8594,0.0}
   validationSequence={{8,0},{8,0},{8,0}}



-- 
JW Simpson <john at swajime.com>
SwaJime's Cove℠
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20091123/0965fca2/attachment.htm>


More information about the Nut-upsuser mailing list